:root{color-scheme:light;--bg:#f5f6f8;--surface:#fff;--surface-2:#eceef2;--ink:#20242b;--muted:#626a76;--line:#e2e5eb;--accent:#2463eb;--accent-soft:#eaf0ff;--danger:#b83b3b;--radius:14px;--font:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}body[data-theme=dark]{color-scheme:dark;--bg:#14171c;--surface:#20242c;--surface-2:#292f39;--ink:#f1f3f7;--muted:#a8b0be;--line:#353c48;--accent:#86adff;--accent-soft:#263956;--danger:#ff9999}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;color:inherit;background:none;touch-action:manipulation}button:disabled{opacity:.55;cursor:wait}input,select,textarea{width:100%;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--ink);padding:10px 12px;outline:none;caret-color:var(--accent)}textarea{resize:vertical;min-height:90px}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}:focus-visible{outline:3px solid var(--accent);outline-offset:3px}::placeholder{color:var(--muted);opacity:1}::selection{background:var(--accent-soft);color:var(--ink)}a{color:var(--accent);text-underline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:32px;line-height:1.2;font-weight:650;letter-spacing:-.035em}h2{font-size:20px;font-weight:650;letter-spacing:-.02em}h3{font-size:16px;font-weight:600}small{font-size:12px;color:var(--muted)}svg{width:19px;height:19px;display:block;flex:none;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}[data-icon]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip{position:fixed;left:10px;top:-60px;z-index:1000;padding:12px;background:var(--surface)}.skip:focus{top:10px}.app-shell{display:flex;min-height:100dvh}.sidebar{width:224px;flex-shrink:0;background:var(--surface);border-right:1px solid var(--line);padding:32px 18px 16px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font-size:18px;font-weight:650;letter-spacing:-.04em;padding:0 6px}.brand-mark{width:32px;height:32px;border-radius:9px;background:var(--accent);display:grid;place-items:center;color:white;flex:none}.brand-mark svg{width:23px;height:23px;fill:currentColor;stroke:none}.workspace-label{font-size:12px;color:var(--muted);margin:48px 12px 12px}.nav-item{width:100%;min-height:44px;display:flex;align-items:center;gap:10px;text-align:left;padding:10px 12px;border-radius:9px;margin:3px 0;color:var(--muted);font-weight:500;white-space:nowrap}.nav-item.active{background:var(--accent-soft);color:var(--accent)}.nav-count{margin-left:auto;font-size:12px;font-variant-numeric:tabular-nums}.sidebar-bottom{margin-top:auto;padding-top:32px}.account{display:flex;align-items:center;gap:9px;border-top:1px solid var(--line);margin-top:18px;padding-top:20px;font-size:12px}.account>div{min-width:0}.account strong{display:block;max-width:98px;overflow:hidden;text-overflow:ellipsis}.account small{font-size:11px}.account form{margin-left:auto}.avatar{width:30px;height:30px;border-radius:50%;background:var(--surface-2);display:grid;place-items:center;font-weight:600}.account .icon-button{width:30px;min-height:36px}main#main{margin-left:224px;width:calc(100% - 224px);padding:42px 36px 16px;min-width:0;display:flex;flex-direction:column;min-height:100dvh}.page-header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:34px}.date-label{font-size:12px;color:var(--muted);margin-bottom:10px}.page-header p{color:var(--muted);margin-top:10px}.primary,.soft,.outline{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 15px;border-radius:9px;min-height:42px;font-weight:550;white-space:nowrap}.primary{background:var(--accent);color:#fff}.soft{background:var(--surface);border:1px solid var(--line)}.outline{border:1px solid var(--line)}body[data-theme=dark] .primary{color:#101a2e}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;min-height:36px;border-radius:8px;color:var(--muted);flex:none}.text-button{color:var(--accent);padding:8px 0;text-align:left}.danger{color:var(--danger)!important}.toolbar{display:flex;align-items:center;gap:16px;justify-content:space-between}.search{display:flex;align-items:center;gap:9px;min-width:180px;max-width:440px;width:100%;position:relative;color:var(--muted);background:var(--surface);border:1px solid var(--line);border-radius:9px;padding:0 12px}.search input{border:0;background:none;padding:11px 0;box-shadow:none;min-width:0}.search kbd{font:12px var(--font);border:1px solid var(--line);padding:0 5px;border-radius:4px}.toolbar-actions{display:flex;align-items:center;gap:8px}.filter-row{display:flex;gap:16px;align-items:end;padding:18px 0;flex-wrap:wrap}.filter-row label{font-size:12px;display:grid;gap:5px}.filter-row select{width:180px}.check{display:flex!important;align-items:center;gap:8px!important;padding:10px 0}.check input{width:17px;height:17px;accent-color:var(--accent)}.board-meta{display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:12px;padding:20px 0}.board-meta #sort-label{display:flex;align-items:center;gap:6px}.board-meta svg{width:14px;height:14px}#content{flex:1;min-width:0}.kanban{display:grid;grid-auto-columns:minmax(245px,1fr);grid-auto-flow:column;gap:18px;overflow-x:auto;padding-bottom:24px;min-height:470px;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.column{min-width:0}.column-heading{display:flex;align-items:center;gap:9px;margin:0 3px 14px}.status-dot{width:8px;height:8px;flex:none;border-radius:50%;background:var(--status-color,#64748b)}.column-heading h2{font-size:14px;letter-spacing:0}.column-heading .count{font-size:12px;color:var(--muted);background:var(--surface-2);padding:0 6px;border-radius:5px}.column-heading>button{margin-left:auto;width:26px;min-height:26px}.column-list{min-height:300px;display:flex;flex-direction:column;gap:12px;padding:2px}.job-card{position:relative;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:16px;cursor:pointer;transition:transform 150ms ease-out,border-color 150ms ease-out;min-width:0;overflow-wrap:anywhere}.job-card:active{transform:scale(.995)}.job-card.dragging{opacity:.45}.column-list.drag-over{background:var(--accent-soft);border-radius:12px}.card-top{display:flex;align-items:center;gap:10px;margin-bottom:13px}.company-logo{width:34px;height:34px;border-radius:9px;background:var(--surface-2);display:grid;place-items:center;flex:none;font-weight:650;font-size:13px;color:var(--muted);overflow:hidden}.company-logo img{width:100%;height:100%;object-fit:contain}.company-name{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.card-favorite{margin-left:auto}.card-favorite svg{width:17px;height:17px}.is-favorite{color:#b48422}.is-favorite svg{fill:currentColor;stroke:currentColor}.job-card .card-favorite,.job-card .card-more{width:24px;min-height:28px}.card-title{font-size:15px;line-height:1.4;font-weight:600;margin-bottom:7px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;letter-spacing:-.015em}.card-location{font-size:12px;color:var(--muted);margin-bottom:12px}.card-tags{display:flex;flex-wrap:wrap;gap:5px;margin:12px 0}.tag{display:inline-flex;align-items:center;gap:4px;font-size:11px;padding:3px 7px;border-radius:5px;background:var(--surface-2);color:var(--ink)}.tag-dot{width:5px;height:5px;border-radius:50%;background:var(--tag-color)}.tag svg{width:12px;height:12px}.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:11px;margin-top:14px}.salary{font-size:12px;color:var(--ink);font-weight:550}.age-track{height:3px;border-radius:3px;background:var(--surface-2);margin-top:13px;overflow:hidden}.age-bar{height:100%;background:var(--age-color,#7c9bc0);width:var(--progress,0%);border-radius:3px}.interview-indicator{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--muted);margin-top:10px}.interview-indicator svg{width:13px;height:13px}.priority-mark{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:4px}.priority-mark.high{color:var(--danger)}.column-empty{display:grid;place-content:center;text-align:center;min-height:138px;border:1px dashed var(--line);border-radius:14px;color:var(--muted);padding:16px;gap:8px;font-size:12px}.column-empty button{color:var(--accent)}.column-add{display:flex;justify-content:center;align-items:center;gap:6px;width:100%;color:var(--muted);padding:12px;font-size:12px}.column-add svg{width:14px;height:14px}.page-footer{display:flex;justify-content:space-between;gap:16px;padding-top:18px;color:var(--muted);font-size:11px}.page-footer>span:first-child{display:flex;align-items:center;gap:6px}.connection-dot{height:6px;width:6px;border-radius:50%;background:#569477}.status-tabs,.mobile-add{display:none}.empty-state,.loading-state{padding:70px 20px;text-align:center;max-width:540px;margin:0 auto;color:var(--muted)}.empty-state h2{color:var(--ink);margin-bottom:10px}.empty-state p{margin-bottom:22px}.empty-state>svg{margin:0 auto 16px;width:32px;height:32px}.list-view{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}.archive-note{font-size:12px;color:var(--muted);margin:10px 0 0}.agenda{max-width:850px}.agenda-row{display:flex;gap:20px;align-items:center;padding:22px 6px;border-top:1px solid var(--line)}.agenda-date{color:var(--accent);font-size:24px;font-weight:650;line-height:1.15;min-width:55px}.agenda-date small{display:block;font-size:12px;margin-top:4px}.agenda-info{flex:1}.agenda-info p{font-size:13px;color:var(--muted);margin-top:4px}dialog{color:var(--ink);background:var(--surface);border:0;padding:28px;border-radius:18px;box-shadow:0 18px 70px #0003;max-height:90dvh;overflow:auto}dialog::backdrop{background:#12192360}dialog[open]{animation:appear 180ms cubic-bezier(.16,1,.3,1)}.capture-dialog{width:min(560px,calc(100vw - 32px))}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}.capture-dialog p{color:var(--muted);margin-bottom:22px}.capture-dialog textarea{font-size:16px;background:var(--bg);border-color:transparent;padding:16px;min-height:132px}.drop-zone{display:flex;align-items:center;gap:12px;border:1px dashed var(--line);border-radius:10px;padding:16px;margin-top:16px;cursor:pointer;font-size:13px}.drop-zone small{display:block;margin-top:3px;font-size:11px}.drop-zone input{display:none}.drop-zone.drag-over{background:var(--accent-soft)}.dialog-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:24px}.dialog-footer>span{font-size:11px;color:var(--muted)}.file-list{font-size:12px;padding-left:20px;color:var(--muted)}.error{color:var(--danger)!important;font-size:13px;white-space:pre-wrap}.error:empty{display:none}.detail-dialog{inset:0 0 0 auto;margin:0;height:100dvh;max-height:100dvh;width:620px;max-width:100vw;border-radius:0;padding:0}.detail-dialog[open]{animation:slide 180ms cubic-bezier(.16,1,.3,1)}.detail-header{position:sticky;top:0;z-index:2;background:var(--surface);padding:12px 24px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted)}#detail-content{padding:24px 30px 48px}.detail-identity{display:flex;align-items:center;gap:12px;margin-bottom:20px}.detail-identity .company-logo{width:44px;height:44px;font-size:17px}.detail-identity small{display:block}.detail-title{font-size:24px;font-weight:650;letter-spacing:-.03em;line-height:1.3;overflow-wrap:anywhere}.detail-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:18px 0 24px}.detail-actions select{width:auto;max-width:220px;min-height:42px}.detail-section{padding:24px 0;border-top:1px solid var(--line)}.detail-section>h3,.section-heading{margin-bottom:16px}.section-heading{display:flex;align-items:center;justify-content:space-between}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid .full{grid-column:1/-1}label.field{display:grid;gap:6px;font-size:12px;color:var(--muted)}label.field input,label.field textarea,label.field select{color:var(--ink);font-size:14px}.detail-tags{display:flex;gap:7px;flex-wrap:wrap}.tag-choice{border:1px solid var(--line);padding:6px 10px;border-radius:7px;font-size:12px}.tag-choice.selected{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.hint{font-size:12px;color:var(--muted);margin:12px 0}.extraction-note{font-size:12px;background:var(--bg);padding:12px;border-radius:9px;margin-top:16px}.extraction-note button{margin-top:5px;display:block}.interview-row,.attachment-row,.reminder-row,.contact-row{padding:12px 0;border-bottom:1px solid var(--line);display:flex;gap:12px;align-items:start}.interview-row>div,.reminder-row>div,.contact-row>div{flex:1;min-width:0;overflow-wrap:anywhere}.interview-row small,.contact-row small{display:block;margin-top:3px}.attachment-row{align-items:center;font-size:13px}.attachment-row a{overflow-wrap:anywhere}.attachment-row small{margin-left:auto;white-space:nowrap}.timeline{list-style:none;padding:0;margin:0}.timeline li{position:relative;padding:0 0 24px 22px;border-left:1px solid var(--line);margin-left:4px;font-size:13px}.timeline li:before{content:'';position:absolute;left:-4px;top:6px;width:7px;height:7px;border-radius:50%;background:var(--muted)}.timeline li:last-child{border-color:transparent;padding-bottom:0}.timeline p{margin:6px 0;white-space:pre-wrap}.timeline small{display:block;font-size:11px}.utility-dialog{width:min(620px,calc(100vw - 32px))}.utility-dialog form{display:grid;gap:16px;margin-top:20px}.utility-dialog .form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}.sort-row{display:flex;gap:8px;align-items:center;margin-bottom:10px}.sort-row select:first-child{flex:1;min-width:0}.sort-row select:nth-child(2){width:120px}.sort-row .icon-button{width:28px}.sort-description{font-size:13px;color:var(--muted);margin:16px 0}.settings-page{max-width:900px;padding-bottom:32px}.settings-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:28px}.settings-tabs button{padding:9px 14px;border-radius:8px;color:var(--muted)}.settings-tabs button.active{background:var(--surface);color:var(--ink)}.settings-section{margin-bottom:36px}.settings-section>h2{margin-bottom:8px}.settings-section>p{color:var(--muted);font-size:13px;margin-bottom:22px}.config-row{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}.config-row .config-name{flex:1}.config-row small{display:block;margin-top:3px}.config-row .soft{min-height:36px;font-size:12px}.token-value{display:block;overflow-wrap:anywhere;white-space:pre-wrap;padding:16px;border-radius:9px;background:var(--bg);font-size:13px;user-select:all}.instructions{padding-left:22px;line-height:1.8;font-size:13px}.instructions li{margin-bottom:10px}.instructions code{overflow-wrap:anywhere;font-size:12px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:var(--ink);color:var(--surface);padding:12px 20px;border-radius:10px;z-index:100;max-width:90vw;font-size:13px;box-shadow:0 6px 24px #0002;display:none}#toast.visible{display:block}.login-page{display:grid;place-items:center;min-height:100dvh;padding:24px}.login-box{max-width:380px;width:100%}.login-box .brand-mark{width:44px;height:44px;margin-bottom:32px}.login-box h1{font-size:30px;margin-bottom:16px}.login-box>p{color:var(--muted);margin-bottom:32px}.login-box form{display:grid;gap:18px}.login-box label{display:grid;gap:7px;font-size:13px}.login-box button{margin-top:8px}.login-box>small{display:block;text-align:center;margin-top:32px}.login-box input{font-size:16px}@media(hover:hover){button:hover{filter:brightness(.97)}.nav-item:hover,.icon-button:hover{background:var(--surface-2)}.job-card:hover{border-color:#aab8cb}.column-add:hover{color:var(--accent)}.primary:hover{filter:brightness(.94)}}@keyframes slide{from{transform:translateX(30px);opacity:.7}to{transform:translateX(0);opacity:1}}@keyframes appear{from{transform:translateY(8px);opacity:.7}to{transform:translateY(0);opacity:1}}@media(min-width:1600px){.kanban{gap:24px}.job-card{padding:20px}}@media(max-width:1150px){.sidebar{width:192px;padding-inline:12px}.brand{font-size:16px}main#main{margin-left:192px;width:calc(100% - 192px);padding:32px 24px 16px}.page-header{align-items:flex-start}.page-header .primary{font-size:12px}.kanban{grid-auto-columns:255px}.page-header p{max-width:340px}}@media(max-width:760px){.sidebar{position:relative;width:100%;border:0;border-bottom:1px solid var(--line);padding:14px 18px 0;gap:12px}.brand{font-size:16px;padding:0}.brand-mark{width:28px;height:28px}.workspace-label,.sidebar-bottom,.nav-count{display:none}.sidebar nav{display:flex;overflow-x:auto;gap:6px;scrollbar-width:none}.nav-item{width:auto;flex:1;min-height:44px;justify-content:center;padding:10px 8px;font-size:12px;gap:6px;margin:0 0 8px}.nav-item svg{width:16px;height:16px}.app-shell{display:block}.sidebar nav:after{content:none}main#main{margin:0;width:100%;padding:24px 18px 100px;min-height:calc(100dvh - 115px)}.page-header{margin-bottom:24px;gap:8px}.date-label{font-size:11px;margin-bottom:8px}h1{font-size:28px}.page-header p{font-size:13px;max-width:290px}.page-header>.primary{display:none}.toolbar{gap:8px;align-items:stretch}.search{min-width:0}.search input{font-size:16px;padding:10px 0}.search kbd{display:none}.toolbar-actions{gap:4px}.toolbar-actions .soft{font-size:0;padding:8px 10px;min-height:44px}.toolbar-actions svg{width:18px;height:18px}.toolbar-actions #refresh{display:none}.board-meta{padding:16px 0;font-size:11px}.board-meta #sort-label{max-width:160px;text-align:right;display:block}.status-tabs{display:flex;gap:4px;overflow-x:auto;margin:0 -18px 20px;padding:0 18px 2px;scrollbar-width:none}.status-tabs button{display:flex;align-items:center;gap:7px;padding:9px 12px;white-space:nowrap;min-height:44px;border-radius:8px;font-size:12px;color:var(--muted)}.status-tabs button.active{background:var(--surface);color:var(--ink);font-weight:600}.kanban{display:block;overflow:visible;min-height:200px}.column{display:none}.column.mobile-active{display:block}.column-heading{display:none}.column-list{min-height:100px;gap:12px;padding:0}.job-card{padding:18px}.card-top{margin-bottom:10px}.card-title{font-size:16px}.card-bottom{font-size:12px}.card-location{margin-bottom:8px}.card-tags{margin:10px 0}.column-empty{min-height:220px}.mobile-add{display:grid;place-items:center;position:fixed;right:22px;bottom:calc(22px + env(safe-area-inset-bottom));width:56px;height:56px;border-radius:18px;background:var(--accent);color:white;box-shadow:0 6px 22px #1b4e9730;z-index:5}.mobile-add svg{width:26px;height:26px}.page-footer{margin-top:20px}.page-footer>span:last-child{display:none}.detail-dialog{width:100vw;height:100dvh;max-width:100vw}.detail-header{padding:10px 16px}#detail-content{padding:22px 20px 48px}.detail-title{font-size:24px}label.field input,label.field select,label.field textarea{font-size:16px}.icon-button{min-width:40px;min-height:44px}.job-card .card-favorite,.job-card .card-more{min-width:36px;min-height:36px}.form-grid{gap:14px}.detail-actions{gap:6px}.detail-actions select{max-width:180px}.capture-dialog,.utility-dialog{padding:22px;max-height:90dvh;border-radius:16px}.dialog-heading h2{font-size:19px}.dialog-footer>span{display:none}.dialog-footer{justify-content:flex-end}.drop-zone small{font-size:11px}.sort-row{gap:4px;flex-wrap:wrap}.sort-row select{font-size:16px}.sort-row select:first-child{width:calc(100% - 140px)}.sort-row select:nth-child(2){width:112px}.filter-row{gap:10px}.filter-row select{width:155px;font-size:16px}.list-view{grid-template-columns:1fr}.settings-tabs{gap:4px}.settings-tabs button{padding:9px;font-size:12px;min-height:44px}.config-row{flex-wrap:wrap}.config-row .config-name{min-width:130px}.config-row .soft{min-height:44px}.agenda-row{gap:12px}.agenda-date{font-size:22px}.agenda-info h3{font-size:14px}#toast{bottom:100px}.settings-mobile{display:flex!important}}.settings-mobile{display:none}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Accessible file picker and touch targets. */
.drop-zone{position:relative}.drop-zone input{display:block;position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.drop-zone:focus-within{outline:3px solid var(--accent);outline-offset:3px}@media(max-width:760px){.job-card .card-favorite,.job-card .card-more{min-width:44px;min-height:44px}}
#archive-drop-targets{position:fixed;top:18px;left:260px;right:36px;z-index:40;display:flex;gap:12px;padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:0 6px 24px #0002}
#archive-drop-targets [data-archive-drop]{flex:1;min-height:64px;padding:12px;border:2px dashed var(--muted);border-radius:8px;font-weight:600;background:var(--surface-2)}
#archive-drop-targets [data-archive-drop=rejected]{color:var(--danger);border-color:var(--danger)}
#archive-drop-targets .drag-over{background:var(--accent-soft);border-style:solid;outline:3px solid var(--accent);outline-offset:2px}
.job-card.selected-card{border-color:var(--accent)}
@media(max-width:760px){#archive-drop-targets{left:12px;right:12px;top:12px;gap:8px;padding:8px}#archive-drop-targets [data-archive-drop]{min-height:60px;padding:8px}#cancel-selection{font-size:12px}}
