/* The look of the board. It belongs to this module and not to the toolkit: what concerns only
   its views travels along in its package.

   The colours of the notes come from the categories and stand as --todo-colour on every single
   one; the width comes from the settings and stands as --todo-width on the surface. Both are
   set onto the element by the frontend, not by this file - a colour standing here would be a
   second truth next to the database. */

.todo-frame
{
    display: flex;
    align-items: stretch;
    gap: var(--s4);
    min-height: 60vh;
}

/* The surface. It has NO scrollbar of its own (changed 2026-08-17): the page is what scrolls,
   and it scrolls once - bars in boxes inside the application are two windows on top of each
   other, and one never knows which one is being moved.

   Instead it grows with its content: the frontend computes from the places of the tasks how big
   it has to be and sets it. That is necessary because absolutely positioned children do NOT
   stretch their parent element - the same means the old system uses in its dashboardFit(). */
.todo-desk
{
    position: relative;
    flex: 1;
    overflow: visible;

    /* The air towards the edge is made by the sheet inside it (.todo-sheet), not by padding
       here: absolutely positioned children relate to the padding box, and that one begins
       behind the border line but BEFORE the padding - padding would only have made the surface
       bigger and moved no note at all (measured 2026-08-18). */

    /* How big it has to be is computed by the island after every draw: only the browser knows
       how tall a note with four lines has become. Here stands only the base value for the
       moment in which nothing has been measured yet. */
    min-height: 60vh;

    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);

    /* The wallpaper of the board - the same fine woodchip structure the old system carries as
       its background. It sits as a data URI in this file, because a module package transports
       assembly, CSS and scripts and no images: a 200x160 greyscale PNG in four bits is eight
       kilobytes, and for that the platform has to learn nothing.

       MULTIPLY over the surface colour, not instead of it: the texture is almost white and
       carries the structure only - that way the surface stays the one of the interface in every
       colour scheme, and in dark mode it does not suddenly turn white. */
    background-color: var(--surface);
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAACgCAQAAADj9usiAAAgqElEQVR42p1dO5YjSY60fC2FCJViqCPmFUZdca+wd+or9BXqHiOGmiJUiiswPg7ADO45+V53VRbJYHzc8TEYDF//fDsMAGBwjH83AI7449jhcAAGu1+1+1XHHj7l4fXriJ9PXke6vtPTt+znqziPeZ3R823xeM95P2f+vPv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8Anhju7/24lht+ME2cJ0uztV7eFifY77Pz7/xwgsfTtaz9973ZWz3Bf4LfvKlPsfZzvP98LI2/Jw8rP1kcW3D+X8YZi/4eWzHD3Zs57d9Pvu+v+uN182n+nDBfu4zvrhX+3mNfl7Tdv5pN5vL8ILj52Z0vfH/gPfOAD2l1GkAAAAASUVORK5CYII=");
    background-repeat: repeat;
    background-blend-mode: multiply;

    /* while dragging nothing shall be selected - a note that gets blue highlighted text while
       being pushed around looks broken */
    user-select: none;
    -webkit-user-select: none;

    /* the pointer belongs to the island: the browser shall not move the surface itself while
       somebody drags a note across it */
    touch-action: none;
}

/* NO ring around the surface when it has the focus (2026-09-06). It was the red of the brand and
   lay around the whole board: after the first arrow key it stood there and stayed - the focus
   remains on the surface, and only leaving it or reloading the page took it away.

   It said nothing that is needed here. What is SELECTED is shown by the notes themselves
   (.todo-chosen), and the keyboard paths do not hang on this focus at all - the island listens on
   the document, so the arrow keys work wherever the focus stands. */
.todo-desk:focus-visible
{
    outline: none;
}

.todo-hint
{
    position: absolute;
    left: var(--s4);
    top: var(--s4);
    margin: 0;
}

/* The tick in the lists: a statement, not a picture. Without a fixed size an inline SVG fills
   the whole cell - it has no measure of its own, only an aspect ratio (seen 2026-08-18). The
   box is square and clickable, even when no tick stands in it at the moment. */
.todo-tick
{
    /* the WHOLE cell takes the click, not just the sign inside it: a target of twenty pixels is
       missed easily, and next to it opens the row editor (measured 2026-08-18) */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 1.75rem;
    cursor: pointer;
    color: var(--ok-fg);
}

.todo-tick svg
{
    width: 1.25rem;
    height: 1.25rem;
}

/* The label above the free text: the word on the left, the button for splitting on the right. */
.todo-field-head
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s2);
}

/* The sheet: it carries the notes and keeps them away from the edge. How big it has to be is
   measured by the island after every draw. */
.todo-sheet
{
    position: relative;
    margin: 5px;
    min-height: 50vh;
}

/* A note. It lies freely on the surface, its place stands as left/top on it - that way and only
   that way the JS island can move it without asking C#. */
.todo-note
{
    position: absolute;
    width: var(--todo-width, 250px);
    box-sizing: border-box;

    /* The padding of the old system, to the pixel: 2 at the top, 4 at the bottom and the sides.
       It is not a matter of taste - the places of the notes come from eWMS and stand in steps of
       35 and 40 pixels. With the more generous padding of the platform (8/12) a note was ten
       pixels taller, and the steps no longer worked out (2026-08-18). */
    padding: 2px 4px 4px 4px;

    /* and its type: the one of the old system, not the smaller one of the platform */
    font-size: 16px;
    line-height: 24px;

    background: var(--todo-colour, #fff9c4);
    color: #333;

    /* the shadow turns the rectangle into a note that rests on something. Two edges dark, two
       light - that way light falls from the top left, as everywhere in this interface */
    box-shadow:
        0 10px 10px -8px rgba(0, 0, 0, .2),
        10px 0 10px -8px rgba(0, 0, 0, .2),
        -2px -2px 4px rgba(255, 255, 255, .6);

    overflow-wrap: anywhere;
    word-break: break-word;
    cursor: grab;
    transition: box-shadow .12s ease;
}

.todo-note:hover
{
    box-shadow:
        0 14px 14px -8px rgba(0, 0, 0, .28),
        12px 0 14px -8px rgba(0, 0, 0, .28),
        -2px -2px 4px rgba(255, 255, 255, .7);
}

/* Selected: the dark, semi transparent border of the old system - it lies INSIDE, on the note
   itself.

   Why `outline` and not `border`: a border makes the note taller. The old system accepts that,
   paula must not - its notes stand on the places taken over from eWMS, and those have exactly
   40 pixels of step for a note 37 pixels tall. Four pixels more, and the whole board overlaps
   itself (measured 2026-08-17). An outline lies outside the box model, so it costs no space,
   and with a negative offset it still lies inside and does not reach over onto the neighbours. */
.todo-chosen
{
    outline: 2px solid rgba(0, 0, 0, .25);
    outline-offset: -2px;
}

/* Done: struck through and paler. It stays where it is - that is the decision, and therefore it
   has to be distinguishable from the open ones at a glance. */
.todo-done
{
    filter: grayscale(.3) brightness(.94);
    text-decoration: line-through solid #3e3e3e;
}

/* The label. The pointer stays the grab pointer of the task - a text cursor would promise that a
   click here lets one write, and only the double click does that. */
.todo-text
{
    display: block;
    background: none;
    border: 0;
    padding: 0;
    text-align: left;
    font: inherit;
    color: inherit;
    width: 100%;
}

/* The sign of the category in front of the label. It stands there slightly larger, because an
   emoji next to text would otherwise go under. */
.todo-sign
{
    margin-right: var(--s1);
    font-size: 1.1em;
}

/* The field on the note: it looks like the text it replaces - only with a line underneath. A box
   with a border of its own in the middle of the note would be a form. */
.todo-field
{
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, .55);
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, .35);
    padding: 0;
    font: inherit;
    color: inherit;
}

.todo-field:focus
{
    outline: none;
    background: rgba(255, 255, 255, .85);
}

/* The tools on the note. They appear under the pointer but are always REACHABLE: a pure hover
   element would never be found by the tab key. */
.todo-tools
{
    position: absolute;
    right: 2px;
    /* spanned over the WHOLE height of the note and centred within it. Not aligned to the line of
       text: the padding of the note is deliberately asymmetric (2 at the top, 4 at the bottom,
       the steps of the old system) - centred on the line it therefore looked high, 5 at the top
       and 8 at the bottom (measured 2026-08-18) */
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 0;
    opacity: 0;
    transition: opacity .12s ease;
}

/* tight together: no padding of their own, no border - and because the symbols draw with a
   margin inside their box, the buttons move 2 px into each other */
.todo-tools .btn { padding: 0; border: 0; }
.todo-tools .btn + .btn { margin-left: -2px; }
/* 19 instead of 18: the note is 31 px tall, and 31 - 18 cannot be halved - only with an odd box
   does it become 6 px at the top as at the bottom (measured 2026-08-18, 7/6) */
.todo-tools .btn svg { width: 19px; height: 19px; }

/* The keyboard focus shows them, a mouse click does not: `:focus-visible` and not
   `:focus-within`. Chrome focuses a button on clicking as well, and because a note stays where
   it is when ticked off, it kept the focus across the redraw - the signs then stood there
   quietly without a pointer being anywhere near (reported 2026-08-19). */
.todo-note:hover .todo-tools,
.todo-parked:hover .todo-tools,
.todo-tools:has(:focus-visible)
{
    opacity: 1;
}

/* The rubber band. The island builds it, this file says what it looks like. */
.todo-rubber
{
    position: absolute;
    border: 1px solid var(--accent);
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    pointer-events: none;
}

/* How many are selected - in the action row, not as a subline of the header: what comes and goes
   must not shift the board below it. */
.todo-marked
{
    align-self: center;
    font-size: var(--fs-sm);
    white-space: nowrap;
    /* fixed width, digits of equal width: the row is anchored to the right, and a text that
       becomes narrower or wider with the number would push everything to its left back and forth
       (seen 2026-08-18: the new button wandered with the selection) */
    min-width: 16ch;
    font-variant-numeric: tabular-nums;
}

/* The number on the sidebar button: how many are parked. */
.todo-count
{
    margin-left: var(--s1);
    font-size: var(--fs-sm);
}

/* The sidebar on the right. It is a drop target and a source - what lies here does not lie on the
   board, and that is its whole content.

   It does not scroll by itself either: it grows with its entries, and the page scrolls. With
   seventy-five parked tasks it becomes long - that is the honest state of things, and a bar of
   its own inside it would be the second one on the same page. */
.todo-side
{
    flex: 0 0 260px;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    gap: var(--s2);
    padding: var(--s3);

    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.todo-side-head
{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--s2);
}

.todo-side-help
{
    margin: 0;
    font-size: var(--fs-sm);
}

/* A parked note: the same paper, but without a place - it stands in the row. */
/* Selected in the sidebar - the same border as on the surface, so that a selection has the same
   picture everywhere. */
.todo-parked.todo-chosen
{
    outline: 2px solid rgba(0, 0, 0, .25);
    outline-offset: -2px;
}

/* In the sidebar dragging works as on the board - so as little text may be selected here as
   there. Without this every drag paints blue bars over the titles, and the mouse in truth drags
   a text selection instead of a note (reported 2026-08-18). */
.todo-side,
.todo-parked
{
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}

/* The note currently hanging on the mouse: it lies above everything and is slightly translucent,
   so that one sees what is being dragged and where to. */
.todo-parked.todo-lifted
{
    opacity: .85;
    cursor: grabbing;
    box-shadow: 0 8px 16px -6px rgba(0, 0, 0, .45);
}

/* the insertion mark: a line ABOVE the note in front of which the dragged one snaps in */
.todo-parked.todo-aim
{
    box-shadow: 0 -3px 0 0 var(--accent);
}

.todo-parked
{
    position: relative;
    padding: var(--s2);
    background: var(--todo-colour, #fff9c4);
    color: #333;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .18);
    cursor: grab;
    overflow-wrap: anywhere;
}

/* The colour patch in the list of categories. It says what the colour looks like - the number
   next to it says what one has to type to find it again. */
.todo-swatch
{
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: var(--s2);
    vertical-align: -.1em;
    border: 1px solid var(--border);
    border-radius: 2px;
}

/* On a narrow screen the sidebar stands below the surface instead of next to it: two columns on
   400 pixels are two too many. */
@media (max-width: 900px)
{
    .todo-frame { flex-direction: column; }
    .todo-side { flex: 1 1 auto; align-self: stretch; }
}

/* --- the colour picker of the toolkit inside a table cell -------------------------------
   It brings its look along itself; here stands only that it does not break out of a narrow
   cell. */
.todo-swatch + .muted { white-space: nowrap; }
