:root {
  --b50: #eef8f5; --b100: #d3eee6; --b200: #a9ddcf; --b300: #7fcab8; --b500: #23968a; --b600: #137a75; --b700: #0f5f5c; --b800: #0c4a48; --b900: #0a3836;
  --sun50: #fff7ed; --sun100: #ffedd5; --sun500: #f17c3a; --sun700: #b4501a;
  --rec: #4255c9; --rec-bg: #eef0fd; --hire: #0f7a55; --hire-bg: #e6f6ee;
  --canvas: #f7f5f1; --ink: #1f2328;
  --s50: #fafaf9; --s100: #f5f5f4; --s200: #e7e5e4; --s300: #d6d3d1; --s400: #a8a29e;
  --sl400: #94a3b8; --sl500: #64748b; --sl600: #475569; --sl700: #334155; --sl800: #1e293b; --sl900: #0f172a;
  --shadow: 0 1px 2px rgb(28 25 23 / .04), 0 1px 3px rgb(28 25 23 / .05);
  --lift: 0 4px 14px -2px rgb(28 25 23 / .08), 0 2px 4px rgb(28 25 23 / .04);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font: 14.5px/1.5 "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--canvas); -webkit-font-smoothing: antialiased; overflow: hidden; }
h1, h2, h3 { letter-spacing: -0.01em; margin: 0; color: var(--sl900); }
p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: var(--b700); text-decoration: none; font-weight: 600; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--b600); outline-offset: 2px; border-radius: 6px; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ic-s { width: 14px; height: 14px; } .ic-m { width: 16px; height: 16px; } .ic-l { width: 20px; height: 20px; }
.tab { font-variant-numeric: tabular-nums; }
.muted { color: var(--sl500); } .small { font-size: 13px; } .xs { font-size: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 24px; min-width: 0; }

/* shell */
.app { display: flex; height: 100dvh; }
.topbar { display: none; }
.side { width: 240px; flex-shrink: 0; background: #fff; border-right: 1px solid var(--s200); display: flex; flex-direction: column; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; line-height: 1.2; }
.brand b { display: block; font-size: 17px; font-weight: 800; color: var(--b800); letter-spacing: -0.02em; }
.brand small { display: block; font-size: 11.5px; font-weight: 500; color: var(--sl500); }
.brand-side { padding: 24px 20px; }
.glyph { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(150deg, var(--b500), var(--b700)); display: grid; place-items: center; flex-shrink: 0; }
.glyph svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
#nav { display: flex; flex-direction: column; gap: 2px; padding: 0 12px; }
#nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: 14.5px; font-weight: 600; color: var(--sl600); text-decoration: none; }
#nav a .ic { width: 19px; height: 19px; color: var(--sl400); }
#nav a:hover { background: var(--s100); color: var(--sl900); }
#nav a[aria-current=page] { background: var(--b50); color: var(--b800); }
#nav a[aria-current=page] .ic { color: var(--b600); }
.me { margin: auto 12px 12px; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: var(--s50); font-size: 13px; line-height: 1.25; }
.me-t { flex: 1; min-width: 0; } .me-t b { display: block; color: var(--sl800); } .me-t small { color: var(--sl500); font-size: 13px; }
.icon-btn { border: 0; background: none; padding: 6px; border-radius: 8px; color: var(--sl500); display: inline-grid; }
.icon-btn:hover { background: #fff; color: var(--sl800); }
.main { position: relative; flex: 1; min-width: 0; overflow-y: auto; overflow-x: hidden; padding: 36px 40px; }
.wrap { max-width: 1320px; margin: 0 auto; }

/* basics */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 8px; font-size: 14px; font-weight: 600; white-space: nowrap; border: 1px solid var(--s300); background: #fff; color: var(--sl800); box-shadow: var(--shadow); transition: all .12s; text-decoration: none; }
.btn:hover { border-color: var(--s400); background: var(--s50); text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--b700); border-color: var(--b700); color: #fff; box-shadow: 0 1px 2px rgb(10 56 54 / .2); }
.btn-primary:hover { background: var(--b800); border-color: var(--b800); }
.btn-ghost { background: transparent; border-color: transparent; box-shadow: none; color: var(--sl700); }
.btn-ghost:hover { background: var(--s100); border-color: transparent; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.card { background: #fff; border: 1px solid rgb(231 229 228 / .8); border-radius: 16px; box-shadow: var(--shadow); min-width: 0; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 14px 20px; border-bottom: 1px solid var(--s100); }
.card-h h2 { font-size: 16px; }
.card-b { padding: 20px; }
.lift { transition: all .15s; } .lift:hover { transform: translateY(-2px); box-shadow: var(--lift); border-color: var(--b200); text-decoration: none; }
.pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 2px 8px; font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--s100); color: var(--sl700); }
.p-amber { background: #fef3c7; color: #78350f; } .p-green { background: #d1fae5; color: #065f46; } .p-red { background: #fee2e2; color: #991b1b; } .p-blue { background: var(--rec-bg); color: var(--rec); }
.phase { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 2px 8px; font-size: 12px; font-weight: 600; }
.phase::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ph-r { background: var(--rec-bg); color: var(--rec); } .ph-h { background: var(--hire-bg); color: var(--hire); }
.st { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; display: inline-block; }
.d-open { background: var(--rec); } .d-offer_sent { background: var(--sun500); } .d-offer_accepted { background: var(--b500); } .d-started { background: #059669; } .d-rejected { background: var(--sl400); } .d-did_not_start { background: #f43f5e; }
.t-offer_sent { color: var(--sun700); } .t-offer_accepted { color: var(--b800); } .t-started { color: #065f46; font-weight: 600; } .t-rejected { color: var(--sl500); } .t-did_not_start { color: #be123c; }
.s-open { background: var(--rec-bg); } .s-offer_sent { background: var(--sun50); } .s-offer_accepted { background: var(--b50); } .s-started { background: #ecfdf5; } .s-rejected { background: #f1f5f9; } .s-did_not_start { background: #fff1f2; }
.av { display: inline-grid; place-items: center; flex-shrink: 0; border-radius: 50%; font-weight: 700; width: 36px; height: 36px; font-size: 12px; }
.av-sm { width: 24px; height: 24px; font-size: 10px; } .av-lg { width: 56px; height: 56px; font-size: 18px; }
.t-rose { background: #ffe4e6; color: #9f1239; } .t-amber { background: #fef3c7; color: #92400e; } .t-lime { background: #ecfccb; color: #3f6212; } .t-emerald { background: #d1fae5; color: #065f46; }
.t-cyan { background: #cffafe; color: #155e75; } .t-sky { background: #e0f2fe; color: #075985; } .t-violet { background: #ede9fe; color: #5b21b6; } .t-fuchsia { background: #fae8ff; color: #86198f; }
.prog { position: relative; height: 10px; border-radius: 999px; background: rgb(231 229 228 / .7); overflow: hidden; }
.prog i { position: absolute; inset: 0 auto 0 0; border-radius: 999px; }
.prog .pe { background: var(--b200); } .prog .pd { background: var(--b600); }
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgb(231 229 228 / .6); max-width: 100%; overflow-x: auto; }
.seg button { border: 0; background: none; border-radius: 8px; padding: 6px 14px; font-size: 14px; font-weight: 600; color: var(--sl600); white-space: nowrap; }
.seg button:hover { color: var(--sl900); }
.seg button[aria-pressed=true], .seg button[aria-selected=true] { background: #fff; color: var(--b800); box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field > label, .lbl { font-size: 13px; font-weight: 600; color: var(--sl700); }
.input { height: 40px; width: 100%; min-width: 0; border-radius: 8px; border: 1px solid var(--s300); background: #fff; padding: 0 12px; font: inherit; font-size: 14px; box-shadow: var(--shadow); color: var(--ink); }
textarea.input { height: auto; padding: 8px 12px; resize: vertical; }
.input:focus { outline: none; border-color: var(--b600); box-shadow: 0 0 0 3px var(--b100); }
.input-sm { height: 32px; font-size: 13px; width: auto; }
.err { color: #b91c1c; font-size: 12px; }
.note { display: flex; gap: 8px; align-items: flex-start; border-radius: 12px; background: var(--s50); padding: 8px 12px; font-size: 13px; color: var(--sl600); }
.warnbox { border-radius: 12px; background: #fffbeb; border: 1px solid #fde68a; padding: 12px 14px; font-size: 13px; color: #78350f; }
.chip { border: 1px solid var(--s200); background: #fff; border-radius: 8px; padding: 4px 10px; font-size: 13px; font-weight: 500; color: var(--sl700); }
.chip:hover { border-color: var(--b300); background: var(--b50); }
.chip[aria-pressed=true] { border-color: var(--b600); background: var(--b50); color: var(--b800); }
.chip-amber { border-color: #fde68a; background: rgb(255 251 235 / .6); }
.grid { display: grid; gap: 12px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tblw { overflow-x: auto; position: relative; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl thead tr { background: #faf9f7; }
.tbl th { text-align: left; font-size: 12px; font-weight: 600; color: var(--sl500); padding: 12px 16px; border-bottom: 1px solid var(--s200); white-space: nowrap; }
.tbl td { padding: 12px 16px; border-bottom: 1px solid var(--s100); vertical-align: middle; }
.tbl tbody tr:hover { background: rgb(250 250 249 / .8); }
.tbl tbody tr:last-child td { border-bottom: 0; }
.nowrap td { white-space: nowrap; }
.namecell { display: flex; align-items: center; gap: 10px; white-space: nowrap; }

/* page header */
.ph { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.ph h1 { font-size: 26px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.ph .sub { margin-top: 4px; font-size: 15px; color: var(--sl600); }
.crumb { font-size: 13px; color: var(--sl500); margin-bottom: 8px; }
.back { border: 0; background: none; padding: 0; font-size: 13px; font-weight: 600; color: var(--sl500); display: inline-flex; align-items: center; gap: 4px; margin-bottom: 12px; }
.back:hover { color: var(--sl800); }
.back .ic { transform: rotate(180deg); }

/* today */
.hello { margin-bottom: 28px; }
.hello .date { font-size: 14px; font-weight: 600; color: var(--b700); }
.hello h1 { margin-top: 4px; font-size: 30px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.hello p { margin-top: 4px; font-size: 15px; color: var(--sl600); }
.today { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.sec-h h2 { font-size: 18px; font-weight: 700; }
.attn { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.attn a { display: flex; align-items: flex-start; gap: 14px; height: 100%; padding: 16px; color: inherit; font-weight: 400; }
.tile { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.tile .ic { width: 20px; height: 20px; }
.k-sun { background: var(--sun100); color: var(--sun700); } .k-rec { background: var(--rec-bg); color: var(--rec); } .k-vio { background: #ede9fe; color: #6d28d9; }
.k-em { background: #d1fae5; color: #047857; } .k-or { background: #ffedd5; color: #c2410c; } .k-rose { background: #ffe4e6; color: #be123c; } .k-st { background: var(--s100); color: var(--sl600); }
.attn .n { font-size: 24px; font-weight: 700; color: var(--sl900); margin-right: 8px; }
.attn .l { font-weight: 600; color: var(--sl800); }
.attn .help { display: block; margin-top: 2px; font-size: 13px; line-height: 1.35; color: var(--sl500); }
.attn .arr { margin-top: 4px; color: #cbd5e1; width: 16px; height: 16px; }
.attn a:hover .arr { color: var(--b600); }
.clear { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--sl500); }
.jobs-g { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jp { display: flex; flex-direction: column; padding: 20px; height: 100%; color: inherit; font-weight: 400; }
.jp-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.jp-t { font-weight: 700; color: var(--sl900); }
.jp-n { text-align: right; flex-shrink: 0; } .jp-n b { font-size: 24px; } .jp-n small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--sl500); }
.jp-split { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--s100); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 13px; }
.legend { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 16px; font-size: 12px; color: var(--sl500); }
.legend span { display: flex; align-items: center; gap: 6px; }
.up li a { display: flex; align-items: center; gap: 12px; padding: 10px 8px; margin: 0 -8px; border-radius: 12px; color: inherit; font-weight: 400; }
.up li a:hover { background: var(--s50); text-decoration: none; }
.up li + li { border-top: 1px solid var(--s100); }
.up b { display: block; color: var(--sl800); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.up .what { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--sl500); }

/* job detail */
.summary dl { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.summary dt { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--sl500); }
.summary dd b { font-size: 24px; color: var(--sl900); }
.counts { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.counts li { display: inline-flex; align-items: center; gap: 8px; border-radius: 12px; padding: 6px 12px; color: var(--sl600); }
.counts b { color: var(--sl900); }
.where { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--s100); font-size: 13px; }
.where ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.where .chip b { margin-right: 4px; }
.board-w { overflow-x: auto; padding-bottom: 8px; position: relative; }
.board { display: flex; gap: 20px; width: max-content; align-items: flex-start; }
.phgrp { border-radius: 16px; padding: 12px; }
.phgrp-r { background: rgb(238 240 253 / .6); box-shadow: inset 0 0 0 1px rgb(66 85 201 / .1); }
.phgrp-h { background: rgb(230 246 238 / .7); box-shadow: inset 0 0 0 1px rgb(15 122 85 / .1); }
.phgrp > h2 { display: flex; align-items: center; gap: 8px; padding: 0 4px; margin-bottom: 12px; font-size: 13px; font-weight: 400; color: var(--sl600); }
.cols { display: flex; gap: 12px; align-items: flex-start; }
.col { width: 256px; display: flex; flex-direction: column; overflow: hidden; border-radius: 12px; background: rgb(255 255 255 / .9); box-shadow: var(--shadow), 0 0 0 1px rgb(231 229 228 / .8); }
.col.over { box-shadow: 0 0 0 2px var(--b600); }
.col > .bar { height: 4px; }
.col-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px 8px; font-size: 13px; font-weight: 700; }
.cnt { border-radius: 999px; padding: 2px 8px; font-size: 12px; font-weight: 700; color: var(--sl700); }
.col-l { display: flex; flex-direction: column; gap: 8px; padding: 0 8px 8px; }
.empty-col { margin: 0 8px 8px; border: 1px dashed var(--s200); border-radius: 8px; padding: 16px 8px; text-align: center; font-size: 12px; color: var(--sl400); }
.kc { cursor: grab; border: 1px solid var(--s200); border-radius: 12px; background: #fff; padding: 12px; font-size: 13px; box-shadow: var(--shadow); transition: box-shadow .12s; }
.kc:hover { box-shadow: var(--lift); } .kc.dragging { opacity: .5; }
.kc-top { display: flex; align-items: center; gap: 10px; }
.kc-top a { flex: 1; min-width: 0; color: var(--sl900); }
.kc-m { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; color: var(--sl600); }
.kc-m p { display: flex; gap: 6px; align-items: flex-start; } .kc-m .ic { margin-top: 2px; }
.kc-m .od { color: #b91c1c; font-weight: 600; } .kc-m .nc { color: #92400e; font-weight: 500; } .kc-m .ok { color: #047857; }
.kc-f { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--s100); display: flex; align-items: center; justify-content: space-between; gap: 4px; font-size: 12px; color: var(--sl500); }

/* profile */
.prof-h { padding: 24px; margin-bottom: 24px; }
.prof-top { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.prof-top h1 { font-size: 26px; line-height: 1.2; word-break: break-word; }
.prof-meta { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; color: var(--sl600); }
.prof-meta span, .prof-meta a { display: inline-flex; align-items: center; gap: 6px; min-width: 0; overflow-wrap: anywhere; }
.contact { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--s100); }
.c-sky { color: #0369a1; } .c-vio { color: #6d28d9; } .c-em { color: #047857; } .c-sun { color: var(--sun700); }
.prof-g { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
.appc { padding: 20px; }
.appc.closed { background: rgb(250 250 249 / .8); }
.track { display: flex; gap: 4px; margin-top: 12px; }
.track span { height: 6px; flex: 1; border-radius: 999px; background: var(--s200); }
.track .r1 { background: rgb(66 85 201 / .35); } .track .r2 { background: var(--rec); } .track .h1 { background: rgb(15 122 85 / .4); } .track .h2 { background: var(--hire); }
.nextbox { margin-top: 16px; border-radius: 12px; background: var(--s50); padding: 10px 14px; font-size: 13px; display: flex; gap: 8px; align-items: flex-start; }
.nextbox.od { background: #fef2f2; box-shadow: inset 0 0 0 1px #fecaca; color: #991b1b; }
.info { margin-top: 12px; display: grid; gap: 6px 20px; grid-template-columns: 1fr 1fr; font-size: 13px; }
.info dt { color: var(--sl500); display: inline; } .info dd { display: inline; color: var(--sl800); }
.kv { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 8px 12px; font-size: 13px; }
.kv dt { color: var(--sl500); } .kv dd { color: var(--sl800); word-break: break-word; }
.docs li, .ivs li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; font-size: 13px; }
.docs li + li, .ivs li + li { border-top: 1px solid var(--s100); }
.tl li { display: flex; gap: 12px; padding: 12px 0; }
.tl li + li { border-top: 1px solid var(--s100); }
.tl .tile { width: 32px; height: 32px; border-radius: 10px; } .tl .tile .ic { width: 16px; height: 16px; }
.tl .who { font-size: 13px; color: var(--sl500); }
.tl .who b { color: var(--sl800); font-weight: 600; }
.tl .txt { margin-top: 2px; white-space: pre-line; word-break: break-word; }

/* import */
.stepper { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 20px; }
.stepper li { display: flex; align-items: center; gap: 8px; }
.stepper .line { width: 32px; height: 1px; background: var(--s300); } .stepper .line.on { background: var(--b200); }
.stepper .s { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 12px; font-weight: 600; background: var(--s100); color: var(--sl500); }
.stepper .s.now { background: var(--b700); color: #fff; } .stepper .s.done { background: var(--b50); color: var(--b800); }
.drop { border: 2px dashed var(--s300); border-radius: 16px; padding: 32px 16px; text-align: center; background: var(--s50); }
.tiles { display: grid; gap: 10px; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 16px; }
.tiles button { text-align: left; border: 1px solid var(--s200); border-radius: 12px; background: #fff; padding: 12px; box-shadow: var(--shadow); position: relative; display: flex; flex-direction: column; justify-content: flex-start; }
.tiles button[aria-pressed=true] { border-color: var(--b600); background: rgb(238 248 245 / .6); box-shadow: 0 0 0 1px var(--b600); }
.tiles .tile { width: 32px; height: 32px; border-radius: 10px; position: absolute; top: 12px; right: 12px; } .tiles .tile .ic { width: 16px; height: 16px; }
.tiles b { font-size: 24px; display: block; } .tiles .tl1 { display: block; font-weight: 600; font-size: 13px; color: var(--sl800); margin-top: 4px; } .tiles small { display: block; font-size: 12px; color: var(--sl500); line-height: 1.3; }
.result { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
.result div { flex: 1; min-width: 120px; border-radius: 12px; padding: 14px; }
.result b { display: block; font-size: 26px; }

/* reports */
.bars li { display: grid; grid-template-columns: 70px 1fr 32px; gap: 10px; align-items: center; font-size: 13px; padding: 4px 0; }
.bars .bt { height: 10px; border-radius: 999px; background: var(--s100); overflow: hidden; } .bars .bt i { display: block; height: 100%; background: var(--b500); border-radius: 999px; }

/* dialog + toast */
dialog { border: 0; padding: 0; border-radius: 16px; width: calc(100% - 24px); max-width: 520px; max-height: calc(100dvh - 32px); box-shadow: 0 25px 50px -12px rgb(0 0 0 / .25); color: var(--ink); }
dialog.wide { max-width: 760px; }
dialog::backdrop { background: rgb(20 28 30 / .4); backdrop-filter: blur(2px); }
dialog[open] { animation: pop .16s ease-out; display: flex; flex-direction: column; }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.985); } }
.dh { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 24px; border-bottom: 1px solid var(--s200); }
.dh h2 { font-size: 18px; } .dh .dsub { margin-top: 2px; font-size: 13px; color: var(--sl600); }
.db { padding: 20px 24px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.df { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 14px 24px; border-top: 1px solid var(--s200); background: rgb(250 250 249 / .7); border-radius: 0 0 16px 16px; }
.lb { margin-top: 6px; max-height: 260px; overflow-y: auto; border: 1px solid var(--s200); border-radius: 12px; padding: 4px; }
.lb-h { padding: 8px 10px 4px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sl500); }
.lb-o { padding: 8px 10px; border-radius: 8px; cursor: pointer; font-size: 14px; display: flex; align-items: center; gap: 4px; }
.lb-o:hover, .lb-o.hi { background: var(--s100); }
.lb-o[aria-selected=true] { background: var(--b50); box-shadow: inset 0 0 0 1px var(--b600); }
.lb-empty { padding: 12px; color: var(--sl500); font-size: 13px; }
.toasts { position: fixed; right: 12px; bottom: 12px; left: 12px; z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; pointer-events: none; }
.toast { max-width: 380px; border-radius: 12px; padding: 12px 16px; font-size: 14px; font-weight: 500; background: var(--sl900); color: #fff; box-shadow: var(--lift); animation: pop .16s ease-out; }

@media (max-width: 1180px) {
  .today, .prof-g { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .app { flex-direction: column; position: relative; }
  .topbar { height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; background: rgb(255 255 255 / .92); border-bottom: 1px solid var(--s200); flex-shrink: 0; z-index: 30; }
  .side { display: none; position: absolute; top: 56px; left: 0; right: 0; bottom: 0; width: auto; z-index: 25; border-right: 0; padding-top: 8px; }
  .side.open { display: flex; }
  .brand-side { display: none; }
  .main { padding: 24px 16px; }
  .attn, .jobs-g, .g2, .info { grid-template-columns: minmax(0, 1fr); }
  .summary dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hello h1 { font-size: 26px; }
  .prof-h { padding: 18px; }
  .db, .dh, .df { padding-left: 18px; padding-right: 18px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
