.analog-clock-widget{display:none}.analog-clock-face{width:220px;height:220px}.clock-rim{fill:var(--panel);stroke:var(--panel-border);stroke-width:3px}.tick{stroke:var(--text);stroke-width:1px;opacity:.6}.tick-major{stroke-width:2.5px;opacity:1}.tick-minor{opacity:.3}.hand{stroke-linecap:round}.hour-hand{stroke:var(--text);stroke-width:6px}.minute-hand{stroke:var(--text);stroke-width:4px}.second-hand{stroke:var(--header-text);stroke-width:1.5px}.clock-center{fill:var(--header-text)}.analog-clock-date{text-transform:capitalize;opacity:.8;text-align:center;color:var(--text);font-size:1.05rem}.clock-weather{color:var(--text);align-items:center;gap:8px;font-size:1rem;display:flex}.weather-icon{font-size:1.4rem;line-height:1}.weather-temp{font-weight:700}.weather-range{opacity:.65;font-size:.85rem}.weather-loading,.weather-error{opacity:.6;font-size:.85rem}.clock-visitor .edit-btn{color:var(--accent);background:0 0;border:none;padding:0;font-size:13px}@media screen and (min-width:3840px){.analog-clock-widget{flex-direction:column;justify-content:center;align-items:center;gap:16px;display:flex}.analog-clock-face{width:340px;height:340px}.analog-clock-date,.clock-weather{font-size:2.5rem}.clock-visitor{font-size:2.2rem}.weather-icon{font-size:4.4rem}.weather-range{font-size:2.5rem}.today-date{display:none}}.green-cross-wrapper.gc-grid{border-radius:var(--card-radius);background:0 0;width:100%;padding:0}.gc-controls{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin:0 0 14px;display:flex}.gc-controls select,.gc-controls input{border:1px solid var(--panel-border);border-radius:var(--cell-radius);background:var(--bg-cell);min-height:36px;color:var(--text-cell);font:inherit;padding:7px 10px}.gc-row{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin-bottom:6px;display:grid}.gc-cell,.gc-empty{border-radius:var(--cell-radius);min-width:0;height:50px}.gc-cell{border:1px solid var(--panel-border);background:var(--bg-cell);color:var(--text-cell);font:inherit;cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;font-weight:600;transition:background .18s,border-color .18s,transform .18s;display:inline-flex;position:relative}.gc-cell.green{background:var(--status-green-bg);color:var(--status-green-text);border-left:4px solid var(--status-green-border)}.gc-cell.yellow{background:var(--status-yellow-bg);color:var(--status-yellow-text);border-left:4px solid var(--status-yellow-border)}.gc-cell.red{background:var(--status-red-bg);color:var(--status-red-text);border-left:4px solid var(--status-red-border)}.gc-cell.default{background:var(--bg-cell);color:var(--text-cell)}.gc-cell:hover{filter:brightness(1.08);transform:translateY(-1px)}.gc-cell.highlight{box-shadow:0 0 0 2px var(--accent)}.gc-cell.gc-disabled{pointer-events:none;cursor:not-allowed;opacity:.65}.gc-empty{background:0 0}.gc-day{z-index:1}.gc-weekend{color:var(--status-weekend);font-weight:700}.gc-flag{font-size:18px;position:absolute;bottom:1px;right:3px}.gc-flag.yellow,.gc-flag.red{color:var(--header-text)}.gc-legend-row{color:var(--text);flex-wrap:wrap;justify-content:center;align-items:center;gap:16px;margin-top:14px;font-size:.85rem;display:flex}.gc-counts,.gc-counts div{align-items:center;gap:6px;display:flex}.legend-box{border:1px solid var(--panel-border);border-radius:var(--cell-radius);width:16px;height:16px;display:inline-block}.legend-box.green{background:var(--status-green-bg)}.legend-box.yellow{background:var(--status-yellow-bg)}.legend-box.red{background:var(--status-red-bg)}.gc-url{color:var(--header-text);cursor:pointer;margin-top:8px}.gc-url:hover{opacity:.8}.modal-content p{white-space:pre-line;text-align:left}@media (max-width:768px){.gc-row{gap:4px}.gc-cell,.gc-empty{height:40px}.gc-controls{flex-direction:column;align-items:stretch}.gc-legend-row{gap:10px}}@media (max-width:414px){.gc-row{gap:3px}.gc-cell,.gc-empty{height:35px;font-size:.75rem}.gc-controls select,.gc-controls input{font-size:.85rem}.gc-legend-row{gap:8px;font-size:.78rem}.legend-box{width:13px;height:13px}}@media screen and (min-width:3840px){.gc-cell,.gc-empty{height:75px;font-size:2rem}.gc-legend-row{font-size:1.4rem}.gc-controls select,.gc-controls input{font-size:1.5rem}}.activities-widget{align-items:stretch!important}.activities-stats{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.stat span{font-size:22px;display:block}@media screen and (min-width:3840px){.stat span{font-size:36px}}.presence-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;margin-top:8px;display:grid}.presence-item{border:1px solid var(--panel-border);border-left:4px solid var(--panel-border);border-radius:var(--cell-radius);background:var(--bg-cell);min-width:0;min-height:60px;color:var(--text-cell);text-align:left;cursor:pointer;justify-content:space-between;align-items:center;gap:8px;padding:9px 10px;transition:background .18s,border-color .18s,transform .18s;display:flex}.presence-item:hover{background:var(--hover-bg);transform:translateY(-1px)}.presence-item.here{background:var(--status-green-bg);color:var(--status-green-text);border-left-color:var(--status-green-border)}.presence-item.away{background:var(--status-red-bg);color:var(--status-red-text);border-left-color:var(--status-red-border)}.presence-name{font-size:.9rem;font-weight:600}.presence-status{opacity:.9;font-size:.8rem}@media (max-width:768px){.presence-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:480px){.presence-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.presence-item{min-height:52px;padding:8px}.presence-name{font-size:.82rem}.presence-status{font-size:.72rem}}@media screen and (min-width:3840px){.presence-name{font-size:2rem}.presence-status{font-size:1.5rem}.presence-item{min-height:80px}}.EditableTextWidget,.structuredTextWidget{background:var(--panel);border:1px solid var(--panel-border,#e5e7eb);border-radius:var(--card-radius);box-shadow:var(--panel-shadow);padding:14px 16px;align-items:stretch!important}.EditableTextWidget .title-input,.structuredTextWidget .title-input{border:1px solid var(--control-border);border-radius:var(--control-radius);text-align:center;width:100%;padding:6px 8px;font-size:15px;font-weight:600}.EditableTextWidget p,.structuredTextWidget p{white-space:pre-wrap;text-align:left;max-width:70ch;margin:0;font-size:14px;line-height:1.65}.EditableTextWidget p.empty-state,.structuredTextWidget p.empty-state{color:var(--muted-text,#9ca3af);font-style:italic}.structuredTextWidget button,.EditableTextWidget button{cursor:pointer;font-family:inherit}.structuredTextWidget .edit-btn,.EditableTextWidget .edit-btn{color:var(--accent);background:0 0;border:none;padding:0;font-size:13px}.structuredTextWidget .edit-btn:hover,.EditableTextWidget .edit-btn:hover{text-decoration:underline}.EditableTextWidget textarea,.structuredTextWidget textarea{resize:vertical;border-radius:var(--card-radius);border:1px solid #d1d5db;width:100%;min-height:80px;padding:8px;font-family:inherit;font-size:14px;line-height:1.5}.structuredTextWidget .actions,.EditableTextWidget .actions{justify-content:flex-end;gap:8px;display:flex}.structuredTextWidget .error,.EditableTextWidget .error{color:var(--danger);font-size:13px}.section-edit-box{border:1px solid var(--panel-border);border-radius:var(--control-radius);margin-top:10px;padding:10px}.move-buttons{gap:5px;display:flex}.move-buttons button{cursor:pointer;padding:2px 6px}@media screen and (min-width:3840px){.structuredTextWidget strong,.EditableTextWidget strong,.EditableTextWidget p,.structuredTextWidget p{font-size:1.9rem}.EditableTextWidget textarea,.structuredTextWidget textarea,.EditableTextWidget input,.structuredTextWidget input{font-size:2rem}}.rich-text-editor{flex-direction:column;gap:9px;min-width:0;margin-top:9px;display:flex}.rich-text-toolbar{background:var(--bg-cell,var(--bg,#f8fafc));border:1px solid var(--panel-border,#d1d5db);border-radius:var(--control-radius);flex-wrap:wrap;align-items:center;gap:6px;padding:7px;display:flex}.rich-text-toolbar button,.rich-text-preview-toggle button{border:1px solid var(--panel-border,#d1d5db);background:var(--bg,#fff);min-width:36px;min-height:34px;color:var(--text,#0f172a);font:inherit;cursor:pointer;border-radius:6px;justify-content:center;align-items:center;padding:6px 10px;font-size:13px;line-height:1.2;transition:background-color .12s,border-color .12s;display:inline-flex}.rich-text-toolbar button:hover,.rich-text-preview-toggle button:hover{background:var(--hover-bg,#f1f5f9);border-color:var(--header-text,#64748b)}.rich-text-toolbar button:focus-visible,.rich-text-preview-toggle button:focus-visible,.rich-text-editor textarea:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.rich-text-help,.rich-text-preview-label{color:var(--muted-text);opacity:1;font-size:12px}.rich-text-help{margin-left:4px}.rich-text-editor textarea{box-sizing:border-box;resize:vertical;border:1px solid var(--panel-border,#d1d5db);background:var(--bg-cell,var(--bg,#fff));width:100%;min-height:90px;color:var(--text,#0f172a);font:inherit;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;border-radius:8px;padding:10px;line-height:1.5;display:block}@media (prefers-color-scheme:dark){.rich-text-editor textarea{--lightningcss-light: ;--lightningcss-dark:initial}}.rich-text-editor textarea::placeholder{color:var(--muted-text);opacity:.8}.rich-text-preview{border:1px solid var(--panel-border,#e5e7eb);background:var(--bg-cell,var(--bg,#fff));color:var(--text,#0f172a);text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;border-radius:8px;padding:10px}.rich-text-preview-label{margin-bottom:6px}.rich-text-preview h4{color:var(--strong-text,var(--text));margin:4px 0}.rich-text-preview ul{margin:4px 0;padding-left:22px}@media (max-width:600px){.rich-text-help{flex-basis:100%;margin:2px 0 0}}.resource-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:100%;display:grid}.resource-item{border:1px solid var(--panel-border);border-left:4px solid var(--panel-border);border-radius:var(--cell-radius);background:var(--bg-cell);min-width:0;min-height:60px;color:var(--text-cell);text-align:left;cursor:pointer;justify-content:space-between;align-items:center;gap:8px;padding:9px 10px;font-size:.85rem;transition:background .18s,border-color .18s,transform .18s;display:flex}.resource-item:hover{background:var(--hover-bg);transform:translateY(-1px)}.resource-item.green{background:var(--status-green-bg);color:var(--status-green-text);border-left-color:var(--status-green-border)}.resource-item.yellow{background:var(--status-yellow-bg);color:var(--status-yellow-text);border-left-color:var(--status-yellow-border)}.resource-item.red{background:var(--status-red-bg);color:var(--status-red-text);border-left-color:var(--status-red-border)}@media (max-width:768px){.resource-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:480px){.resource-list{grid-template-columns:1fr}.resource-item{min-height:52px;padding:8px 10px}}@media screen and (min-width:3840px){.resource-item{min-height:80px;font-size:1.5rem}}.widget-rotator{width:100%;height:100%;position:relative;overflow:hidden}.rotator-item{opacity:0;pointer-events:none;flex-direction:column;width:100%;height:100%;transition:opacity .6s ease-in-out;display:flex;position:absolute;inset:0}.rotator-item.active{opacity:1;pointer-events:auto}.widget-rotator:hover .rotator-item.active{transition-duration:0s}.widget-rotator:hover{cursor:pointer}.rotator-controls{z-index:10;gap:6px;display:flex;position:absolute;top:8px;right:8px}.rotator-btn{background:var(--panel);border:1px solid var(--panel-border);color:var(--text);cursor:pointer;border-radius:4px;width:32px;height:32px;transition:all .2s}.rotator-btn:hover{background:var(--hover-bg);color:var(--accent)}.widget-rotator.rotator-editing{height:auto;overflow:visible}.widget-rotator.rotator-editing .rotator-item{opacity:1;pointer-events:auto;height:auto;transition:none;position:static;inset:auto}.widget-rotator.rotator-editing .rotator-item:not(.active){display:none}.widget-rotator.rotator-editing .rotator-item.active>.widget{height:auto;min-height:0}.lunch-widget{padding:0}.lunch-widget h3{margin:0 0 .75rem}.lunch-image{border-radius:var(--card-radius);width:100%;height:auto;display:block}.widget-loading,.widget-error{color:var(--muted-text);font-size:.9rem}.widget-error a{margin-top:.5rem;display:inline-block}.order-widget{align-items:stretch!important}.widget-stats{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.stat{border-radius:var(--card-radius);border:1px solid var(--panel-border);text-align:center;padding:12px;font-weight:600}.stat.total{border-left:6px solid var(--text);box-shadow:var(--panel-shadow)}.stat.red{border-left:6px solid var(--status-red-border);color:var(--status-red-text);box-shadow:0 2px 8px #00000014}.stat.yellow{border-left:6px solid var(--status-yellow-border);color:var(--status-yellow-text);box-shadow:0 2px 8px #00000014}.stat.green{border-left:6px solid var(--status-green-border);color:var(--status-green-text);box-shadow:0 2px 8px #00000014}.stat.blue{border-left:6px solid var(--accent);color:var(--accent);box-shadow:0 2px 8px #00000014}.clickable{cursor:pointer;transition:all .2s}.clickable:hover{transform:translateY(-2px)}.production-widget{align-items:stretch!important}.production-widget-grid{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.plan-summary{text-align:left;padding-top:10px}.plan-summary h4{color:var(--header-text)}.plan-total{justify-content:space-between;gap:4px;margin-top:4px;font-size:14px;display:flex}.plan-resources{flex-direction:column;gap:4px;display:flex}.plan-resource-row{justify-content:space-between;font-size:14px;display:flex}.production-widget .btn-primary{margin-top:10px}@media screen and (min-width:3840px){.plan-resource-row,.plan-total{font-size:1.9rem}}.qualityCostWidget{text-align:left!important;align-items:stretch!important}.qualityCostWidget h3{text-align:center!important}.qualityCostWidget button{cursor:pointer;font-family:inherit}.qualityCostWidget .edit-btn{color:#2563eb;background:0 0;border:none;font-size:13px}.qualityCostWidget thead{color:var(--header-text)}.qualityCostWidget .summary-bar{background:var(--summary-bg,#2563eb0f);border-radius:10px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;padding:10px 14px;display:flex}.qualityCostWidget .summary-total{flex-direction:column;line-height:1.2;display:flex}.qualityCostWidget .summary-label{text-transform:uppercase;letter-spacing:.04em;color:var(--muted-text,#6b7280);font-size:11px}.qualityCostWidget .summary-value{color:var(--strong-text);font-size:20px;font-weight:700}.qualityCostWidget .delta-badge{white-space:nowrap;border-radius:999px;align-items:center;gap:4px;padding:4px 10px;font-size:14px;font-weight:600;display:inline-flex}.qualityCostWidget .delta-arrow{font-size:10px}.qualityCostWidget .delta-up{color:#c62828;background:#c628281f}.qualityCostWidget .delta-down{color:#2e7d32;background:#2e7d321f}.qualityCostWidget .delta-flat{color:#6b7280;background:#6b72801f}.cost-table{border-collapse:collapse;border-radius:10px;width:100%;overflow:hidden}.cost-table th,.cost-table td{border-bottom:1px solid #ddd;padding:8px;font-size:14px}.cost-table th{font-size:14px}.cost-table tbody tr:nth-child(2n){background:var(--row-alt-bg,#00000006)}.cost-table tbody tr:hover{background:var(--row-hover-bg,#2563eb0d)}.cost{text-align:right;font-size:14px;font-weight:600}.qualityCostWidget .cost-cell{justify-content:flex-end;align-items:center;height:22px;display:flex;position:relative}.qualityCostWidget .cost-bar{z-index:0;background:#eb25254d;border-radius:4px;height:100%;transition:width .3s;position:absolute;top:0;right:0}.qualityCostWidget .cost-value{z-index:1;padding-right:4px;position:relative}.qualityCostWidget .prev{font-size:14px}.qualityCostWidget .total{color:#c62828;font-size:15px}.cost-table tfoot tr:first-child td{border-top:2px solid #ddd;padding-top:10px}.row-edit{gap:8px;margin-bottom:6px;display:flex}.qualityCostWidget .title-input{text-align:center;border:1px solid #d1d5db;border-radius:8px;padding:6px 8px;font-size:15px;font-weight:600}.qualityCostWidget .month-input{text-align:center;border:1px solid #d1d5db;border-radius:8px;padding:6px 8px}.qualityCostWidget .section-edit-box{border:1px solid var(--panel-border);border-radius:6px;margin-top:10px;padding:10px}.qualityCostWidget .actions{justify-content:flex-end;gap:8px;display:flex}@media screen and (min-width:3840px){.cost-table th,.cost-table td,.qualityCostWidget .total,.qualityCostWidget .prev{font-size:1.9rem}.qualityCostWidget .summary-value{font-size:30px}.qualityCostWidget .delta-badge{font-size:18px}}.drawingWidget{background:var(--panel);border:1px solid var(--panel-border);border-radius:var(--card-radius);box-shadow:var(--panel-shadow);padding:14px 16px;align-items:stretch!important}.drawingWidget h3{text-align:center;color:var(--strong-text);margin:0 0 10px}.drawing-toolbar{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:10px;display:flex}.drawingWidget button{cursor:pointer;font-family:inherit}.color-swatch{border:2px solid #0000;border-radius:50%;width:26px;height:26px;padding:0}.color-swatch.active{border-color:var(--focus-ring);transform:scale(1.1)}.brush-slider{width:90px}.drawing-toolbar .btn-secondary.active{background:var(--accent);color:#fff}.drawing-actions{flex-shrink:0;align-items:flex-start;gap:8px;display:flex}.drawing-canvas{border:1px solid var(--panel-border,#d1d5db);touch-action:none;cursor:crosshair;background:#fff;border-radius:8px;width:100%;height:420px}.drawingWidget .widget-meta{border-top:1px dashed var(--panel-border,#e5e7eb);color:var(--muted-text,#9ca3af);margin-top:10px;padding-top:8px;font-size:12px}@media screen and (min-width:3840px){.drawingWidget{width:1360px!important}.drawing-canvas{height:1800px}}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{background:var(--bg);height:100%;color:var(--text);font-family:Roboto,system-ui,-apple-system,Segoe UI,Arial,sans-serif;transition:background .3s,color .3s}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:root{--bg:#f8fafc;--text:#0f172a;--header-text:#9e0606;--panel:#fff;--bg-cell:#fff;--text-cell:#0f172a;--panel-border:#e2e8f0;--accent:#3b82f6;--hover-bg:#f1f5f9;--card-radius:10px;--cell-radius:4px;--secondary:#00b050;--danger:#d9534f;--logo-span:#0f172a;--strong-text:#9e0606;--muted-text:#64748b;--control-bg:#fff;--control-text:#0f172a;--control-border:#cbd5e1;--control-radius:6px;--focus-ring:#2563eb;--panel-shadow:0 2px 8px #0f172a0f;--overlay-bg:#00000080;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px}:root[data-theme=dark]{--bg:#121212;--text:#fff;--header-text:#ffc000;--panel:#1e1e1e;--bg-cell:#2a2a2a;--text-cell:#fff;--panel-border:#444;--accent:#3b82f6;--hover-bg:#1e293b;--secondary:#00b050;--danger:#d9534f;--logo-span:#d0d0d0;--strong-text:#ffc000;--muted-text:#a3a3a3;--control-bg:#2a2a2a;--control-text:#fff;--control-border:#555;--control-radius:6px;--focus-ring:#ffc000;--panel-shadow:0 2px 8px #00000047;--overlay-bg:#000000ad}h2{color:var(--header-text)}strong{color:var(--strong-text)}code{color:#ff5722;background-color:#9e9e9e54;border:1px #0000;border-radius:3px;width:50px;font-family:Consolas,Monaco,Andale Mono,monospace;line-height:1.5}.dashboard{background:var(--panel);border-bottom:1px solid var(--panel-border);justify-content:space-between;align-items:center;height:70px;padding:1rem 2rem;display:flex;box-shadow:0 2px 6px #0000000d}.logo{color:var(--header-text);z-index:1;flex-direction:column;align-items:flex-start;font-size:2rem;font-weight:600;display:flex}.logo span{color:var(--header-text)}.logo-row{align-items:center;display:flex}.logo-icon{font-size:2.2rem}h1 span{color:var(--logo-span)}.company-name{opacity:.8;color:var(--logo-span);margin-left:15px;font-size:.9rem;font-weight:400}.today-date{opacity:.8;margin-left:15px;font-size:1rem;font-weight:400;color:var(--logo-span)!important}.nav{align-items:center;gap:1rem;display:flex}.nav button{background:var(--panel);border:1px solid var(--panel-border);color:var(--header-text);padding:.6rem 1.1rem;font-size:1rem;transition:all .3s}.nav button:hover{background:var(--hover-bg);color:var(--accent)}.nav .active{background:var(--panel);color:var(--header-text);border-color:var(--header-text)}.theme-toggle{border:1px solid var(--panel-border);background:var(--panel);color:var(--text);padding:.6rem 1.1rem;font-size:1rem;transition:all .3s}.theme-toggle:hover{background:var(--hover-bg)}.btn-danger{border-radius:var(--cell-radius);border:1px solid var(--panel-border);background:var(--danger);color:#fff;cursor:pointer;white-space:nowrap;padding:8px 14px;font-size:.9rem;font-weight:500;transition:all .15s}.btn-danger:hover{background:color-mix(in srgb,var(--danger)85%,black)}.btn-danger:active{transform:translateY(1px)}.btn-primary{border-radius:var(--cell-radius);border:1px solid var(--panel-border);background:var(--accent);color:#fff;cursor:pointer;white-space:nowrap;padding:8px 14px;font-size:.9rem;font-weight:500;transition:all .15s}.btn-primary:hover{background:color-mix(in srgb,var(--accent)85%,black)}.btn-primary:active{transform:translateY(1px)}.btn-secondary{border-radius:var(--cell-radius);border:1px solid var(--panel-border);background:var(--secondary);color:#fff;cursor:pointer;white-space:nowrap;padding:8px 14px;font-size:.9rem;font-weight:500;transition:all .15s}.btn-secondary:hover{background:color-mix(in srgb,var(--secondary)85%,black)}.btn-secondary:active{transform:translateY(1px)}.btn-danger:disabled,.btn-primary:disabled,.btn-primary:disabled{opacity:.6;cursor:not-allowed}.content{padding:2rem}.widget-grid{grid-template-columns:repeat(4,1fr);grid-auto-rows:auto;align-items:stretch;gap:1rem;display:grid}@keyframes pageTransitionIn{0%{opacity:0;transform:translate(18px)scale(.99)}to{opacity:1;transform:translate(0)scale(1)}}.widget-grid{animation:.32s cubic-bezier(.22,1,.36,1) pageTransitionIn}@media (prefers-reduced-motion:reduce){.widget-grid{animation:none}}.widget-top{background:var(--panel);border:1px solid var(--panel-border);text-align:center;border-radius:var(--card-radius);flex-direction:column;align-items:center;width:100%;margin-bottom:1.5rem;padding:1rem;transition:transform .3s,box-shadow .3s,background .3s;display:none;box-shadow:0 4px 12px #0000000d}.widget{background:var(--panel);border:1px solid var(--panel-border);text-align:center;border-radius:var(--card-radius);flex-direction:column;align-items:center;width:100%;height:100%;padding:1rem;transition:transform .3s,box-shadow .3s,background .3s;display:flex;box-shadow:0 4px 12px #0000000d}.widget:hover{transform:translateY(-1px);box-shadow:0 8px 20px #0000001a}.widget h3{border-bottom:1px solid var(--panel-border,#e5e7eb);letter-spacing:.01em;color:var(--header-text);margin:0 0 8px;padding-bottom:8px;font-size:1.2rem;font-weight:700}.widget-value{color:var(--accent);font-size:2rem;font-weight:700}.widget-meta{border-top:1px dashed var(--panel-border,#e5e7eb);color:var(--muted-text,#9ca3af);text-align:left;margin-top:12px;padding-top:8px;font-size:12px}.login-wrapper{background:var(--bg);justify-content:center;align-items:center;height:100vh;display:flex}.login-box{background:var(--panel);border:1px solid var(--panel-border);border-radius:var(--card-radius);flex-direction:column;gap:1rem;width:100%;max-width:320px;padding:2rem;display:flex}.login-box h2{text-align:center;color:var(--header-text);margin-bottom:.5rem}.login-box input,.login-box select{border:1px solid var(--panel-border);background:var(--bg);color:var(--text);padding:.7rem}.login-button{background:var(--accent);color:#fff;cursor:pointer;border:none;padding:.7rem;transition:all .2s}.login-button:hover{opacity:.85}.login-error{color:var(--md-danger,#d32f2f);text-align:center}.modal-overlay{z-index:1000;background:#00000080;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:fixed;top:0;left:0}.modal-content{background:var(--panel);border-radius:var(--card-radius);box-sizing:border-box;flex-direction:column;gap:1rem;width:600px;max-width:90%;padding:2rem;display:flex}.modal-content h3{color:var(--header-text)}.modal-buttons{justify-content:flex-end;gap:.5rem;display:flex}@media (max-width:768px){.modal-content{width:90%;padding:1.5rem}}button:disabled{opacity:.4;cursor:not-allowed}.nav-dropdown{display:inline-block;position:relative}.nav-dropdown-button{cursor:pointer}.nav-dropdown-menu{background:var(--panel);border:1px solid var(--panel-border);z-index:1000;border-radius:6px;min-width:200px;padding:6px;position:absolute;top:100%;left:0;box-shadow:0 4px 12px #00000026}.nav-dropdown-menu button{text-align:left;cursor:pointer;background:0 0;border:none;border-radius:4px;width:100%;padding:10px 12px;display:block}.nav-dropdown-menu button:hover{background:var(--hover-bg)}.app-layout{min-height:100vh}.app.top{flex-direction:column;min-height:100vh;display:flex}.app.top .dashboard{flex-direction:row;justify-content:space-between;align-items:center;display:flex}.app.top .nav{flex-direction:row;align-items:center;gap:8px;display:flex}.app.top .content{flex:1}.app.side{flex-direction:row;align-items:flex-start;min-height:100vh;display:flex}.app.side .dashboard{border-right:1px solid var(--border-color,#333);flex-direction:column;flex-shrink:0;align-items:stretch;width:240px;height:auto;padding:1rem;display:flex}.app.side .nav,.app.side .logo-row{flex-direction:column;gap:8px;margin-top:.5rem;display:flex}.app.side .nav button{text-align:left;width:100%}.app.side .nav-dropdown-menu{flex-direction:column;margin-left:8px;display:flex;position:static}.app.side .content{flex:1;padding:1.5rem;overflow-y:auto}.nav button,.nav .nav-dropdown,.nav .nav-dropdown-button{box-sizing:border-box;text-align:center}.nav .nav-dropdown{width:160px}.nav .nav-dropdown-button{width:100%}.nav-dropdown-menu button{box-sizing:border-box;width:100%}.app.side .nav button,.app.side .nav .nav-dropdown,.app.side .nav .nav-dropdown-button{width:100%}.logo{flex-direction:column;align-items:flex-start;display:flex}.logo-row{align-items:center;gap:6px;display:flex}.today-date{opacity:.7;margin-top:2px;font-size:.85rem}.pagination-dots{justify-content:center;align-items:center;gap:8px;margin-top:-1rem;margin-bottom:1rem;display:flex}.pagination-dots .dot{background:var(--panel-border);cursor:pointer;border:none;border-radius:50%;width:15px;height:15px;transition:transform .2s,background .2s}.pagination-dots .dot.active{background:var(--header-text);transform:scale(1.3)}.sortdir{border-radius:var(--cell-radius);border:1px solid var(--panel-border);background:var(--bg-cell);color:var(--text);cursor:pointer;white-space:nowrap;padding:8px 14px;font-size:.9rem;font-weight:500;transition:all .15s}.sortdir:hover{background:var(--hover-bg)}@media (max-width:1024px){.widget-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:768px){.dashboard{flex-direction:column;align-items:flex-start;gap:1rem;height:auto;padding:1rem}.nav{flex-wrap:wrap;gap:.5rem}.widget-grid{grid-template-columns:1fr}.content{padding:1rem}.login-box{padding:1.5rem}}@media (max-width:480px){.logo{font-size:1.6rem}.logo-icon{font-size:1.8rem}.today-date{font-size:.9rem}.nav button,.theme-toggle{padding:.5rem .8rem;font-size:.9rem}.widget-value{font-size:1.5rem}.widget h3{font-size:1rem}.modal-content,.login-box{padding:1rem}}@media (max-width:414px){.widget-grid{grid-template-columns:1fr;gap:1rem;margin-top:1rem}.widget{width:100%;max-width:95%;padding:.8rem}.widget h3{font-size:1rem}.widget-value{font-size:1.5rem}}@media screen and (min-width:2560px){.login-box{max-width:15vw!important;height:10vw!important}.login-box h2{font-size:60px}.login-box input,.login-box select,.login-button{font-size:17px}.widget-grid{grid-template-columns:repeat(5,1fr);gap:1.5rem}}@media screen and (min-width:3840px){.login-box{max-width:20vw!important;height:15vw!important}.widget{min-height:972px}.widget h3{font-size:2.5rem}.dashboard{height:135px}.logo{font-size:4rem}.logo-icon{font-size:4.4rem}.today-date,.nav button{font-size:2rem}.btn-primary,.btn-danger,.btn-secondary{font-size:28px}.widget-grid{grid-template-columns:repeat(6,1fr)}.widget-meta{font-size:1.9rem}.app.side h1,.app.side .logo-icon{font-size:2rem}.widget-top{display:block}.widget-top h2{font-size:2.5rem}.pagination-dots .dot{width:35px;height:35px}.edit-btn{font-size:2rem!important}.app.side .dashboard{width:370px}.sortdir{font-size:1.7rem}}@media screen and (orientation:portrait) and (min-width:1080px){.dashboard{flex-direction:column;align-items:flex-start;gap:.5rem;height:auto}.logo{font-size:1.8rem}.nav{flex-wrap:wrap;gap:.5rem}.content{padding:1rem}.widget-grid{grid-template-columns:repeat(2,1fr);gap:1rem}.widget{padding:.8rem}.widget h3{font-size:1rem}.widget-value{font-size:1.6rem}.nav{display:none}.dashboard:hover .nav{display:flex}html{font-size:20px}}@media screen and (orientation:portrait) and (min-width:1440px){.widget-grid{grid-template-columns:repeat(3,1fr);gap:1rem}}@media screen and (orientation:portrait) and (min-width:2160px){.widget-grid{grid-template-columns:repeat(4,1fr);gap:1rem}}button,input,select,textarea{font-family:inherit}input,select,textarea{color:var(--control-text);background-color:var(--control-bg);border:1px solid var(--control-border);border-radius:var(--control-radius)}input::placeholder,textarea::placeholder{color:var(--muted-text);opacity:.8}input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}input:disabled,select:disabled,textarea:disabled{opacity:.6;cursor:not-allowed}.btn-primary,.btn-secondary,.btn-danger,.sortdir,.theme-toggle,.nav button{border-radius:var(--control-radius);font-family:inherit;font-weight:500}.modal-overlay{background:var(--overlay-bg)}.modal-content{border:1px solid var(--panel-border);box-shadow:var(--panel-shadow);max-height:calc(100vh - 32px);overflow-y:auto}.modal-content input,.modal-content select,.modal-content textarea{min-height:36px;padding:8px 10px}.modal-buttons button{border-radius:var(--control-radius);min-height:36px;font:inherit;cursor:pointer;padding:8px 14px}:root{--status-green-bg:#d6ffe0;--status-green-text:#0f7a1a;--status-green-border:#35c759;--status-yellow-bg:#fff4cc;--status-yellow-text:#7a5a00;--status-yellow-border:#f5b700;--status-red-bg:#ffe6e6;--status-red-text:#b30000;--status-red-border:#d93030;--status-weekend:#c62828}:root[data-theme=dark]{--status-green-bg:#1f3d2a;--status-green-text:#8eff9b;--status-yellow-bg:#3b2f12;--status-yellow-text:#ffd966;--status-red-bg:#3a1f1f;--status-red-text:#ffb3b3;--status-weekend:#ff8a8a}@media (max-width:768px){.app.side{flex-direction:column;min-height:100vh}.app.side .dashboard{border-right:0;border-bottom:1px solid var(--panel-border);flex-direction:column;align-items:stretch;width:100%;height:auto}.app.side .nav,.app.side .logo-row{flex-flow:wrap}.app.side .content{width:100%;min-width:0;padding:1rem;overflow:visible}.widget-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.modal-content{width:calc(100% - 24px);max-width:600px;padding:1.25rem}.modal-buttons{flex-wrap:wrap}}@media (max-width:480px){.app.side .dashboard,.app.side .content,.content{padding:.75rem}.widget-grid{grid-template-columns:minmax(0,1fr);gap:.75rem}.widget{max-width:100%;padding:.8rem}.nav{width:100%}.nav button,.nav .nav-dropdown{max-width:100%}.modal-content{width:calc(100% - 16px);padding:1rem}.modal-buttons{justify-content:stretch}.modal-buttons button{flex:auto}}
