:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--bg:#fafaf9;--surface:#fff;--surface-muted:#f4f4f3;--border:#e7e5e4;--text:#1c1917;--text-muted:#78716c;--accent:#16a34a;--accent-soft:#dcfce7;--warning:#d97706;--warning-soft:#fef3c7;--danger:#dc2626;--danger-soft:#fee2e2;--radius-sm:8px;--radius:14px;--shadow:0 1px 2px #0000000a, 0 1px 1px #00000005;--font:"Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--sidebar-width:232px;--tabbar-height:64px}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#0c0c0b;--surface:#161615;--surface-muted:#1f1f1d;--border:#2a2a27;--text:#f5f5f4;--text-muted:#a8a29e;--accent:#22c55e;--accent-soft:#14532d55;--warning:#f59e0b;--warning-soft:#78350f55;--danger:#f87171;--danger-soft:#7f1d1d55;--shadow:none}}*,:before,:after{box-sizing:border-box}html,body{background:var(--bg);color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;margin:0;font-size:15px;line-height:1.5}h1,h2,h3{letter-spacing:-.015em;margin:0;font-weight:600;line-height:1.25}h1{font-size:1.6rem}p{margin:0}a{color:inherit;text-decoration:none}.muted{color:var(--text-muted)}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:1.25rem}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.btn{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);height:40px;color:var(--text);font:inherit;white-space:nowrap;cursor:pointer;justify-content:center;align-items:center;gap:.45rem;padding:0 1rem;font-size:.92rem;font-weight:500;transition:background .15s,border-color .15s,opacity .15s;display:inline-flex}.btn:hover{background:var(--surface-muted)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:var(--text);border-color:var(--text);color:var(--bg)}.btn-primary:hover{background:var(--text);opacity:.88}.btn-accent{background:var(--accent);border-color:var(--accent);color:#fff}.btn-accent:hover{background:var(--accent);opacity:.9}.btn-danger{color:var(--danger)}.btn-danger-solid{background:var(--danger);border-color:var(--danger);color:#fff}.btn-danger-solid:hover{background:var(--danger);opacity:.9}.btn-ghost{background:0 0;border-color:#0000}.btn-icon{width:40px;padding:0}.btn-sm{height:32px;padding:0 .7rem;font-size:.85rem}.btn-sm.btn-icon{width:32px;padding:0}.btn-block{width:100%}.field{gap:.35rem;display:grid}.field>span,.label{color:var(--text-muted);font-size:.82rem;font-weight:500}.hint{color:var(--text-muted);font-size:.78rem}.input,.select,.textarea{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);width:100%;height:42px;color:var(--text);font:inherit;padding:0 .8rem;font-size:16px;transition:border-color .15s,box-shadow .15s}.textarea{resize:vertical;height:auto;min-height:80px;padding:.6rem .8rem}.select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2378716c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right .6rem center;background-repeat:no-repeat;padding-right:2rem}.input:focus,.select:focus,.textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:none}.form{gap:1rem;display:grid}.row{grid-template-columns:1fr 1fr;gap:.75rem;display:grid}.row-3{grid-template-columns:repeat(3,1fr);gap:.75rem;display:grid}@media (width<=480px){.row-3{grid-template-columns:1fr}}.actions{justify-content:flex-end;gap:.5rem;margin-top:.5rem;display:flex}.error-text{color:var(--danger);font-size:.88rem}.list{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);display:grid;overflow:hidden}.list>*+*{border-top:1px solid var(--border)}.list-row{align-items:center;gap:.8rem;min-height:60px;padding:.7rem 1rem;display:flex}a.list-row:hover{background:var(--surface-muted)}.list-row .grow{flex:1;min-width:0}.title{text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.sub{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;overflow:hidden}.section-title{justify-content:space-between;align-items:center;margin:2rem 0 .75rem;font-size:.95rem;font-weight:600;display:flex}.chips{scrollbar-width:none;gap:.4rem;display:flex;overflow-x:auto}.chip{border:1px solid var(--border);background:var(--surface);height:32px;color:var(--text-muted);font:inherit;cursor:pointer;border-radius:999px;flex:none;padding:0 .8rem;font-size:.85rem}.chip.active{background:var(--text);border-color:var(--text);color:var(--bg)}.badge{background:var(--surface-muted);height:22px;color:var(--text-muted);white-space:nowrap;border-radius:6px;align-items:center;gap:.3rem;padding:0 .5rem;font-size:.75rem;font-weight:500;display:inline-flex}.badge.expired{background:var(--danger-soft);color:var(--danger)}.badge.expiring{background:var(--warning-soft);color:var(--warning)}.badge.ok{background:var(--accent-soft);color:var(--accent)}.badge.frozen{color:#2563eb;background:#dbeafe}@media (prefers-color-scheme:dark){.badge.frozen{color:#60a5fa;background:#1e3a8a55}}.page-header{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1.5rem;display:flex}.page-header>div{gap:.25rem;min-width:0;display:grid}.spinner{animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.back{color:var(--text-muted);align-items:center;gap:.35rem;margin-bottom:.75rem;font-size:.88rem;display:inline-flex}.back:hover{color:var(--text)}.toasts.svelte-r9p0hk{left:50%;bottom:calc(var(--tabbar-height) + 1rem + env(safe-area-inset-bottom));z-index:100;gap:.5rem;width:max-content;max-width:calc(100vw - 2rem);display:grid;position:fixed;transform:translate(-50%)}@media (width>=820px){.toasts.svelte-r9p0hk{bottom:1.5rem;left:calc(50% + var(--sidebar-width) / 2)}}.toast.svelte-r9p0hk{background:var(--text);color:var(--bg);border-radius:12px;align-items:center;gap:.75rem;padding:.55rem .6rem .55rem 1rem;font-size:.9rem;animation:.2s ease-out svelte-r9p0hk-up;display:flex;box-shadow:0 8px 24px #0003}.toast.error.svelte-r9p0hk{background:var(--danger);color:#fff}button.svelte-r9p0hk{color:inherit;font:inherit;cursor:pointer;background:0 0;border:none;flex:none}.action.svelte-r9p0hk{background:color-mix(in srgb, var(--bg) 18%, transparent);border-radius:8px;padding:.3rem .6rem;font-weight:600}.close.svelte-r9p0hk{opacity:.6;padding:0 .4rem;font-size:1.1rem}@keyframes svelte-r9p0hk-up{0%{opacity:0;transform:translateY(8px)}}.shell.svelte-12qhfyh{min-height:100dvh}main.svelte-12qhfyh{max-width:960px;padding:1.5rem 1rem calc(var(--tabbar-height) + 2rem + env(safe-area-inset-bottom));margin:0 auto}.sidebar.svelte-12qhfyh{z-index:10;padding-bottom:env(safe-area-inset-bottom);background:color-mix(in srgb, var(--surface) 85%, transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-top:1px solid var(--border);position:fixed;inset:auto 0 0}.brand.svelte-12qhfyh{display:none}ul.svelte-12qhfyh{height:var(--tabbar-height);grid-template-columns:repeat(5,1fr);margin:0;padding:0;list-style:none;display:grid}li.svelte-12qhfyh a:where(.svelte-12qhfyh){height:100%;color:var(--text-muted);flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:.7rem;transition:color .15s;display:flex}li.svelte-12qhfyh a.active:where(.svelte-12qhfyh){color:var(--accent)}.icon.svelte-12qhfyh{place-items:center;display:grid}li.svelte-12qhfyh a.primary:where(.svelte-12qhfyh) .icon:where(.svelte-12qhfyh){background:var(--text);width:46px;height:32px;color:var(--bg);border-radius:10px}li.svelte-12qhfyh a.primary.active:where(.svelte-12qhfyh) .icon:where(.svelte-12qhfyh){background:var(--accent);color:#fff}@media (width>=820px){.sidebar.svelte-12qhfyh{width:var(--sidebar-width);background:var(--bg);-webkit-backdrop-filter:none;backdrop-filter:none;border-top:none;border-right:1px solid var(--border);flex-direction:column;padding:1.25rem .75rem;display:flex;inset:0 auto 0 0}li.svelte-12qhfyh:last-child{margin-top:auto}.brand.svelte-12qhfyh{letter-spacing:-.01em;align-items:center;gap:.6rem;padding:.25rem .6rem 1.5rem;font-weight:600;display:flex}ul.svelte-12qhfyh{flex-direction:column;flex:1;gap:2px;height:auto;display:flex}li.svelte-12qhfyh a:where(.svelte-12qhfyh){border-radius:var(--radius-sm);height:auto;color:var(--text-muted);flex-direction:row;justify-content:flex-start;gap:.7rem;padding:.55rem .7rem;font-size:.92rem}li.svelte-12qhfyh a:where(.svelte-12qhfyh):hover{background:var(--surface-muted);color:var(--text)}li.svelte-12qhfyh a.active:where(.svelte-12qhfyh){background:var(--surface-muted);color:var(--text);font-weight:500}li.svelte-12qhfyh a.primary:where(.svelte-12qhfyh) .icon:where(.svelte-12qhfyh),li.svelte-12qhfyh a.primary.active:where(.svelte-12qhfyh) .icon:where(.svelte-12qhfyh){width:auto;height:auto;color:inherit;background:0 0}main.svelte-12qhfyh{margin-left:var(--sidebar-width);margin-right:auto;padding:2.5rem 2.5rem 3rem}}@media (width>=1400px){main.svelte-12qhfyh{margin-left:calc(var(--sidebar-width) + (100vw - var(--sidebar-width) - 960px) / 2)}}
