:root{--bg:#f3f5f8;--card:#fff;--text:#17202f;--muted:#687386;--border:#e1e6ee;--primary:#3157d5;--primary-dark:#213c98;--primary-soft:#edf2ff;--green:#087443;--green-soft:#e8f8ef;--red:#b42318;--red-soft:#fff0ee;--amber:#a85b00;--amber-soft:#fff5df;--shadow:0 14px 35px #1f2b4214}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select,textarea{font:inherit}button,select{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline-offset:2px;outline:3px solid #3157d559}h1,h2,h3,p{margin:0}.dashboard{min-height:100vh}.brand-mark{color:#fff;background:linear-gradient(135deg,#6885ff,#8a5cf5);border-radius:12px;place-items:center;width:38px;height:38px;font-weight:900;display:grid}.app-shell{max-width:1500px;margin:0 auto;padding:34px}.page-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px;display:flex}.page-header h1{letter-spacing:-.045em;margin-top:4px;font-size:clamp(30px,4vw,46px)}.page-header p:not(.eyebrow){color:var(--muted);margin-top:8px}.eyebrow{color:var(--primary);letter-spacing:.12em;text-transform:uppercase;font-size:12px;font-weight:900}.header-actions{align-items:center;gap:8px;display:flex}.header-actions small{max-width:220px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.header-icon-button,.logout-button{border:0;border-radius:10px;flex:0 0 38px;place-items:center;width:38px;height:38px;display:grid}.header-icon-button{background:var(--primary-soft);color:var(--primary-dark)}.header-icon-button:hover{background:var(--primary);color:#fff}.header-icon-button svg,.logout-button svg,.job-icon-button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.logout-button{background:var(--red-soft);width:38px;height:38px;color:var(--red);border:0;border-radius:10px;flex:0 0 38px;place-items:center;display:grid}.logout-button:hover{background:var(--red);color:#fff}.metrics-section,.applications-section{border:1px solid var(--border);background:#ffffff7a;border-radius:24px;padding:20px}.applications-section{background:#f5f7facc;margin-top:28px}.section-heading{justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px;display:flex}.section-heading h2{margin-top:3px;font-size:22px}.section-heading>span{color:var(--muted);font-size:12px;font-weight:800}.category-filter{border:1px solid var(--border);background:#fff;border-radius:12px;gap:5px;padding:4px;display:flex}.category-filter button{color:var(--muted);background:0 0;border:0;border-radius:8px;padding:7px 11px;font-size:12px;font-weight:850}.category-filter .active{color:#fff;background:#17202f}.category-filter .active.category-career,.category-control .active.category-career{color:#fff;background:#3266d5}.category-filter .active.category-casual,.category-control .active.category-casual{color:#fff;background:#8a48b8}.universal-filter{background:linear-gradient(90deg,#f8faff,#fff);border:1px solid #cfd8e8;border-radius:16px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;padding:12px 14px;display:flex;box-shadow:0 8px 20px #1f2b420d}.universal-filter>div:first-child{gap:2px;display:grid}.universal-filter span{text-transform:uppercase;letter-spacing:.07em;font-size:12px;font-weight:900}.universal-filter small{color:var(--muted);font-size:11px}.workspace-actions{align-items:center;gap:10px;display:flex}.workspace-actions span{color:var(--muted);font-size:12px;font-weight:800}.compact-action{white-space:nowrap;border-radius:9px;min-height:34px;padding:7px 11px;font-size:12px}.primary-button,.secondary-button,.danger-button,.drawer-actions a{border:0;border-radius:11px;padding:10px 14px;font-weight:800;text-decoration:none}.primary-button{background:var(--primary);color:#fff}.secondary-button{background:var(--primary-soft);color:var(--primary-dark)}.danger-button{background:var(--red-soft);color:var(--red)}.small-button{padding:7px 10px;font-size:12px}.funnel{grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:12px;display:grid}.funnel article{border:1px solid var(--border);background:var(--card);box-shadow:var(--shadow);border-radius:18px;padding:18px;position:relative;overflow:hidden}.funnel article:after{content:"";background:linear-gradient(90deg, var(--primary), #8b5cf6);height:4px;position:absolute;inset:auto 0 0}.funnel .metric-offers:after{background:var(--green)}.funnel .metric-rejections:after{background:var(--red)}.funnel span,.funnel small{color:var(--muted);font-size:12px;font-weight:750}.funnel strong{margin:6px 0 3px;font-size:28px;display:block}.insights{grid-template-columns:1fr;gap:12px;display:grid}.insights article{border:1px solid var(--border);background:#fff;border-radius:16px;gap:7px;padding:11px 13px;display:grid}.insights span{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;font-size:11px;font-weight:850}.insights strong{font-size:20px}.insights small{color:var(--muted);font-size:11px}.source-chart-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.source-chart-header>div:first-child{gap:3px;display:grid}.source-chart-header>div:first-child span{font-size:12px}.source-chart-header>div:first-child small{display:none}.chart-legend{color:var(--muted);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px 9px;font-size:11px;font-weight:800;display:flex}.chart-legend i{border-radius:3px;width:9px;height:9px}.legend-saved,.bar-saved{background:#8090a8}.legend-applied,.bar-applied{background:var(--primary)}.legend-interviews,.bar-interviews{background:#e19a27}.legend-offers,.bar-offers{background:var(--green)}.source-performance{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.source-performance>section{background:#f6f8fb;border-radius:10px;min-width:0;padding:8px 9px}.source-label{align-items:center;gap:6px;margin-bottom:6px;display:flex}.source-label .source-logo{border-radius:7px;width:24px;height:24px}.source-label .source-logo img{width:15px;height:15px}.source-label strong{font-size:12px}.source-label small{margin-left:auto;font-size:12px}.source-stack{background:#e7ebf1;border-radius:6px;width:100%;height:20px;display:flex;overflow:hidden}.source-stack span{color:#fff;place-items:center;min-width:0;height:100%;display:grid}.source-stack b{text-shadow:0 1px 2px #00000040;font-size:10px;overflow:hidden}.toolbar{grid-template-columns:minmax(230px,1fr) 145px 165px auto auto;gap:10px;margin-bottom:18px;display:grid}input,select,textarea{border:1px solid var(--border);width:100%;color:var(--text);background:#fff;border-radius:11px;padding:10px 12px}textarea{resize:vertical;line-height:1.55}.segmented{border:1px solid var(--border);background:#fff;border-radius:11px;padding:3px;display:flex}.segmented button{color:var(--muted);background:0 0;border:0;border-radius:8px;padding:6px 11px}.segmented .active{background:var(--primary-soft);color:var(--primary-dark);font-weight:800}.archive-toggle{border:1px solid var(--border);min-height:40px;color:var(--muted);white-space:nowrap;background:#fff;border-radius:11px;justify-content:center;align-items:center;gap:7px;padding:6px 10px;font-size:11px;font-weight:850;display:flex}.archive-toggle input{width:15px;height:15px;accent-color:var(--primary);margin:0}.job-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px;display:grid}.job-card{border:1px solid var(--border);background:var(--card);min-height:245px;box-shadow:var(--shadow);border-radius:18px;flex-direction:column;padding:18px;transition:transform .15s,box-shadow .15s;display:flex}.job-card:hover{transform:translateY(-2px);box-shadow:0 18px 42px #1f2b4221}.job-card-header,.drawer-top,.card-footer,.drawer-actions,.form-actions,.modal-header{justify-content:space-between;align-items:center;gap:10px;display:flex}.source-logo{border:1px solid var(--border);background:#fff;border-radius:9px;place-items:center;width:30px;height:30px;display:inline-grid}.source-logo img{width:19px;height:19px}.source-prominent{border-radius:13px;width:46px;height:46px;box-shadow:0 7px 18px #1f2b421c}.source-prominent img{width:28px;height:28px}.source-logo-fallback{color:var(--muted);font-weight:900}.status-pill{background:var(--primary-soft);color:var(--primary-dark);border-radius:999px;padding:6px 9px;font-size:11px;font-weight:900}.category-career{color:#2050b0;background:#e8f0ff}.category-casual{color:#7b36a8;background:#f5eaff}.card-tags{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.status-applied,.status-interviewing{background:var(--amber-soft);color:var(--amber)}.status-offer{background:var(--green-soft);color:var(--green)}.status-rejected{background:var(--red-soft);color:var(--red)}.status-archived{color:#536074;background:#edf0f4}.card-title,.link-button{color:var(--text);text-align:left;background:0 0;border:0;padding:0;font-weight:850}.card-title{margin-top:18px;font-size:20px;line-height:1.25}.link-button{color:var(--primary-dark)}.company{color:var(--muted);margin-top:7px;font-weight:700}.meta,.drawer-meta{flex-wrap:wrap;gap:7px;margin-top:14px;display:flex}.meta span,.drawer-meta span{color:#526076;background:#f2f5f9;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:800}.card-footer small{max-width:130px;color:var(--muted);font-size:10px;line-height:1.3}.card-controls{gap:7px;margin-top:auto;padding-top:16px;display:grid}.card-footer{margin-top:0;padding-top:8px}.category-control{border:1px solid var(--border);background:#f4f6f9;border-radius:10px;width:fit-content;padding:3px;display:inline-flex}.category-control button{color:var(--muted);background:0 0;border:0;border-radius:7px;padding:5px 8px;font-size:10px;font-weight:850}.category-control .active{box-shadow:0 2px 5px #1f2b421a}.status-control{background:var(--primary-soft);width:auto;color:var(--primary-dark);letter-spacing:.06em;text-transform:uppercase;border:1px solid;border-radius:10px;align-items:center;gap:5px;padding-left:8px;font-size:9px;font-weight:900;display:inline-flex;position:relative}.status-control span{opacity:.7}.status-control .quick-status{width:auto;min-width:108px;color:inherit;text-transform:none;background:#ffffff80;border:0;border-left:1px solid;border-radius:0 9px 9px 0;padding:7px 8px;font-size:11px;font-weight:850}.status-control.status-applied,.status-control.status-interviewing{background:var(--amber-soft);color:var(--amber)}.status-control.status-offer{background:var(--green-soft);color:var(--green)}.status-control.status-rejected{background:var(--red-soft);color:var(--red)}.status-control.status-archived{color:#536074;background:#edf0f4}.density-compact .job-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:9px}.density-compact .job-card{min-height:195px;padding:13px}.density-compact .card-title{margin-top:12px;font-size:17px}.density-compact .source-prominent{width:38px;height:38px}.table-wrap{border:1px solid var(--border);box-shadow:var(--shadow);background:#fff;border-radius:16px;overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:980px}th,td{border-bottom:1px solid var(--border);text-align:left;padding:13px 14px;font-size:13px}th{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;background:#f8f9fb;font-size:11px}tbody tr:hover{background:#fafbff}.table-open-link{background:var(--primary-soft);width:30px;height:30px;color:var(--primary-dark);border-radius:8px;place-items:center;display:grid}.table-open-link:hover{background:var(--primary);color:#fff}.table-open-link svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:15px;height:15px}.sort-header{width:100%;color:inherit;font:inherit;letter-spacing:inherit;text-align:left;text-transform:inherit;white-space:nowrap;background:0 0;border:0;justify-content:space-between;align-items:center;gap:7px;padding:0;font-weight:850;display:flex}.sort-header span{color:var(--primary);font-size:12px}.sort-header:hover{color:var(--primary-dark)}.drawer-backdrop,.modal-backdrop{z-index:50;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0c142385;justify-content:flex-end;display:flex;position:fixed;inset:0}.drawer{background:#fff;width:min(800px,100%);height:100%;padding:26px;overflow-y:auto;box-shadow:-20px 0 50px #0c14233d}.close-button{width:38px;height:38px;color:var(--text);background:#eef1f5;border:0;border-radius:50%;place-items:center;font-size:24px;display:grid}.drawer-header{margin-top:22px}.drawer-header h2{letter-spacing:-.035em;margin-top:12px;font-size:32px}.drawer-header p{color:var(--muted);margin-top:6px;font-size:17px;font-weight:750}.drawer-actions{flex-wrap:wrap;justify-content:flex-start;margin-top:18px}.drawer-actions a{color:#fff;background:#17202f}.drawer-actions .primary-button,.drawer-actions .danger-button,.drawer-actions a{border-radius:9px;padding:7px 10px;font-size:12px}.drawer-actions .status-control,.drawer-actions .category-control{min-height:31px}.drawer-actions .job-icon-button{border:0;border-radius:9px;place-items:center;width:32px;height:32px;padding:0;text-decoration:none;display:grid}.edit-icon{background:var(--primary-soft);color:var(--primary-dark)}.open-icon{color:#334155!important;background:#edf0f4!important}.delete-icon{background:var(--red-soft);color:var(--red)}.job-icon-button:hover{filter:brightness(.95)}.description,.notes,.timeline{border:1px solid var(--border);background:#fff;border-radius:16px;margin-top:22px;padding:20px;line-height:1.65}.description p{margin-bottom:13px}.description pre{white-space:pre-wrap;font:inherit}.notes{background:#fffbea}.notes p{white-space:pre-wrap;margin-top:8px}.timeline h3,.notes h3{margin-bottom:12px}.timeline-event{gap:11px;padding:9px 0;display:flex}.timeline-event>span{background:var(--primary);width:10px;height:10px;box-shadow:0 0 0 4px var(--primary-soft);border-radius:50%;margin-top:5px}.timeline-event div{gap:2px;display:grid}.timeline-event small,.timeline>p{color:var(--muted)}.activity-list{gap:7px;display:grid}.activity-list button{border:1px solid var(--border);width:100%;color:var(--text);text-align:left;background:#fff;border-radius:12px;align-items:flex-start;gap:11px;padding:11px 12px;display:flex}.activity-list button:hover{background:#f8faff;border-color:#b9c7df}.activity-list button div{gap:3px;display:grid}.activity-list button strong{font-size:13px}.activity-list button small{color:var(--muted);font-size:11px}.activity-dot{background:var(--primary);width:9px;height:9px;box-shadow:0 0 0 4px var(--primary-soft);border-radius:50%;flex:none;margin-top:4px}.activity-status{background:var(--amber);box-shadow:0 0 0 4px var(--amber-soft)}.activity-category{background:#8a48b8;box-shadow:0 0 0 4px #f5eaff}.activity-notes-updated,.activity-description-updated,.activity-details-updated{background:var(--green);box-shadow:0 0 0 4px var(--green-soft)}.activity-archived{background:#667085;box-shadow:0 0 0 4px #edf0f4}.compact-empty{padding:28px}.modal-backdrop{justify-content:center;align-items:center;padding:20px}.modal{background:#fff;border-radius:20px;width:min(780px,100%);max-height:92vh;padding:24px;overflow-y:auto}.modal-header{margin-bottom:20px}.job-form{gap:16px;display:grid}.form-grid{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.job-form label{color:#445168;gap:6px;font-size:12px;font-weight:850;display:grid}.form-actions{justify-content:flex-start}.empty-state{text-align:center;background:#fff;border:1px dashed #cbd3df;border-radius:18px;padding:48px}.empty-state p{color:var(--muted);margin:8px 0 18px}.skeleton{background:linear-gradient(90deg,#e8ebf0 25%,#f6f7f9 50%,#e8ebf0 75%) 0 0/200% 100%;border-radius:18px;height:245px;animation:1.3s infinite shimmer}.center-page,.login-page{place-items:center;min-height:100vh;padding:20px;display:grid}.loader{border:4px solid #dfe5ef;border-top-color:var(--primary);border-radius:50%;width:38px;height:38px;animation:.8s linear infinite spin}.login-card{width:min(410px,100%);box-shadow:var(--shadow);background:#fff;border-radius:22px;padding:28px}.login-card h1{margin-top:18px;font-size:34px}.login-card>p{color:var(--muted);margin-top:7px}.login-card form{gap:9px;margin-top:22px;display:grid}.login-card label{font-size:12px;font-weight:850}.message{color:var(--red)!important}.toast{z-index:100;color:#fff;background:#173c2d;border-radius:13px;align-items:center;gap:14px;max-width:430px;padding:13px 15px;display:flex;position:fixed;bottom:22px;right:22px;box-shadow:0 18px 45px #00000038}.toast-error{background:#7e241c}.toast button{color:#fff;background:0 0;border:0;font-size:20px}@keyframes shimmer{to{background-position:-200% 0}}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=1100px){.toolbar{grid-template-columns:1fr 1fr 1fr}.funnel{grid-template-columns:repeat(3,1fr)}.insights{grid-template-columns:1fr}}@media (width<=760px){.app-shell{padding:18px}.page-header{flex-direction:column;align-items:stretch}.header-actions{flex-wrap:wrap}.universal-filter,.section-heading{flex-direction:column;align-items:flex-start}.toolbar,.form-grid{grid-template-columns:1fr}.funnel{grid-template-columns:1fr 1fr}.metrics-section,.applications-section{border-radius:18px;padding:14px}.insights,.insights article{min-width:0}.source-performance{grid-template-columns:1fr;min-width:0}.source-chart-header{flex-direction:column;align-items:flex-start}.chart-legend{justify-content:flex-start}.drawer{padding:18px}}@media (width<=420px){.app-shell{padding:12px}.funnel{grid-template-columns:1fr}.category-filter{width:100%}.category-filter button{flex:1}}
