:root{--sc-accent: #c4df28;--sc-accent-hover: #b4ce1c;--sc-accent-press: #a3bc14;--sc-accent-ink: #251f3a;--sc-accent-text: #693db6;--sc-accent-soft: #f3f8d4;--sc-purple: #693db6;--sc-purple-soft: #efe8fa;--sc-navy: #251f3a;--sc-offwhite: #ebeae8;--sc-black: #080204;--sc-ink: #251f3a;--sc-gray-900: #1c1830;--sc-gray-800: #2f2a45;--sc-gray-700: #433d58;--sc-gray-600: #5e5a6e;--sc-gray-500: #7d7a8a;--sc-gray-400: #a5a3ae;--sc-gray-300: #d2d0d4;--sc-gray-200: #e3e2e2;--sc-gray-100: #ebeae8;--sc-gray-50: #f6f5f4;--sc-white: #ffffff;--sc-status-pending: #7a7b74;--sc-status-planning: #8a7a5c;--sc-status-production: #d97706;--sc-status-review: #ca8a04;--sc-status-waiting: #ea580c;--sc-status-adjust: #dc2626;--sc-status-approved: #16a34a;--sc-status-scheduled: #0f766e;--sc-status-done: #251f3a;--bg: var(--sc-white);--bg-subtle: var(--sc-gray-50);--bg-muted: var(--sc-gray-100);--surface: var(--sc-white);--surface-raised: var(--sc-white);--border: var(--sc-gray-200);--border-strong: var(--sc-gray-300);--text: var(--sc-ink);--text-muted: var(--sc-gray-600);--text-subtle: var(--sc-gray-500);--danger: #dc2626;--danger-soft: #fdecec;--warning: #b45309;--warning-soft: #fff4e0;--success: #15803d;--success-soft: #e8f7ed;--focus-ring: 0 0 0 3px rgba(105, 61, 182, .45);--font-display: "Bricolage Grotesque Variable", "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;--font-body: "Inter Variable", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;--font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;--text-xs: .75rem;--text-sm: .875rem;--text-md: 1rem;--text-lg: 1.125rem;--text-xl: 1.375rem;--text-2xl: 1.75rem;--text-3xl: 2.25rem;--text-4xl: clamp(2.5rem, 6vw + 1rem, 4.75rem);--leading-tight: 1.05;--leading-snug: 1.25;--leading-normal: 1.55;--radius-xs: 6px;--radius-sm: 8px;--radius-md: 12px;--radius-lg: 18px;--radius-xl: 28px;--radius-full: 999px;--shadow-xs: 0 1px 2px rgba(37, 31, 58, .06);--shadow-sm: 0 1px 3px rgba(37, 31, 58, .08), 0 1px 2px rgba(37, 31, 58, .04);--shadow-md: 0 8px 24px -6px rgba(37, 31, 58, .12), 0 2px 6px rgba(37, 31, 58, .05);--shadow-lg: 0 24px 60px -12px rgba(37, 31, 58, .22);--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 20px;--space-6: 24px;--space-8: 32px;--space-10: 40px;--space-12: 48px;--space-16: 64px;--space-20: 80px;--space-24: 96px;--ease-out: cubic-bezier(.2, .8, .2, 1);--dur-fast: .12s;--dur-base: .2s;--dur-slow: .42s;--container: 1160px;--gutter: 16px;--sidebar-w: 248px;--topbar-h: 60px;color-scheme:light}@media (prefers-color-scheme: dark){:root:not([data-theme=light]){--bg: #14111f;--bg-subtle: #191526;--bg-muted: #221d33;--surface: #1c182b;--surface-raised: #241f37;--border: #2f2a45;--border-strong: #433d58;--text: #ebeae8;--text-muted: #a5a3ae;--text-subtle: #7d7a8a;--sc-accent-text: #c4df28;--sc-accent-soft: #2a2f12;--danger-soft: #3a1414;--warning-soft: #33240b;--success-soft: #0f2a18;--sc-status-done: #ebeae8;color-scheme:dark}}:root[data-theme=dark]{--bg: #14111f;--bg-subtle: #191526;--bg-muted: #221d33;--surface: #1c182b;--surface-raised: #241f37;--border: #2f2a45;--border-strong: #433d58;--text: #ebeae8;--text-muted: #a5a3ae;--text-subtle: #7d7a8a;--sc-accent-text: #c4df28;--sc-accent-soft: #2a2f12;--danger-soft: #3a1414;--warning-soft: #33240b;--success-soft: #0f2a18;--sc-status-done: #ebeae8;color-scheme:dark}@media (prefers-reduced-motion: reduce){:root{--dur-fast: 0ms;--dur-base: 0ms;--dur-slow: 0ms}}*,*:before,*:after{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;font-family:var(--font-body);font-size:var(--text-sm);line-height:var(--leading-normal);color:var(--text);background:var(--bg-subtle);-webkit-font-smoothing:antialiased}h1,h2,h3,h4{font-family:var(--font-display);letter-spacing:-.02em;line-height:1.15;margin:0}p{margin:0}a{color:inherit}button{font:inherit;color:inherit}img{max-width:100%;display:block}:focus-visible{outline:none;box-shadow:var(--focus-ring);border-radius:var(--radius-xs)}::selection{background:var(--sc-accent);color:var(--sc-accent-ink)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.stack{display:flex;flex-direction:column;gap:var(--space-4)}.stack-sm{display:flex;flex-direction:column;gap:var(--space-2)}.row{display:flex;align-items:center;gap:var(--space-2)}.row-wrap{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2)}.between{justify-content:space-between}.grow{flex:1;min-width:0}.muted{color:var(--text-muted)}.subtle{color:var(--text-subtle)}.small{font-size:var(--text-xs)}.strong{font-weight:600}.danger-text{color:var(--danger)}.ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.grid-2{display:grid;gap:var(--space-4)}.grid-3,.grid-4{display:grid;gap:var(--space-3);grid-template-columns:repeat(2,1fr)}@media (min-width: 720px){.grid-2{grid-template-columns:1fr 1fr}.grid-3{grid-template-columns:repeat(3,1fr)}.grid-4{grid-template-columns:repeat(4,1fr)}}.hide-mobile{display:none}@media (min-width: 900px){.hide-mobile{display:initial}.hide-desktop{display:none!important}}.shell{display:flex;min-height:100%}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar-w);background:var(--surface);border-right:1px solid var(--border);display:flex;flex-direction:column;z-index:40;transform:translate(-100%);transition:transform var(--dur-base) var(--ease-out)}.sidebar.is-open{transform:none;box-shadow:var(--shadow-lg)}@media (min-width: 900px){.sidebar{transform:none;box-shadow:none!important}.main{margin-left:var(--sidebar-w)}}.sidebar__brand{padding:var(--space-5) var(--space-4) var(--space-4);display:flex;align-items:center;gap:10px;min-height:72px}.sidebar__brand img{max-height:36px;max-width:170px;object-fit:contain}.sidebar__nav{flex:1;overflow-y:auto;padding:0 var(--space-3);display:flex;flex-direction:column;gap:2px}.nav-link{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:var(--radius-sm);text-decoration:none;color:var(--text-muted);font-weight:500}.nav-link svg{width:18px;height:18px;flex:none}.nav-link:hover{background:var(--bg-muted);color:var(--text)}.nav-link.active{background:var(--sc-accent-soft);color:var(--text);font-weight:600}.nav-link .count{margin-left:auto;font-size:11px;background:var(--sc-ink);color:#fff;border-radius:99px;padding:1px 7px}:root[data-theme=dark] .nav-link .count{background:var(--sc-accent);color:var(--sc-accent-ink)}.nav-link.active svg{color:var(--sc-purple)}.nav-sep{margin:var(--space-3) 10px var(--space-1);font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--text-subtle)}.sidebar__foot{padding:var(--space-3) var(--space-4) var(--space-4);border-top:1px solid var(--border);display:flex;flex-direction:column;gap:var(--space-2)}.made-with{font-size:11px;color:var(--text-subtle);display:flex;align-items:center;gap:6px;text-decoration:none}.scrim{position:fixed;inset:0;background:#00000059;z-index:35}.main{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{position:sticky;top:0;z-index:30;height:var(--topbar-h);display:flex;align-items:center;gap:var(--space-3);padding:0 var(--gutter);background:color-mix(in srgb,var(--bg-subtle) 88%,transparent);backdrop-filter:blur(10px);border-bottom:1px solid var(--border)}@media (min-width: 900px){.topbar{padding:0 var(--space-8)}}.content{padding:var(--space-5) var(--gutter) var(--space-20);max-width:1400px;width:100%;margin:0 auto}@media (min-width: 900px){.content{padding:var(--space-8)}}.page-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:var(--space-3);margin-bottom:var(--space-6)}.page-title{font-size:var(--text-2xl);font-weight:800}@media (min-width: 900px){.page-title{font-size:var(--text-3xl)}}.page-sub{color:var(--text-muted);margin-top:4px}.banner{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-3);padding:10px var(--gutter);font-size:var(--text-sm)}@media (min-width: 900px){.banner{padding:10px var(--space-8)}}.banner--warn{background:var(--warning-soft);color:var(--warning)}.banner--danger{background:var(--danger-soft);color:var(--danger)}.banner--info{background:var(--sc-accent-soft);color:var(--text)}.banner a,.banner button{font-weight:600}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:38px;padding:0 14px;border-radius:var(--radius-full);border:1px solid var(--border-strong);background:var(--surface);font-weight:600;font-size:var(--text-sm);cursor:pointer;white-space:nowrap;text-decoration:none;transition:background var(--dur-fast),border-color var(--dur-fast),transform var(--dur-fast)}.btn:hover{background:var(--bg-muted)}.btn:active{transform:translateY(1px)}.btn:disabled,.btn[aria-disabled=true]{opacity:.5;cursor:not-allowed;transform:none}.btn svg{width:16px;height:16px}.btn-primary{background:var(--sc-accent);color:var(--sc-accent-ink);border-color:transparent}.btn-primary:hover{background:var(--sc-accent-hover)}.btn-dark{background:var(--text);color:var(--bg);border-color:transparent}.btn-dark:hover{background:var(--sc-gray-800)}.btn-ghost{border-color:transparent;background:transparent}.btn-danger{background:var(--danger);color:#fff;border-color:transparent}.btn-danger:hover{background:#b91c1c}.btn-sm{height:32px;padding:0 10px;font-size:var(--text-xs)}.btn-lg{height:46px;padding:0 20px;font-size:var(--text-md)}.btn-block{width:100%}.icon-btn{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:var(--radius-sm);border:0;background:transparent;cursor:pointer;color:var(--text-muted);flex:none}.icon-btn:hover{background:var(--bg-muted);color:var(--text)}.icon-btn svg{width:18px;height:18px}.icon-btn-sm{width:28px;height:28px}.icon-btn-sm svg{width:15px;height:15px}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field>span,.label{font-size:var(--text-xs);font-weight:600;color:var(--text-muted)}.field .hint{font-size:var(--text-xs);color:var(--text-subtle)}.field .err{font-size:var(--text-xs);color:var(--danger)}.input,.select,.textarea{width:100%;height:40px;padding:0 12px;border-radius:var(--radius-sm);border:1px solid var(--border-strong);background:var(--surface);color:var(--text);font:inherit;font-size:16px}@media (min-width: 900px){.input,.select,.textarea{font-size:var(--text-sm)}}.textarea{height:auto;min-height:90px;padding:10px 12px;resize:vertical;line-height:1.5}.input:focus,.select:focus,.textarea:focus{outline:none;border-color:var(--sc-accent-press);box-shadow:var(--focus-ring)}.input-sm,.select-sm{height:34px;font-size:var(--text-sm)}.check{display:inline-flex;align-items:flex-start;gap:8px;cursor:pointer}.check input{width:18px;height:18px;accent-color:var(--sc-accent-press);margin-top:1px;flex:none}.search{position:relative}.search svg{position:absolute;left:10px;top:50%;transform:translateY(-50%);width:16px;height:16px;color:var(--text-subtle)}.search .input{padding-left:34px}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:var(--space-5)}.card-tight{padding:var(--space-4)}.card-head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2);margin-bottom:var(--space-4)}.card-title{font-size:var(--text-lg);font-weight:700}.stat{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);padding:var(--space-4)}.stat__label{font-size:var(--text-xs);color:var(--text-muted)}.stat__value{font:800 1.7rem/1.1 var(--font-display);margin-top:6px;letter-spacing:-.02em}.stat--alert .stat__value{color:var(--danger)}.stat--accent{background:var(--sc-navy);color:#fff;border-color:var(--sc-navy)}.stat--accent .stat__label{color:var(--sc-gray-400)}.stat--accent .stat__value{color:var(--sc-accent)}.badge{display:inline-flex;align-items:center;gap:5px;height:22px;padding:0 8px;border-radius:99px;font-size:11px;font-weight:600;white-space:nowrap;background:var(--bg-muted);color:var(--text-muted)}.badge .dot{width:7px;height:7px;border-radius:50%;background:currentColor}.badge-accent{background:var(--sc-accent);color:var(--sc-accent-ink)}.badge-purple{background:var(--sc-purple-soft);color:var(--sc-purple)}.badge-danger{background:var(--danger-soft);color:var(--danger)}.badge-warn{background:var(--warning-soft);color:var(--warning)}.badge-ok{background:var(--success-soft);color:var(--success)}.badge-dark{background:var(--text);color:var(--bg)}.prio-urgent{color:var(--sc-status-adjust)}.prio-high{color:var(--sc-status-production)}.prio-normal{color:var(--text-subtle)}.prio-low{color:var(--text-subtle);opacity:.7}.progress{height:6px;background:var(--bg-muted);border-radius:99px;overflow:hidden}.progress>i{display:block;height:100%;background:var(--sc-accent-press);border-radius:99px;transition:width var(--dur-slow) var(--ease-out)}.table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface)}.table{width:100%;border-collapse:collapse;font-size:var(--text-sm)}.table th{text-align:left;font-size:var(--text-xs);font-weight:600;color:var(--text-muted);padding:10px 12px;border-bottom:1px solid var(--border);white-space:nowrap;background:var(--bg-subtle)}.table td{padding:10px 12px;border-bottom:1px solid var(--border);vertical-align:middle}.table tr:last-child td{border-bottom:0}.table tr.clickable{cursor:pointer}.table tr.clickable:hover td{background:var(--bg-subtle)}.list{display:flex;flex-direction:column}.list-item{display:flex;align-items:center;gap:var(--space-3);padding:10px 0;border-bottom:1px solid var(--border);min-width:0}.list-item:last-child{border-bottom:0}.list-item.clickable{cursor:pointer}.tabs{display:flex;gap:2px;border-bottom:1px solid var(--border);overflow-x:auto;margin-bottom:var(--space-5);scrollbar-width:none}.tab{padding:10px 12px;border:0;background:none;cursor:pointer;font-weight:600;color:var(--text-muted);border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap;text-decoration:none}.tab.active{color:var(--text);border-bottom-color:var(--text)}.seg{display:inline-flex;padding:3px;border-radius:var(--radius-full);background:var(--bg-muted);gap:2px;flex-wrap:nowrap;overflow-x:auto;max-width:100%}.seg button{height:30px;padding:0 12px;border-radius:var(--radius-full);border:0;background:transparent;cursor:pointer;font-weight:600;font-size:var(--text-xs);color:var(--text-muted);white-space:nowrap;display:inline-flex;align-items:center;gap:6px}.seg button svg{width:15px;height:15px}.seg button.active{background:var(--surface);color:var(--text);box-shadow:var(--shadow-xs)}.overlay{position:fixed;inset:0;z-index:60;background:#14102080;display:flex;align-items:flex-end;justify-content:center;animation:fade var(--dur-base)}@media (min-width: 720px){.overlay{align-items:center;padding:var(--space-6)}}.modal{background:var(--surface);width:100%;max-height:92vh;overflow:auto;border-radius:var(--radius-xl) var(--radius-xl) 0 0;padding:var(--space-6) var(--space-5);box-shadow:var(--shadow-lg);animation:rise var(--dur-base) var(--ease-out)}@media (min-width: 720px){.modal{border-radius:var(--radius-xl);max-width:560px}.modal-lg{max-width:820px}}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-3);margin-bottom:var(--space-5)}.modal-title{font-size:var(--text-xl);font-weight:800}.modal-foot{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:var(--space-2);margin-top:var(--space-6)}.drawer-overlay{position:fixed;inset:0;z-index:55;background:#14102066;animation:fade var(--dur-base)}.drawer{position:fixed;z-index:56;inset:0 0 0 auto;width:min(640px,100%);background:var(--surface);box-shadow:var(--shadow-lg);display:flex;flex-direction:column;animation:slide var(--dur-base) var(--ease-out)}.drawer-head{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-4) var(--space-5);border-bottom:1px solid var(--border)}.drawer-body{flex:1;overflow-y:auto;padding:var(--space-5)}.drawer-foot{padding:var(--space-3) var(--space-5);border-top:1px solid var(--border);display:flex;gap:var(--space-2);align-items:center}@keyframes fade{0%{opacity:0}}@keyframes rise{0%{transform:translateY(24px);opacity:0}}@keyframes slide{0%{transform:translate(32px);opacity:0}}.menu{position:relative}.menu-list{position:absolute;right:0;top:calc(100% + 4px);min-width:200px;background:var(--surface-raised);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-md);padding:4px;z-index:50}.menu-list.left{left:0;right:auto}.menu-item{display:flex;align-items:center;gap:8px;width:100%;padding:8px 10px;border:0;background:none;border-radius:var(--radius-xs);cursor:pointer;text-align:left;font-size:var(--text-sm);text-decoration:none}.menu-item:hover{background:var(--bg-muted)}.menu-item svg{width:16px;height:16px;color:var(--text-muted)}.menu-item.danger{color:var(--danger)}.menu-item.danger svg{color:var(--danger)}.menu-sep{height:1px;background:var(--border);margin:4px 0}.toasts{position:fixed;z-index:90;bottom:16px;left:50%;transform:translate(-50%);display:flex;flex-direction:column;gap:8px;width:min(420px,calc(100% - 32px))}.toast{background:var(--sc-navy);color:#fff;padding:12px 14px;border-radius:var(--radius-md);box-shadow:var(--shadow-lg);display:flex;align-items:center;gap:10px;animation:rise var(--dur-base) var(--ease-out)}.toast.error{background:var(--danger)}.toast button{margin-left:auto;background:none;border:0;color:inherit;font-weight:700;cursor:pointer;text-decoration:underline}.empty{text-align:center;padding:var(--space-10) var(--space-4);color:var(--text-muted);display:flex;flex-direction:column;align-items:center;gap:var(--space-3)}.empty svg{width:36px;height:36px;color:var(--text-subtle)}.empty h3{color:var(--text);font-size:var(--text-lg)}.spinner{width:20px;height:20px;border-radius:50%;border:2.5px solid var(--border-strong);border-top-color:var(--text);animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.center-screen{min-height:100vh;display:grid;place-items:center;padding:var(--space-6) var(--gutter)}.skeleton{background:linear-gradient(90deg,var(--bg-muted),var(--bg-subtle),var(--bg-muted));background-size:200% 100%;animation:shimmer 1.2s infinite;border-radius:var(--radius-sm)}@keyframes shimmer{to{background-position:-200% 0}}.avatar{width:30px;height:30px;border-radius:50%;background:var(--bg-muted);display:inline-grid;place-items:center;font-weight:700;font-size:12px;color:var(--text-muted);overflow:hidden;flex:none}.avatar img{width:100%;height:100%;object-fit:cover}.avatar-sm{width:22px;height:22px;font-size:10px}.avatar-lg{width:64px;height:64px;font-size:22px}.kanban{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(270px,1fr);gap:var(--space-3);overflow-x:auto;padding-bottom:var(--space-3);scroll-snap-type:x mandatory}.kanban-col{background:var(--bg-muted);border-radius:var(--radius-md);padding:var(--space-3);min-height:200px;scroll-snap-align:start;display:flex;flex-direction:column;gap:var(--space-2)}.kanban-col.is-over{outline:2px dashed var(--sc-accent-press);outline-offset:-2px}.kanban-col__head{display:flex;align-items:center;gap:8px;font-weight:700;padding:2px 4px 6px}.dcard{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);padding:10px 12px;display:flex;flex-direction:column;gap:6px;cursor:pointer;box-shadow:var(--shadow-xs);position:relative}.dcard:hover{border-color:var(--border-strong)}.dcard.is-late{border-left:3px solid var(--sc-status-adjust)}.dcard.is-dragging{opacity:.6;box-shadow:var(--shadow-md)}.dcard__title{font-weight:600;line-height:1.3}.dcard__meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:var(--text-xs);color:var(--text-muted)}.drag-handle{cursor:grab;touch-action:none;color:var(--text-subtle)}.status-dot{width:9px;height:9px;border-radius:50%;flex:none;display:inline-block}.done-btn{width:22px;height:22px;border-radius:50%;border:2px solid var(--border-strong);background:transparent;cursor:pointer;flex:none;display:grid;place-items:center;padding:0}.done-btn:hover{border-color:var(--sc-status-approved)}.done-btn.is-done{background:var(--sc-status-approved);border-color:var(--sc-status-approved);color:#fff}.done-btn svg{width:13px;height:13px}.cal{border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden;background:var(--surface)}.cal-head,.cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.cal-head div{padding:8px;font-size:var(--text-xs);font-weight:600;color:var(--text-muted);text-align:center;border-bottom:1px solid var(--border);background:var(--bg-subtle)}.cal-cell{min-height:72px;border-right:1px solid var(--border);border-bottom:1px solid var(--border);padding:4px;display:flex;flex-direction:column;gap:3px;min-width:0;cursor:pointer}@media (min-width: 900px){.cal-cell{min-height:112px;padding:6px}}.cal-cell:nth-child(7n){border-right:0}.cal-cell.is-out{background:var(--bg-subtle);color:var(--text-subtle)}.cal-cell.is-today .cal-day{background:var(--sc-accent);color:var(--sc-accent-ink)}.cal-cell.is-selected{box-shadow:inset 0 0 0 2px var(--text)}.cal-cell.is-over{background:var(--sc-accent-soft)}.cal-day{font-size:11px;font-weight:700;width:22px;height:22px;display:grid;place-items:center;border-radius:50%}.cal-chip{font-size:10.5px;line-height:1.3;padding:2px 5px;border-radius:4px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:grab}@media (min-width: 900px){.cal-chip{font-size:11.5px}}.cal-more{font-size:10.5px;color:var(--text-muted)}.week{display:grid;grid-template-columns:repeat(7,minmax(140px,1fr));gap:var(--space-2);overflow-x:auto}.week-col{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);padding:var(--space-2);min-height:260px;display:flex;flex-direction:column;gap:6px}.week-col.is-today{border-color:var(--text)}.feed{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;max-width:480px}.feed-cell{aspect-ratio:4 / 5;background:var(--bg-muted);position:relative;overflow:hidden;cursor:pointer;display:flex;align-items:flex-end;padding:6px}.feed-cell img,.feed-cell video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.feed-cell span{position:relative;z-index:1;font-size:10px;font-weight:600;background:#251f3acc;color:#fff;padding:2px 6px;border-radius:4px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.feed-cell.is-empty{border:1.5px dashed var(--border-strong);background:transparent;justify-content:center;align-items:center;color:var(--text-subtle);font-size:11px}.files-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:var(--space-3)}.file-tile{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);overflow:hidden;display:flex;flex-direction:column;cursor:pointer}.file-tile__thumb{aspect-ratio:4 / 3;background:var(--bg-muted);display:grid;place-items:center;overflow:hidden}.file-tile__thumb img,.file-tile__thumb video{width:100%;height:100%;object-fit:cover}.file-tile__thumb svg{width:30px;height:30px;color:var(--text-subtle)}.file-tile__name{padding:8px 10px;font-size:var(--text-xs);font-weight:600}.dropzone{border:2px dashed var(--border-strong);border-radius:var(--radius-md);padding:var(--space-6);text-align:center;color:var(--text-muted);cursor:pointer}.dropzone.is-over{border-color:var(--sc-accent-press);background:var(--sc-accent-soft)}.setup{background:var(--sc-navy);color:#fff;border-radius:var(--radius-lg);padding:var(--space-5)}.setup .progress{background:#ffffff26}.setup .progress>i{background:var(--sc-accent)}.setup-item{display:flex;align-items:center;gap:10px;padding:8px 0;color:var(--sc-gray-300)}.setup-item.done{color:var(--sc-gray-500);text-decoration:line-through}.setup-item .tick{width:20px;height:20px;border-radius:50%;border:2px solid var(--sc-gray-600);flex:none;display:grid;place-items:center}.setup-item.done .tick{background:var(--sc-accent);border-color:var(--sc-accent);color:var(--sc-ink)}.setup-item .tick svg{width:12px;height:12px}.auth-wrap{min-height:100vh;display:grid;place-items:center;padding:var(--space-8) var(--gutter);background:var(--bg-subtle)}.auth-card{width:100%;max-width:420px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-xl);padding:var(--space-8) var(--space-6);box-shadow:var(--shadow-sm)}.auth-card h1{font-size:var(--text-2xl);font-weight:800;margin-bottom:var(--space-2)}.divider{display:flex;align-items:center;gap:10px;color:var(--text-subtle);font-size:var(--text-xs);margin:var(--space-4) 0}.divider:before,.divider:after{content:"";flex:1;height:1px;background:var(--border)}.sc-logo{display:inline-flex;align-items:center;gap:9px;text-decoration:none;font:800 1.2rem var(--font-display);letter-spacing:-.03em}.sc-logo i{width:28px;height:26px;background:url(/brand/icone-claro.svg) center / contain no-repeat;flex:none}.sc-logo.sm{font-size:.95rem}.sc-logo.sm i{width:16px;height:14px}.brand-logo{height:32px;width:auto;display:inline-block}.brand-logo.on-dark{display:none}@media (prefers-color-scheme: dark){:root:not([data-theme=light]) .brand-logo.on-light{display:none}:root:not([data-theme=light]) .brand-logo.on-dark{display:inline-block}:root:not([data-theme=light]) .sc-logo i{background-image:url(/brand/icone-escuro.svg)}}:root[data-theme=dark] .brand-logo.on-light{display:none}:root[data-theme=dark] .brand-logo.on-dark{display:inline-block}:root[data-theme=dark] .sc-logo i{background-image:url(/brand/icone-escuro.svg)}.public-page{min-height:100vh;background:var(--bg-subtle)}.public-head{background:var(--surface);border-bottom:1px solid var(--border);padding:var(--space-4) var(--gutter);display:flex;align-items:center;justify-content:space-between;gap:var(--space-3)}.public-head img{max-height:40px;max-width:200px;object-fit:contain}.public-body{max-width:760px;margin:0 auto;padding:var(--space-6) var(--gutter) var(--space-20)}.public-foot{text-align:center;padding:var(--space-6);font-size:var(--text-xs);color:var(--text-subtle)}.media-box{border-radius:var(--radius-md);overflow:hidden;background:var(--bg-muted)}.media-box img,.media-box video{width:100%;max-height:70vh;object-fit:contain;background:#000}.media-strip{display:flex;gap:6px;overflow-x:auto;scroll-snap-type:x mandatory}.media-strip>*{flex:0 0 100%;scroll-snap-align:center}.sticky-actions{position:sticky;bottom:0;background:var(--surface);border-top:1px solid var(--border);padding:var(--space-3) var(--gutter) calc(var(--space-3) + env(safe-area-inset-bottom));display:flex;gap:var(--space-2);justify-content:center;z-index:10}.bars{display:flex;flex-direction:column;gap:10px}.bar-row{display:grid;grid-template-columns:minmax(90px,160px) 1fr auto;gap:10px;align-items:center;font-size:var(--text-xs)}.bar-track{height:12px;background:var(--bg-muted);border-radius:6px;overflow:hidden}.bar-fill{height:100%;background:var(--text);border-radius:6px}.bar-fill.alt{background:var(--sc-accent-press)}.kbd{font-family:var(--font-mono);font-size:11px;padding:1px 6px;border-radius:4px;border:1px solid var(--border-strong);background:var(--bg-subtle)}.collapsible>summary{list-style:none;cursor:pointer}.collapsible>summary::-webkit-details-marker{display:none}.pill-input{display:flex;flex-wrap:wrap;gap:6px}.chip{display:inline-flex;align-items:center;gap:4px;padding:4px 8px 4px 10px;border-radius:99px;background:var(--bg-muted);font-size:var(--text-xs);font-weight:600}.chip button{border:0;background:none;cursor:pointer;padding:0;display:grid;color:var(--text-muted)}.chip svg{width:13px;height:13px}.logo-preview{display:grid;place-items:center;height:96px;border-radius:var(--radius-md);border:1px solid var(--border);padding:var(--space-3)}.logo-preview img{max-height:64px;max-width:100%;object-fit:contain}.logo-preview.dark{background:#0d0e0c;border-color:#2a2b27}.logo-preview.light{background:#fff}.cal-layout{display:grid;gap:var(--space-4);align-items:start}@media (min-width: 1100px){.cal-layout{grid-template-columns:minmax(0,2.2fr) minmax(0,1fr)}}
