/* AccountiVerse's own parts on top of Knewmer0's look (style.css + future.css): the logo, the binder shelf, tasks. */

/* the logo: the A in gold, green and blue (owner 11/16/2026), left of the name as in Knewmer0's apps */
.avlock{display:inline-flex;align-items:center;gap:11px;text-decoration:none}
.avmark{width:56px;height:47px;flex:none;object-fit:contain}
.auth .avmark{width:72px;height:61px}
.auth .brandrow{gap:12px}
.auth .brandrow .themesw{flex:none}
.avlock{min-width:0}

/* Sign out in the same colour as Home in the top bar, not Knewmer0's yellow (owner 11/16/2026) */
.topbar nav .tcol a#signout{color:var(--ink)}

/* home: the binder shelf — every app a ring-binder spine in its own colour, its logo on a white label */
.home{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:22px;align-items:start}
/* the spines share the shelf's whole width, so no empty space is left at its right end (owner 11/16/2026) */
.shelf{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:14px;align-items:end;padding:4px 0 14px;border-bottom:6px solid var(--ink)}
.spine{position:relative;min-width:0;height:260px;border-radius:var(--r-sm) var(--r-sm) 4px 4px;color:#fff;text-decoration:none;
  display:flex;flex-direction:column;justify-content:space-between;padding:18px 14px 16px;background:var(--c);
  box-shadow:inset -10px 0 0 rgba(0,0,0,.12),inset 0 -40px 0 rgba(0,0,0,.08),var(--shadow);transition:transform .15s ease}
.spine:hover,.spine:focus-visible{transform:translateY(-8px)}
.spine .rings{display:flex;flex-direction:column;gap:46px;position:absolute;left:50%;top:70px;transform:translateX(-50%)}
.spine .rings i{width:16px;height:16px;border-radius:50%;background:var(--bg);box-shadow:inset 0 2px 3px rgba(0,0,0,.35)}
.spine .plate{position:absolute;left:50%;top:84px;transform:translateX(-50%);width:84px;height:84px;padding:12px;
  background:#fff;border-radius:var(--r-sm);box-shadow:inset 0 0 0 3px rgba(0,0,0,.12),0 2px 4px rgba(0,0,0,.25)}
.spine .plate img{width:100%;height:100%;display:block}
.spine b{font-size:17px;line-height:1.2;position:relative}
.spine small{font-size:12px;line-height:1.35;position:relative;background:rgba(0,0,0,.22);padding:6px 7px;border-radius:8px}
.spine.add{--c:transparent;color:var(--ink2);border:2px dashed var(--field-line);box-shadow:none;justify-content:center;text-align:center;height:200px}
.shelf-note{color:var(--ink2);font-size:13px;margin-top:10px}

/* tasks */
.tasks{list-style:none;margin:0;padding:0}
.task{display:grid;grid-template-columns:22px minmax(0,1fr);gap:4px 12px;align-items:start;padding:12px 0;border-top:1px solid var(--line2)}
.task:first-child{border-top:0}
.task input[type=checkbox]{width:18px;height:18px;min-height:0;margin-top:2px;accent-color:var(--accent)}
.task .t{font-weight:600;overflow-wrap:anywhere}
.task.done .t{text-decoration:line-through;color:var(--ink2);font-weight:400}
.task .m{color:var(--ink2);font-size:13px;overflow-wrap:anywhere}
.task .acts{grid-column:2;display:flex;gap:6px;align-items:center}
.due{font:12.5px/1 var(--f-mono);padding:5px 8px;border-radius:8px;background:var(--chip);color:var(--ink2);white-space:nowrap}
.due.soon{background:var(--warn-bg);color:var(--warn)}
.due.late{background:var(--bad-bg);color:var(--bad)}
.empty{color:var(--ink2);padding:8px 0;margin:0}
.taskpage{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:start}
.tabs{margin-bottom:14px}
.tabs a.tab{text-decoration:none}
textarea{font:inherit;color:var(--ink);background:var(--field);border:1px solid var(--field-line);border-radius:var(--r-sm);
  padding:8px 11px;width:100%;min-height:70px;resize:vertical}

/* sign-in: Google first, then username */
.google{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:42px;border:1px solid var(--field-line);
  border-radius:var(--r);background:var(--panel);color:var(--ink);text-decoration:none;font-weight:600}
.google:hover{background:var(--hover)}
.google svg{width:18px;height:18px}
.or{text-align:center;color:var(--ink2);font-size:13px;margin:14px 0}

/* admin tables */
.swatch{display:inline-block;width:14px;height:14px;border-radius:4px;vertical-align:-2px;margin-right:6px}
tr.off td{color:var(--ink2)}

@media (max-width:900px){
  .home,.taskpage{grid-template-columns:minmax(0,1fr)}
  .shelf{grid-template-columns:repeat(2,minmax(0,1fr))}
  .spine,.spine.add{height:180px}
  .spine .rings{display:none}
  .spine .plate{top:62px;width:56px;height:56px;padding:8px}
}
@media (prefers-reduced-motion:reduce){.spine{transition:none}}

/* ---- the AccountiVerse logo's own colours where they show (owner 11/16/2026): blue = the page you're on, main
   buttons and links; green = "+ Add" / "Add task" buttons and the tab underline; gold = your initials, the focus
   ring and "due soon". Main buttons keep the Future look's diagonal gradient: the primary (logo blue) into a touch of
   the accent (logo green); the green buttons use a deeper shade of the logo green so white text passes WCAG AA. */
:root{--logo-gold:#f9b92b;--logo-green:#2eaa4a;--logo-blue:#2f6db5;
  --primary:var(--logo-blue);--blue:var(--logo-blue);--ring:var(--logo-gold);
  --grad:linear-gradient(135deg,var(--logo-blue) 0%,var(--logo-blue) 55%,color-mix(in srgb,var(--logo-blue) 80%,var(--logo-green)) 100%);
  --green-ink:#1f7a37;                 /* logo green, deepened: white on it is 5.4:1 (the logo green itself is 3:1) */
  --accent-soft:color-mix(in srgb,var(--logo-blue) 12%,#fff);--chip:color-mix(in srgb,var(--logo-blue) 12%,#fff)}
:root[data-theme="dark"]{--blue:#7fb0ea;--accent-soft:color-mix(in srgb,var(--logo-blue) 30%,var(--panel));
  --chip:color-mix(in srgb,var(--logo-blue) 30%,var(--panel))}
.topbar nav a.on,.topbar nav a.on:hover{background:var(--logo-blue);color:#fff}
.topbar nav a:not(.on):not(.mebox):hover{background:var(--accent-soft);color:var(--ink)}
.topbar nav a.mebox.on{background:var(--accent-soft)}
.btn.primary,.btn.primary:hover,.segs button.on{background:var(--grad);color:#fff;box-shadow:0 10px 24px -10px color-mix(in srgb,var(--logo-blue) 70%,transparent)}
.btn.cta,.btn.cta:hover{background:linear-gradient(135deg,var(--green-ink) 0%,var(--green-ink) 55%,color-mix(in srgb,var(--green-ink) 80%,var(--logo-blue)) 100%);
  color:#fff;box-shadow:0 10px 24px -10px color-mix(in srgb,var(--logo-green) 75%,transparent)}
.btn.cta-soft,:root[data-theme="dark"] .btn.cta-soft{color:var(--ink);border-color:var(--logo-green);background:color-mix(in srgb,var(--logo-green) 12%,var(--panel))}
.tab[aria-pressed="true"]{border-bottom-color:var(--logo-green)}
.mebox .avatar{background:var(--logo-gold)}
.due.soon{background:color-mix(in srgb,var(--logo-gold) 28%,var(--panel));color:var(--ink)}
.task input[type=checkbox]{accent-color:var(--logo-green)}
.ws{color:var(--logo-blue)}
:root[data-theme="dark"] .ws{color:var(--logo-gold)}
/* spines in the logo's colours (owner 11/17/2026): Knewmer0 logo blue, TaxDAT logo green (deepened for AA), TaxCert
   logo gold, TaxCodex deep logo blue. The gold spine is light, so its text is navy, not white. */
.spine.light{color:#0e2a40}
.spine.light small{background:rgba(255,255,255,.4)}

/* Support (owner 11/17/2026): TaxCodex PH's Support styles (future.css), in the logo's colours */
.sup-badge{display:inline-block;min-width:18px;height:18px;line-height:18px;margin-left:6px;padding:0 5px;border-radius:999px;background:var(--logo-gold);color:#0d2340;font-size:11px;font-weight:700;text-align:center;vertical-align:1px}
.sup-badge[hidden]{display:none}
.sup-lbl{font-size:12px;font-weight:600;color:var(--ink2)}
.sup-kind{display:flex;gap:18px;margin-top:4px}
.sup-compose textarea{width:100%;min-height:96px;resize:vertical}
.sup-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:6px}
.sup-tray{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.sup-tray[hidden]{display:none}
.sup-thumb{position:relative;display:inline-block;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--surface2)}
.sup-thumb img{display:block;height:72px;max-width:140px;object-fit:cover}
.sup-x{position:absolute;top:2px;right:2px;width:22px;height:22px;border-radius:50%;border:0;background:rgba(0,0,0,.6);color:#fff;cursor:pointer;line-height:20px;padding:0;font-size:15px}
.sup-sim div{margin-top:4px}
.sup-head{display:flex;gap:14px;align-items:center;margin:0 0 12px}
.sup-stl{display:flex;gap:6px;align-items:center;font-size:13px;color:var(--ink2)}
.sup-msgs{display:flex;flex-direction:column;gap:10px;margin:12px 0}
.sup-msg{max-width:min(720px,92%);padding:10px 14px;border-radius:14px;background:var(--panel);border:1px solid var(--line);align-self:flex-start;box-shadow:var(--shadow)}
.sup-msg.mine{align-self:flex-end;background:var(--accent-soft);border-color:transparent}
.sup-msg.staff{border-left:4px solid var(--green-ink)}
.sup-msg.auto{background:var(--surface2);border-style:dashed;font-size:13px;box-shadow:none}
.sup-who{font-size:12px;font-weight:600;color:var(--ink2);margin-bottom:4px}
.sup-body{white-space:pre-wrap;overflow-wrap:anywhere}
.sup-imgs{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.sup-img{padding:0;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--surface2);cursor:zoom-in}
.sup-img img{display:block;max-height:160px;max-width:260px;object-fit:contain}
.dialog.wide{width:min(960px,calc(100vw - 32px));max-width:none}
.sup-big{text-align:center}
.sup-big img{max-width:100%;max-height:70vh}
.sup-reply{margin-top:8px}
.sup-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--logo-gold);margin-right:6px;vertical-align:middle}
tr.sup-unread td{font-weight:600}
.chip.st-queued{background:var(--warn-bg);color:var(--warn)}
.chip.st-progress{background:var(--accent-soft);color:var(--blue)}
.chip.st-done{background:color-mix(in srgb,var(--green-ink) 16%,var(--panel));color:var(--accent)}

/* ---- Support inbox, Super Admins (as in Knewmer0): list left, chat right */
.sup-inbox{display:grid;grid-template-columns:minmax(260px,340px) 1fr;gap:14px;align-items:start}
.sup-side{display:flex;flex-direction:column;gap:8px;position:sticky;top:12px;max-height:calc(100vh - 150px);min-height:300px;padding:12px}
.sup-tabs{display:flex;flex-wrap:wrap;gap:2px;border-bottom:1px solid var(--line)}
.sup-tabs a{padding:6px 9px;font-size:13px;color:var(--ink2);border-bottom:2px solid transparent;margin-bottom:-1px;text-decoration:none}
.sup-tabs a.on{color:var(--accent);border-bottom-color:var(--accent);font-weight:600}
.sup-filt{display:flex;gap:6px}
.sup-filt input,.sup-filt select{min-width:0;flex:1}
.sup-list{overflow:auto;display:flex;flex-direction:column;gap:6px;padding:2px}
.sup-item{display:block;padding:9px 11px;border:1px solid var(--line);border-radius:var(--r-sm);background:var(--panel);color:var(--ink);text-decoration:none}
.sup-item:hover{border-color:var(--accent)}
.sup-item.on{border-color:var(--accent);box-shadow:inset 3px 0 0 var(--accent);background:var(--accent-soft)}
.sup-item.unread .sup-it1{font-weight:700}
.sup-it1{font-size:13.5px;line-height:1.3}
.sup-it2{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:12px;margin-top:4px;color:var(--ink2)}
.sup-it3{font-size:12px;margin-top:3px;color:var(--ink2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sup-none{padding:28px 12px;text-align:center;color:var(--ink2)}
.sup-pane{min-width:0}
.sup-pane .sup-msgs{max-height:calc(100vh - 470px);min-height:160px;overflow:auto;padding:4px 2px}
.sup-pane .sup-msg{box-shadow:none}
.sup-ph{display:flex;gap:10px;align-items:flex-start;margin-bottom:8px}
.sup-ph h2{margin:0;font-size:17px}
.sup-back{display:none}
.sup-stbtns{display:inline-flex;gap:4px;flex-wrap:wrap}
.sup-stbtns .btn.on{background:var(--accent-soft);border-color:var(--accent);color:var(--accent);font-weight:700}
.sup-send{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.sup-snipwrap{position:relative}
.sup-snipmenu{position:absolute;left:0;bottom:calc(100% + 6px);z-index:50;width:min(380px,80vw);max-height:300px;overflow:auto;background:var(--panel);border:1px solid var(--line);border-radius:var(--r-sm);box-shadow:var(--shadow-pop);padding:4px}
.sup-snipmenu button{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;text-align:left;border:0;background:none;padding:7px 10px;border-radius:8px;cursor:pointer;font:inherit;font-size:13px;color:var(--ink)}
.sup-snipmenu button span{font-size:12px;color:var(--ink2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.sup-snipmenu button:hover,.sup-snipmenu button:focus{background:var(--hover);outline:none}
.sup-snipmenu .sup-snipman{border-top:1px solid var(--line);border-radius:0 0 8px 8px;color:var(--accent)}
.sup-snlist{display:flex;flex-direction:column;gap:8px;max-height:300px;overflow:auto;margin:10px 0}
.sup-snrow{display:flex;gap:10px;justify-content:space-between;align-items:flex-start;padding:8px 10px;border:1px solid var(--line);border-radius:var(--r-sm)}
.sup-snbtns{display:flex;gap:6px;flex:none}
@media (max-width:900px){
  .sup-inbox{grid-template-columns:1fr}
  .sup-side{position:static;max-height:none}
  .sup-inbox.has-thread .sup-side{display:none}
  .sup-inbox:not(.has-thread) .sup-pane{display:none}
  .sup-back{display:inline-flex}
  .sup-pane .sup-msgs{max-height:none}
}

/* the logo: logo-light.png on the light theme, logo.png on the dark one (owner 11/17/2026: "in light mode I can no
   longer see the design of the logo") */
.avmark.av-light{display:none}
:root:not([data-theme="dark"]) .avmark.av-dark{display:none}
:root:not([data-theme="dark"]) .avmark.av-light{display:block}

/* My profile: name, username, email, password and PIN on one row on a wide screen (owner 11/17/2026) */
@media (min-width:1100px){
  .pgrid{grid-template-columns:repeat(5,minmax(0,1fr))}
  .pgrid>.panel{padding:18px}
}

/* a task's instructions: line breaks kept, links in the logo blue and clickable (owner 11/17/2026) */
.task .instr{white-space:pre-wrap}
.task .instr a{color:var(--blue);text-decoration:underline;overflow-wrap:anywhere}

/* Home (owner 11/17/2026: "make this thinner then spread horizontal, then the due this week below it also spread
   horizontal up to the add a task"): the shelf across the whole width with short spines (logo label on the right),
   then Due this week beside Add a task. */
.home{grid-template-columns:minmax(0,1fr) 360px;grid-template-areas:"apps apps" "due add"}
.h-apps{grid-area:apps}.h-due{grid-area:due}.h-add{grid-area:add}
.shelf{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
.spine,.spine.add{height:128px;padding:14px 92px 14px 16px}
.spine.add{padding:14px}
.spine:hover,.spine:focus-visible{transform:translateY(-4px)}
.spine .plate{left:auto;right:14px;top:50%;transform:translateY(-50%);width:64px;height:64px;padding:8px}
.spine .rings{left:auto;right:30px;top:50%;transform:translateY(-50%);flex-direction:row;gap:14px}
@media (max-width:900px){
  .home{grid-template-columns:minmax(0,1fr);grid-template-areas:"apps" "due" "add"}
  .shelf{grid-template-columns:minmax(0,1fr)}
  .spine,.spine.add{height:96px}
  .spine .plate{top:50%;width:56px;height:56px}
}

/* "+ Add an app" is a link at the top right of Your apps, so the apps fill the shelf (owner 11/17/2026) */
.apps-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.apps-head>a{font-size:14px;font-weight:600;color:var(--blue);text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
.apps-head>a:hover{text-decoration:underline}

/* Home's "Due this week" table (owner 11/17/2026) */
.duetable{overflow-x:auto}
.duetable td{vertical-align:top}
.duetable .tick{width:34px}
.duetable .tick input{width:18px;height:18px;min-height:0;accent-color:var(--logo-green)}
.duetable td.t{font-weight:600;overflow-wrap:anywhere;min-width:140px}
.duetable td.instr{white-space:pre-wrap;min-width:240px;max-width:420px;overflow-wrap:anywhere}
.duetable td.instr a{color:var(--blue);text-decoration:underline}
.duetable td:not(.t):not(.instr){white-space:nowrap}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* thinner still (owner 11/17/2026: "remove the excess space"): name and note sit together, no gap between them */
.spine{height:auto;min-height:84px;padding:12px 84px 12px 16px;justify-content:center;gap:8px}
.spine .plate{width:56px;height:56px;padding:7px;right:14px}
.spine small{align-self:flex-start}
@media (max-width:900px){.spine{height:auto;min-height:80px}}

/* Mark done / Reopen (owner 11/17/2026): a button instead of the tick; done tasks live on the Done tab */
.task{grid-template-columns:10px minmax(0,1fr)}
.task .dot{width:8px;height:8px;border-radius:50%;background:var(--logo-blue);margin-top:7px}
.task .acts{flex-wrap:wrap}
.rowacts{display:inline-flex;gap:6px;align-items:center}

/* "+ Add a task" is a link (Home's Due this week, the Tasks page) that opens the form in a panel; the task lists use
   the whole width (owner 11/17/2026) */
.home{grid-template-areas:"apps apps" "due due"}
.apps-head .tabs{margin-bottom:0}
.h-due .apps-head,.taskpage-head{margin-bottom:8px}
@media (max-width:900px){.home{grid-template-areas:"apps" "due"}}

/* column filters on every table (owner 11/17/2026), TaxCodex PH's styles */
th .fbtn{margin-left:6px;border:1px solid transparent;background:none;color:var(--ink2);border-radius:8px;font-size:11px;line-height:1;padding:3px 6px;cursor:pointer;vertical-align:middle}
th .fbtn:hover{background:var(--hover);border-color:var(--line)}
th.filtered{color:var(--ink)}
th.filtered .fbtn{background:var(--grad);color:#fff;border-color:transparent}
.fnote{margin:0 0 8px;font-size:12.5px;color:var(--ink2)}
.linkbtn{border:0;background:none;color:var(--blue);font:inherit;font-weight:600;cursor:pointer;padding:0}
.fpop{position:absolute;z-index:35;width:280px;max-width:calc(100vw - 16px);background:var(--panel);border:1px solid var(--line);border-radius:var(--r-sm);box-shadow:var(--shadow-pop);padding:12px;display:flex;flex-direction:column;gap:8px}
.fp-sort{display:flex;gap:6px}
.fp-sort button{flex:1;font:inherit;font-size:12.5px;font-weight:600;border:1px solid var(--line);background:var(--surface2);color:var(--ink);border-radius:10px;padding:6px;cursor:pointer}
.fp-sort button:hover{background:var(--hover)}
.fp-list{max-height:240px;overflow:auto;display:flex;flex-direction:column;gap:4px;padding:2px}
.fp-list .check,.fp-all{font-size:13px;word-break:break-word}
.fp-mo{border-bottom:1px solid var(--line2);padding-bottom:4px}
.fp-days{padding-left:22px;display:flex;flex-direction:column;gap:4px}
.fp-days[hidden]{display:none}
.fp-tw{font-size:12px;margin-left:22px}
.fp-foot{display:flex;justify-content:space-between;gap:8px}
@media (pointer:coarse),(max-width:640px){th .fbtn{min-width:36px;min-height:36px}.fp-sort button{min-height:44px}}

/* Future style on the newer parts (owner's rule: 44px touch targets on a phone or touch screen) */
@media (pointer:coarse),(max-width:640px){
  th .fbtn{min-width:44px;min-height:44px}
  .fp-list .check,.fp-all{min-height:44px}
  .sup-x{width:44px;height:44px;line-height:42px}
  .sup-snipmenu button,.sup-tabs a{min-height:44px}
  .linkbtn{min-height:44px}
}

/* the chat on each task (owner 11/17/2026): Support's message bubbles in a dialog */
.chatdlg{width:min(640px,100%)}
.chatbox{max-height:min(50vh,420px);overflow:auto;margin:0 0 10px;padding:2px}
.chatbox .sup-msg{box-shadow:none}
.chatbtn{position:relative}
.chatbtn .sup-badge{margin-left:4px}

/* the Tasks page uses the Dashboard's table (owner 11/17/2026); beside the Add a task panel it must fit without
   scrolling: the buttons wrap, Instructions is narrower */
.duetable td:last-child{white-space:normal;min-width:110px}
.rowacts{flex-wrap:wrap}
.taskpage .duetable td.instr{min-width:150px}
.taskpage .duetable td.t{min-width:110px}

/* Instructions in one line; a click shows them all (owner 11/17/2026) */
.duetable td.instr{white-space:nowrap}
.instr1{display:block;max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;
  background:none;border:0;padding:0;font:inherit;color:inherit;cursor:pointer}
.instr1:hover{text-decoration:underline dotted}
.taskpage .instr1{max-width:200px}
.instr-full{white-space:pre-wrap;overflow-wrap:anywhere;max-height:60vh;overflow:auto;padding:12px 14px;border-radius:var(--r-sm);
  background:var(--surface2);border:1px solid var(--line)}
.instr-full a{color:var(--blue);text-decoration:underline}
@media (pointer:coarse),(max-width:640px){.instr1{min-height:44px}}
/* no empty space after Edit (owner 11/17/2026): Instructions takes the width that's left, cut to one line */
.duetable td.instr,.taskpage .duetable td.instr{width:100%;max-width:0;min-width:140px}
.instr1,.taskpage .instr1{max-width:100%}
.duetable td:last-child{min-width:0;width:1%}
.duetable td:last-child{white-space:nowrap}
.duetable td:last-child .rowacts{flex-wrap:nowrap}
/* the one-line instructions look like a link (owner 11/17/2026): blue, dotted underline */
.instr1{color:var(--blue);text-decoration:underline dotted;text-underline-offset:3px}
.instr1:hover{text-decoration-style:solid}

/* columns (owner 11/17/2026): a light line between columns in every table; a grip on each heading's right edge to
   resize it; once resized the table keeps those widths and long text is cut with "…" */
/* (the lines between columns were removed: owner 11/17/2026 "remove the lines") */
table.list th{position:relative}
.colgrip{position:absolute;top:0;right:-5px;width:10px;height:100%;cursor:col-resize;z-index:2;touch-action:none}
.colgrip::after{content:"";position:absolute;top:22%;bottom:22%;left:4px;width:2px;border-radius:2px;background:transparent}
.colgrip:hover::after,.colgrip:focus-visible::after,body.colresizing .colgrip::after{background:var(--logo-gold)}
.colgrip:focus-visible{outline:none}
body.colresizing{cursor:col-resize;user-select:none}
table.list.sized{table-layout:fixed}
table.list.sized td,table.list.sized th{overflow:hidden;text-overflow:ellipsis}
table.list.sized td.instr{max-width:none}
@media (pointer:coarse){.colgrip{width:22px;right:-11px}.colgrip::after{left:10px}}
/* the buttons' column is never cut with "…" */
table.list.sized td:last-child{overflow:visible;text-overflow:clip}

/* "No due date" under the date box; the ⋮⋮ grip to drag a task (owner 11/17/2026) */
.nodue{margin-top:6px;font-size:12.5px;color:var(--ink2)}
.duetable th.drag,.duetable td.drag{width:34px;padding-left:6px;padding-right:0}
.grip{display:inline-flex;align-items:center;justify-content:center;width:24px;min-height:28px;border-radius:8px;color:var(--ink2);
  cursor:grab;user-select:none;touch-action:none;letter-spacing:-2px}
.grip:hover{background:var(--hover);color:var(--ink)}
tr.dragging{opacity:.75;box-shadow:inset 0 0 0 2px var(--logo-gold)}
body.rowdragging,body.rowdragging *{cursor:grabbing!important;user-select:none}
@media (pointer:coarse){.grip{min-width:44px;min-height:44px}}
/* the grip: six dots, big enough to grab (owner 11/17/2026: "the dragging of task is not working") */
.grip{width:28px;min-height:32px;letter-spacing:0}
.grip svg{width:10px;height:16px;fill:currentColor}
.duetable th.drag,.duetable td.drag{width:40px}
table.list.sized td.drag{overflow:visible}

/* the row's buttons (owner 11/17/2026: "I don't like the view of this"): lined up on the right edge, so the chat and
   Edit buttons sit in the same place on every row whether or not "Mark done" is there; a clear chat icon */
.duetable td:last-child .rowacts{display:flex;justify-content:flex-end;width:100%}
.chatbtn{display:inline-flex;align-items:center;gap:4px;min-width:40px;justify-content:center;color:var(--ink)}
.chatbtn svg{width:16px;height:16px}
.chatbtn .n{font:12px/1 var(--f-mono)}
.chatbtn{min-width:54px;justify-content:flex-start;padding-left:12px}

/* due-date colours (owner 11/17/2026: "make a color coding for the due date"): a tinted chip with a coloured edge;
   the text stays the page's ink, so it passes WCAG AA in light and dark */
.due{--dc:var(--ink2);background:color-mix(in srgb,var(--dc) 22%,var(--panel));color:var(--ink);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--dc) 70%,transparent);font-weight:600}
.due.late{--dc:#d93f3f}
.due.today{--dc:#ef7d22}
.due.tomorrow{--dc:var(--logo-gold)}
.due.week{--dc:var(--logo-blue)}
.due.later{--dc:var(--logo-green)}
.due.late,.due.today,.due.tomorrow,.due.week,.due.later{color:var(--ink);background:color-mix(in srgb,var(--dc) 34%,var(--panel));box-shadow:inset 0 0 0 1.5px var(--dc)}
.due.today{--dc:#f05a28}

/* Due this week: a tab per department beside the title (owner 11/17/2026) */
.h-due .apps-head{flex-wrap:wrap;align-items:center}
.deptabs{flex:1;margin:0 0 0 16px;flex-wrap:wrap;overflow-x:auto}
.deptabs .cnt{font:11px/1 var(--f-mono);padding:2px 6px;border-radius:999px;background:var(--chip);margin-left:4px}
@media (max-width:640px){.deptabs{order:3;flex-basis:100%;margin:6px 0 0}}
/* My team: the department tabs sit on their own row under the main tabs (owner 11/17/2026) */
.deptabs.subtabs{margin:4px 0 10px;flex:none;display:flex}
.deptabs.subtabs .tab{font-size:13px}
.deptabs{overflow:visible}

/* every binder in a row the same height (owner 11/17/2026: one was shorter when its description fit on one line) */
.shelf{align-items:stretch}
.spine{height:auto}
/* no shelf line under the apps (owner 11/17/2026: "remove the white line") */
.shelf{border-bottom:0;padding-bottom:4px}

/* a pop-up you can click (new chat message, new task …) */
#toast.go{cursor:pointer;text-decoration:underline dotted;text-underline-offset:3px}

/* task chat: reply to a particular message, and emoticons (owner 11/17/2026) */
.chatbox .sup-who{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
.ch-reply{margin-left:auto;border:0;background:none;color:var(--blue);font:inherit;font-size:12px;font-weight:600;padding:4px 6px;border-radius:8px;cursor:pointer}
.ch-reply:hover,.ch-reply:focus-visible{text-decoration:underline}
@media (hover:hover){.chatbox .sup-msg .ch-reply{opacity:0}.chatbox .sup-msg:hover .ch-reply,.chatbox .sup-msg .ch-reply:focus-visible{opacity:1}}
.ch-quote{display:block;width:100%;text-align:left;margin:4px 0 6px;padding:6px 10px;border:0;border-left:3px solid #2eaa4a;border-radius:8px;
  background:color-mix(in srgb,var(--ink) 7%,transparent);color:var(--ink);font:inherit;font-size:13px;cursor:pointer;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ch-quote b{margin-right:4px}
.ch-replying{display:flex;align-items:center;gap:8px;padding:6px 10px;border-left:3px solid #2eaa4a;border-radius:10px;
  background:color-mix(in srgb,var(--ink) 7%,transparent);font-size:13px}
.ch-replying[hidden]{display:none}
.ch-replying span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ch-x{border:0;background:none;color:var(--ink);font-size:16px;min-width:36px;min-height:36px;border-radius:8px;cursor:pointer}
.ch-emojis{display:flex;flex-direction:column;gap:6px;padding:8px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}
.ch-emojis[hidden]{display:none}
.ch-emojis button{border:0;background:none;font-size:22px;line-height:1;width:40px;height:40px;border-radius:10px;cursor:pointer}
.ch-emojis button:hover,.ch-emojis button:focus-visible{background:color-mix(in srgb,var(--ink) 10%,transparent)}
/* the emoji button sits in the top-right corner of the message box (owner 11/18/2026) */
.ch-write{position:relative}
.ch-write textarea{width:100%;padding-right:52px}
.ch-emobtn{position:absolute;top:6px;right:6px;width:40px;height:40px;border:0;border-radius:10px;background:none;
  font-size:22px;line-height:1;cursor:pointer}
.ch-emobtn:hover,.ch-emobtn:focus-visible,.ch-emobtn[aria-expanded="true"]{background:color-mix(in srgb,var(--ink) 10%,transparent)}
#chf .foot{display:flex;align-items:center;gap:8px}
@keyframes chflash{from{box-shadow:0 0 0 3px #f9b92b}to{box-shadow:0 0 0 0 transparent}}
.ch-flash{animation:chflash 1.6s ease-out}
@media (prefers-reduced-motion:reduce){.ch-flash{animation:none;outline:3px solid #f9b92b}}

/* task chat: read receipts and dropping a link in (owner 11/18/2026) */
.ch-seen{font-size:12px;color:var(--ink2,var(--muted));margin:-4px 6px 2px;align-self:flex-start}
.ch-seen.mine{align-self:flex-end}
.ch-seen.sent{opacity:.8}
.chatdlg.ch-drop{outline:3px dashed #2eaa4a;outline-offset:-6px}

/* the full emoji picker (owner 11/18/2026) */
.ch-esearch{width:100%;min-height:40px}
.ch-ecats{display:flex;gap:2px;overflow-x:auto;border-bottom:1px solid var(--line);padding-bottom:4px}
.ch-ecats button{flex:0 0 auto;border:0;background:none;font-size:20px;width:40px;height:40px;border-radius:10px;cursor:pointer}
.ch-ecats button:hover,.ch-ecats button:focus-visible{background:color-mix(in srgb,var(--ink) 10%,transparent)}
.ch-egrid{max-height:min(34vh,260px);overflow-y:auto;position:relative}
.ch-egrid h4{margin:8px 4px 2px;font-size:12px;font-weight:700;color:var(--ink2)}
.ch-eset{display:flex;flex-wrap:wrap;gap:2px}

/* task chat threads (owner 11/18/2026) */
.ch-acts{margin-left:auto;display:inline-flex;gap:2px}
.ch-acts .ch-reply{margin-left:0}
.ch-thread{align-self:flex-start;margin:-4px 0 2px 10px;border:0;background:none;color:var(--blue);font:inherit;font-size:13px;
  font-weight:600;padding:4px 8px;border-radius:8px;cursor:pointer;text-align:left}
.ch-thread.mine{align-self:flex-end;margin:-4px 10px 2px 0}
.ch-thread:hover,.ch-thread:focus-visible{background:color-mix(in srgb,var(--ink) 8%,transparent);text-decoration:underline}
.ch-threadbar{display:flex;align-items:center;gap:10px;margin:0 0 6px}
.ch-threadbar[hidden]{display:none}
.sup-msg.ch-root{border-left:4px solid #2eaa4a}
.ch-thead{margin:2px 4px;font-size:12px;font-weight:700;color:var(--ink2);border-bottom:1px solid var(--line);padding-bottom:4px}
/* Reply and Thread show their icon only (owner 11/18/2026); the words are in the hover note */
.ch-acts .ch-reply{font-size:16px;line-height:1;min-width:32px;min-height:32px;padding:4px;display:inline-flex;align-items:center;justify-content:center}
.ch-acts .ch-reply:hover,.ch-acts .ch-reply:focus-visible{text-decoration:none;background:color-mix(in srgb,var(--ink) 10%,transparent)}
/* reactions on chat messages (owner 11/18/2026) */
.ch-rxs{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}
.ch-rx{display:inline-flex;align-items:center;gap:4px;min-height:28px;padding:2px 8px;border-radius:999px;cursor:pointer;
  border:1px solid var(--line);background:color-mix(in srgb,var(--ink) 5%,transparent);color:var(--ink);font:inherit;font-size:14px}
.ch-rx span{font-size:12px;font-weight:700}
.ch-rx.mine{border-color:var(--blue);background:color-mix(in srgb,var(--blue) 18%,transparent)}
.ch-rx:hover,.ch-rx:focus-visible{border-color:var(--blue)}
.ch-rxbar{display:flex;gap:2px;margin:4px 0;padding:4px;border:1px solid var(--line);border-radius:999px;background:var(--panel);
  box-shadow:var(--shadow);width:max-content;max-width:100%;flex-wrap:wrap}
.ch-rxbar button{border:0;background:none;font-size:22px;line-height:1;width:38px;height:38px;border-radius:50%;cursor:pointer;color:var(--ink)}
.ch-rxbar button:hover,.ch-rxbar button:focus-visible{background:color-mix(in srgb,var(--ink) 10%,transparent)}
.ch-rxfor{font-size:13px;padding:2px 4px}
.ch-rxfor[hidden]{display:none}
