@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap";:root{color-scheme:dark;--bg: #0a0b0f;--bg-bar: rgba(13, 15, 20, .85);--surface: #111319;--surface-raised: #161920;--surface-hover: #1a1e26;--surface-sunken: #0c0e12;--border: #20242e;--border-strong: #2c313d;--text: #e8eaef;--text-muted: #979eaf;--text-subtle: #7c8496;--accent: #4361e8;--accent-hover: #5470f0;--accent-text: #7d97ff;--accent-soft: rgba(67, 97, 232, .14);--accent-border: rgba(93, 124, 245, .4);--danger: #f0616d;--danger-soft: rgba(240, 97, 109, .12);--warning: #e8a33e;--warning-soft: rgba(232, 163, 62, .12);--success: #3fca8e;--success-soft: rgba(63, 202, 142, .12);--radius-sm: 6px;--radius: 8px;--radius-lg: 10px;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);--shadow: 0 8px 24px -8px rgba(0, 0, 0, .7);--bar-height: 56px;--page-max: 1240px}*,*:before,*:after{margin:0;padding:0;box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{background:var(--bg);color:var(--text);min-height:100vh;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;font-size:14px;line-height:1.5;font-feature-settings:"cv05" 1;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-y:scroll}:focus-visible{outline:2px solid var(--accent-text);outline-offset:2px;border-radius:var(--radius-sm)}::selection{background:var(--accent-soft)}.icon{flex:0 0 auto;vertical-align:-.125em}@keyframes spin{to{transform:rotate(360deg)}}.spinner{animation:spin .7s linear infinite}@keyframes fadeIn{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}.animate-fade-in{animation:fadeIn .18s ease-out}.app{min-height:100vh}.app-bar{position:sticky;top:0;z-index:20;background:var(--bg-bar);backdrop-filter:saturate(160%) blur(12px);-webkit-backdrop-filter:saturate(160%) blur(12px);border-bottom:1px solid var(--border)}.app-bar-inner{max-width:var(--page-max);margin:0 auto;min-height:var(--bar-height);padding:0 1.5rem;display:flex;align-items:center;gap:1.5rem}.brand{display:flex;align-items:center;gap:.55rem;flex:0 0 auto}.brand-mark{width:26px;height:26px;border-radius:var(--radius-sm);background:var(--accent);color:#fff;display:grid;place-items:center}.brand-name{font-weight:600;font-size:.9375rem;letter-spacing:-.01em;white-space:nowrap}.app-nav{display:flex;align-items:center;gap:.125rem;flex:1;min-width:0;overflow-x:auto;scrollbar-width:none}.app-nav::-webkit-scrollbar{display:none}.nav-item{background:none;border:none;color:var(--text-muted);font:inherit;font-weight:500;padding:.4rem .7rem;border-radius:var(--radius-sm);cursor:pointer;white-space:nowrap;display:inline-flex;align-items:center;gap:.4rem;transition:color .12s ease,background .12s ease}.nav-item:hover{color:var(--text);background:var(--surface-raised)}.nav-item.is-active{color:var(--text);background:var(--surface-hover)}.nav-count{background:var(--surface-sunken);border:1px solid var(--border);color:var(--text-muted);border-radius:999px;padding:0 .35rem;font-size:.6875rem;font-weight:600;font-variant-numeric:tabular-nums}.nav-item.is-active .nav-count{color:var(--text);border-color:var(--border-strong)}.page,.container{max-width:var(--page-max);margin:0 auto;padding:1.75rem 1.5rem 4rem}.stack{display:flex;flex-direction:column;gap:1.25rem}.panel,.glass-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg)}.button,.glass-button{--button-bg: var(--surface-raised);--button-border: var(--border-strong);--button-fg: var(--text);background:var(--button-bg);border:1px solid var(--button-border);color:var(--button-fg);font:inherit;font-weight:500;padding:.5rem .85rem;border-radius:var(--radius);cursor:pointer;text-decoration:none;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:.4rem;transition:background .12s ease,border-color .12s ease,color .12s ease}.button:hover:not(:disabled),.glass-button:hover:not(:disabled){background:var(--surface-hover);border-color:#3a4050}.button:disabled,.glass-button:disabled{opacity:.45;cursor:not-allowed}.button-primary,.glass-button.primary{--button-bg: var(--accent);--button-border: var(--accent);--button-fg: #fff}.button-primary:hover:not(:disabled),.glass-button.primary:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}.button-ghost{--button-bg: transparent;--button-border: transparent;--button-fg: var(--text-muted)}.button-ghost:hover:not(:disabled){background:var(--surface-raised);border-color:var(--border);color:var(--text)}.button-danger,.glass-button.danger{--button-bg: transparent;--button-border: rgba(240, 97, 109, .35);--button-fg: var(--danger)}.button-danger:hover:not(:disabled),.glass-button.danger:hover:not(:disabled){background:var(--danger-soft);border-color:#f0616d8c}.button-icon,.glass-button.icon-only{padding:.5rem;aspect-ratio:1}.button-sm{padding:.35rem .6rem;font-size:.8125rem}.link-button{background:none;border:none;padding:0;color:var(--accent-text);font:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:2px}.field{display:flex;flex-direction:column;gap:.375rem;flex:2;min-width:0}.field-narrow{flex:1}.field-label{font-size:.6875rem;font-weight:600;color:var(--text-subtle);text-transform:uppercase;letter-spacing:.06em;white-space:nowrap}.input,.search-input,.refine-input,.sort-select{width:100%;background:var(--surface-sunken);border:1px solid var(--border-strong);border-radius:var(--radius);padding:.5rem .7rem;color:var(--text);font:inherit;outline:none;transition:border-color .12s ease,box-shadow .12s ease}.input::placeholder,.search-input::placeholder,.refine-input::placeholder{color:var(--text-subtle)}.input:focus,.search-input:focus,.refine-input:focus,.sort-select:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.input[type=search]::-webkit-search-cancel-button{filter:invert(.6)}select.input,select.search-input,.select,.sort-select{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--text-muted) 50%),linear-gradient(135deg,var(--text-muted) 50%,transparent 50%);background-position:calc(100% - 15px) center,calc(100% - 10px) center;background-size:5px 5px,5px 5px;background-repeat:no-repeat;padding-right:2rem}.select,.sort-select{width:auto;min-width:170px}select option{background:var(--surface-raised);color:var(--text)}.toggle{display:inline-flex;align-items:center;gap:.45rem;font-size:.8125rem;color:var(--text-muted);cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap}.toggle input,.company-row-main input{accent-color:var(--accent);cursor:pointer;width:15px;height:15px;flex-shrink:0}.hint,.routine-card-hint,.routine-field-hint{font-size:.8125rem;color:var(--text-subtle);line-height:1.55}.chip-row,.filter-chips{display:flex;gap:.375rem;flex-wrap:wrap;align-items:center}.chip{background:var(--surface-raised);border:1px solid var(--border);color:var(--text-muted);border-radius:999px;padding:.3rem .7rem;font:inherit;font-size:.8125rem;font-weight:500;cursor:pointer;transition:background .12s ease,color .12s ease,border-color .12s ease;display:inline-flex;align-items:center;gap:.35rem;white-space:nowrap}.chip:hover:not(:disabled){background:var(--surface-hover);color:var(--text);border-color:var(--border-strong)}.chip:disabled{opacity:.45;cursor:not-allowed}.chip.is-active,.chip.active{background:var(--accent-soft);border-color:var(--accent-border);color:var(--text)}.chip-count{background:#00000059;border-radius:999px;padding:0 .35rem;font-size:.6875rem;font-weight:600;font-variant-numeric:tabular-nums}.search-panel{padding:1.125rem 1.25rem;display:flex;flex-direction:column;gap:.875rem}.search-form{display:flex;gap:.75rem;align-items:flex-end}.search-submit{padding:.5rem 1.1rem;height:34px}.search-presets{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;padding-top:.875rem;border-top:1px solid var(--border)}.scope{display:flex;flex-direction:column;gap:.625rem}.scope-bar{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.scope-sync{margin-left:auto;display:flex;align-items:center;gap:.625rem}.scope-freshness{font-size:.75rem;color:var(--text-subtle);font-variant-numeric:tabular-nums;white-space:nowrap}.scope-hint{font-size:.8125rem;color:var(--text-subtle);line-height:1.55;max-width:78ch}.source-status{list-style:none;display:flex;flex-wrap:wrap;gap:.375rem}.source-pill{display:inline-flex;align-items:center;gap:.4rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);padding:.2rem .5rem;font-size:.75rem;color:var(--text-muted)}.source-dot{width:6px;height:6px;border-radius:50%;background:var(--success);flex:0 0 auto}.source-pill.is-stale .source-dot{background:var(--warning)}.source-pill.is-down{border-color:#f0616d4d;color:var(--danger)}.source-pill.is-down .source-dot{background:var(--danger)}.source-pill-count{color:var(--text);font-weight:600;font-variant-numeric:tabular-nums}.notice,.alert{display:flex;align-items:flex-start;gap:.5rem;border-radius:var(--radius);padding:.625rem .8rem;font-size:.8125rem;line-height:1.55;border:1px solid var(--border);background:var(--surface);color:var(--text-muted)}.notice .icon{margin-top:.15em}.notice-warning,.alert-warning{background:var(--warning-soft);border-color:#e8a33e4d;color:#f0c88a}.alert-success{background:var(--success-soft);border-color:#3fca8e4d;color:#96e5c3}.notice-muted{background:var(--surface)}.toolbar{display:flex;gap:.625rem;align-items:center;flex-wrap:wrap}.toolbar-search{position:relative;flex:1;min-width:220px}.toolbar-search-icon{position:absolute;left:.6rem;top:50%;transform:translateY(-50%);color:var(--text-subtle);pointer-events:none}.toolbar-input{padding-left:2rem}.toolbar-count{margin-left:auto;font-size:.8125rem;color:var(--text-subtle);font-variant-numeric:tabular-nums;white-space:nowrap}.company-filter{display:flex;flex-direction:column;gap:.625rem}.company-filter-row{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.company-filter-toggle{margin-left:auto}.company-picker{display:flex;flex-direction:column;gap:.75rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1rem}.company-picker-header{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.company-picker-header .input{flex:1;min-width:200px;width:auto}.company-list{list-style:none;display:flex;flex-direction:column;max-height:320px;overflow-y:auto;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-sunken)}.company-row{display:flex;align-items:center;gap:.75rem;padding:.4rem .6rem;border-bottom:1px solid var(--border)}.company-row:last-child{border-bottom:none}.company-row:hover{background:var(--surface-raised)}.company-row-main{display:flex;align-items:center;gap:.55rem;flex:1;min-width:0;cursor:pointer;font-size:.8125rem}.company-row-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.company-row-count{font-size:.75rem;color:var(--text-subtle);white-space:nowrap;font-variant-numeric:tabular-nums}.star-button,.company-star{background:none;border:none;color:var(--text-subtle);padding:.2rem;cursor:pointer;border-radius:var(--radius-sm);display:inline-flex;transition:color .12s ease,background .12s ease}.star-button:hover,.company-star:hover{color:var(--text);background:var(--surface-hover)}.star-button.is-on,.company-star.on{color:var(--warning)}.jobs-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:.875rem}.job-card{padding:1.125rem;display:flex;flex-direction:column;gap:.625rem;transition:border-color .12s ease,background .12s ease}.job-card:hover{border-color:var(--border-strong);background:var(--surface-raised)}.job-card.is-closed{opacity:.6}.job-card.is-urgent{box-shadow:inset 2px 0 0 var(--danger)}.job-badges{display:flex;flex-wrap:wrap;gap:.3rem}.badge{display:inline-flex;align-items:center;gap:.25rem;font-size:.6875rem;font-weight:600;padding:.15rem .45rem;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface-raised);color:var(--text-muted);white-space:nowrap;letter-spacing:.01em}.badge-source{background:var(--accent-soft);border-color:var(--accent-border);color:var(--accent-text)}.badge-closed,.badge-urgent{background:var(--danger-soft);border-color:#f0616d52;color:#f9a4ab}.badge-saved{background:var(--success-soft);border-color:#3fca8e52;color:#86e0bb}.badge-soon{background:var(--warning-soft);border-color:#e8a33e52;color:#f0c88a}.badge-expired{text-decoration:line-through;color:var(--text-subtle)}.job-title{font-size:.9375rem;font-weight:600;line-height:1.4;letter-spacing:-.005em}.job-title-link{color:inherit;text-decoration:none}.job-title-link:hover{color:var(--accent-text)}.job-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .65rem;font-size:.8125rem}.job-company{color:var(--text-muted);font-weight:500}.job-location{color:var(--text-subtle);display:inline-flex;align-items:center;gap:.25rem}.job-note{font-size:.75rem;color:var(--text-subtle)}.job-tags{display:flex;flex-wrap:wrap;gap:.3rem}.tag{background:var(--surface-sunken);border:1px solid var(--border);padding:.1rem .45rem;border-radius:var(--radius-sm);font-size:.6875rem;color:var(--text-subtle)}.job-actions{display:flex;gap:.375rem;flex-wrap:wrap;margin-top:auto;padding-top:.875rem;border-top:1px solid var(--border)}.job-actions .button,.job-actions .glass-button{padding:.4rem .7rem;font-size:.8125rem}.job-actions .button-icon{padding:.4rem}.empty-state{grid-column:1 / -1;text-align:center;padding:3.5rem 1.5rem;color:var(--text-subtle);display:flex;flex-direction:column;align-items:center;gap:.5rem}.empty-state-icon{width:40px;height:40px;border-radius:var(--radius-lg);background:var(--surface);border:1px solid var(--border);color:var(--text-muted);display:grid;place-items:center;margin-bottom:.25rem;font-size:1.25rem}.empty-state-title{font-size:.9375rem;font-weight:600;color:var(--text)}.empty-state-hint{font-size:.8125rem;max-width:46ch;line-height:1.6}.empty-state-action{margin-top:.75rem}@keyframes shimmer{0%,to{opacity:.5}50%{opacity:.9}}.job-card.skeleton{gap:.75rem;pointer-events:none;min-height:150px}.skeleton-line{height:12px;border-radius:var(--radius-sm);background:var(--surface-hover);animation:shimmer 1.4s ease-in-out infinite}.skeleton-line.short{width:35%}.skeleton-line.long{width:85%;height:16px}.skeleton-line.medium{width:60%}.routine-panel{display:flex;flex-direction:column;gap:1rem}.routine-card{padding:1.25rem;display:flex;flex-direction:column;gap:1rem}.routine-card-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.routine-card-header h2{font-size:1rem;font-weight:600;letter-spacing:-.01em}.routine-card code{background:var(--surface-sunken);border:1px solid var(--border);border-radius:4px;padding:.05rem .3rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85em}.routine-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:.875rem}.routine-field{display:flex;flex-direction:column;gap:.375rem;min-width:0}.routine-field-label{font-size:.6875rem;font-weight:600;color:var(--text-subtle);text-transform:uppercase;letter-spacing:.06em}.routine-inline{display:flex;flex-direction:column;gap:.5rem}.routine-actions{display:flex;gap:.5rem;flex-wrap:wrap}.routine-preview{display:flex;flex-direction:column;gap:.6rem;background:var(--surface-sunken);border:1px solid var(--border);border-radius:var(--radius);padding:.875rem}.routine-preview-header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.routine-preview pre{white-space:pre-wrap;word-break:break-word;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8125rem;line-height:1.6;color:var(--text)}.routine-qr{display:flex;flex-direction:column;align-items:center;gap:.75rem;text-align:center}.routine-qr img{width:240px;max-width:100%;background:#fff;padding:12px;border-radius:var(--radius)}.routine-groups{display:flex;flex-direction:column;gap:.5rem}.routine-list{list-style:none;display:flex;flex-direction:column;gap:.5rem}.routine-list-item{width:100%;text-align:left;background:var(--surface-sunken);border:1px solid var(--border);border-radius:var(--radius);padding:.75rem .875rem;cursor:pointer;color:var(--text);font:inherit;display:flex;flex-direction:column;gap:.25rem;transition:background .12s ease,border-color .12s ease}.routine-list-item:hover{background:var(--surface-raised);border-color:var(--border-strong)}.routine-list-item.active{border-color:var(--accent-border);background:var(--accent-soft)}.routine-list-main{display:flex;align-items:center;gap:.5rem}.routine-list-name{font-weight:600}.routine-list-meta{font-size:.8125rem;color:var(--text-subtle)}.routine-dot{width:7px;height:7px;border-radius:50%;flex:0 0 auto}.routine-dot.on{background:var(--success)}.routine-dot.off{background:var(--text-subtle);opacity:.6}.routine-history{list-style:none;display:flex;flex-direction:column;gap:.625rem}.routine-history li{display:grid;grid-template-columns:minmax(140px,auto) 1fr auto;gap:.35rem 1rem;align-items:baseline;font-size:.8125rem;padding-bottom:.625rem;border-bottom:1px solid var(--border)}.routine-history li:last-child{border-bottom:none;padding-bottom:0}.routine-history li.is-error{color:#f9a4ab}.routine-history-time{color:var(--text-subtle);font-variant-numeric:tabular-nums}.source-field-row{display:grid;grid-template-columns:120px 1fr 190px;gap:.5rem;align-items:center;margin-bottom:.5rem}.source-field-name{text-align:right;font-size:.8125rem;color:var(--text-muted)}.login-container{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:1.5rem}.login-card{width:100%;max-width:360px;padding:1.75rem;display:flex;flex-direction:column;gap:1rem}.login-header{text-align:center}.login-header h1{font-size:1.25rem;font-weight:600;letter-spacing:-.02em;margin-bottom:.35rem}.login-header p{color:var(--text-subtle);font-size:.8125rem}.login-field{display:flex;flex-direction:column;gap:.375rem}.login-field span{color:var(--text-subtle);font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em}.login-submit{width:100%;padding:.55rem 1rem}.backend-gate{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:1.5rem}@media (max-width: 900px){.app-bar-inner{padding:0 1rem;gap:1rem}.brand-name{display:none}.page,.container{padding:1.25rem 1rem 3rem}.search-form{flex-direction:column;align-items:stretch}.search-submit{width:100%;height:auto;padding:.6rem 1rem}.jobs-grid{grid-template-columns:1fr}.scope-sync,.company-filter-toggle,.toolbar-count{margin-left:0}.select,.sort-select{flex:1}.routine-history li,.source-field-row{grid-template-columns:1fr}.source-field-name{text-align:left}.job-actions .button:not(.button-icon),.job-actions .glass-button:not(.icon-only){flex:1}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
