.site-panel{width:100%;max-width:320px;background:#fff;border-right:1px solid #e5e7eb;min-height:100vh;padding:1rem 1.25rem;display:flex;flex-direction:column;gap:1rem}.panel-header{display:flex;align-items:center;justify-content:space-between}.panel-header h2{margin:0}.panel-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.5rem}.panel-tab{border:1px solid #e5e7eb;background:#f9fafb;border-radius:10px;padding:.55rem .75rem;text-align:center;font-weight:700;color:#0f172a;cursor:pointer;transition:all .2s ease}.panel-tab.active{background:#2563eb;color:#fff;border-color:#2563eb;box-shadow:0 10px 25px #2563eb26}.link-btn{border:none;background:none;color:#2563eb;font-weight:600;padding:0}.site-form{display:grid;gap:.75rem;background:#f8fafc;padding:.75rem;border-radius:10px}.site-form label{display:grid;gap:.35rem;font-weight:600}.site-form input{padding:.5rem .6rem;border-radius:6px;border:1px solid #cbd5f5}.site-form button{border:none;padding:.6rem;border-radius:6px;background:#16a34a;color:#fff;font-weight:600}.site-list{list-style:none;padding:0;margin:0;display:grid;gap:.5rem}.site-list li button{width:100%;text-align:left;border:1px solid #e5e7eb;border-radius:8px;padding:.7rem .8rem;background:#f9fafb;display:grid}.site-list li button.active{border-color:#2563eb;background:#dbeafe}.site-name{font-weight:600}.site-location{font-size:.85rem;color:#4b5563}.empty{color:#6b7280;font-style:italic}@media(max-width:900px){.site-panel{max-width:none;min-height:auto;border-right:none;border-bottom:1px solid #e5e7eb}}.asset-card{background:#fff;border-radius:14px;border:1px solid #e5e7eb;padding:1rem 1.25rem;display:grid;gap:.75rem;box-shadow:0 12px 32px #0f172a0d}.asset-card header h3{margin:0}.asset-type{margin:.25rem 0 0;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#6366f1}.meta{margin:.2rem 0 0;color:#4b5563;font-size:.9rem}.latest{background:#f8fafc;border-radius:10px;padding:.75rem}.latest h4{margin:0 0 .4rem;font-size:.95rem}.latest ul{margin:0;padding-left:1rem;color:#1f2937;font-size:.9rem}.card-actions{display:flex;flex-wrap:wrap;gap:.5rem}.card-actions button{border:none;border-radius:8px;background:#2563eb;color:#fff;font-weight:600;padding:.55rem .9rem;cursor:pointer;transition:background .2s ease}.card-actions button:hover{background:#1d4ed8}.card-actions .secondary{background:#eef2ff;color:#312e81}.card-actions .secondary:hover{background:#e0e7ff}.card-actions .ghost{background:#fff;color:#1f2937;border:1px solid #d1d5db}.card-actions .ghost:hover{background:#f9fafb}.empty{color:#6b7280;font-size:.9rem;margin:0}.modal-backdrop{position:fixed;inset:0;background:#0f172a8c;display:grid;place-items:center;padding:1.5rem;z-index:1000}.modal-container{width:min(900px,100%);background:#fff;border-radius:16px;box-shadow:0 20px 60px #0f172a40;display:flex;flex-direction:column;gap:1.25rem;padding:1.5rem}.modal-header{display:flex;justify-content:space-between;align-items:center;gap:1rem}.modal-header h3{margin:0;font-size:1.3rem}.modal-close{border:none;background:transparent;font-size:1.5rem;line-height:1;padding:.25rem;cursor:pointer;color:#475569}.modal-close:disabled{opacity:.4;cursor:not-allowed}.modal-body{display:grid;gap:1rem}.modal-footer{display:flex;justify-content:flex-end;gap:.5rem}.modal-footer button{border:none;border-radius:8px;padding:.55rem .9rem;font-weight:600;cursor:pointer;transition:background .2s ease}.modal-footer button:not(.secondary){background:#2563eb;color:#fff}.modal-footer button:not(.secondary):hover:not(:disabled){background:#1d4ed8}.modal-footer .secondary{background:#e5e7eb;color:#1f2937}.modal-footer .secondary:hover:not(:disabled){background:#d1d5db}.modal-footer button:disabled{opacity:.6;cursor:not-allowed}.history-chart{display:grid;gap:1rem}.history-chart-canvas{position:relative}.history-chart svg{width:100%;height:auto;background:#fff;border-radius:12px;box-shadow:inset 0 0 0 1px #e2e8f0}.history-chart-legend{display:flex;gap:1rem;flex-wrap:wrap;font-size:.9rem}.history-chart-legend-item{display:inline-flex;align-items:center;gap:.5rem;color:#1f2937}.history-chart-legend-swatch{display:inline-block;width:12px;height:12px;border-radius:999px}.history-chart-tooltip{position:absolute;transform:translate(-50%,calc(-100% - 12px));background:#0f172a;color:#f8fafc;padding:.5rem .75rem;border-radius:10px;box-shadow:0 10px 20px #0f172a40;font-size:.85rem;line-height:1.3;text-align:center;pointer-events:none;white-space:nowrap;z-index:1}.history-chart-tooltip-label{font-weight:600}.history-chart-tooltip-value{font-size:1rem}.history-chart-tooltip-time{opacity:.85}.history-chart-empty{display:grid;place-items:center;min-height:200px;background:#f1f5f9;border-radius:12px;border:1px dashed #cbd5f5;color:#475569;font-size:.95rem}.site-detail{flex:1;padding:1.5rem 2rem;display:flex;flex-direction:column;gap:2rem}.site-header{display:flex;justify-content:space-between;align-items:center;gap:1rem}.site-header h1{margin:0}.asset-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.empty-state{flex:1;display:grid;place-items:center;text-align:center;padding:3rem 1.5rem}.site-actions{display:grid;gap:.5rem}.site-actions h2,.feature-summary h2{margin:0;font-size:1.2rem}.actions-help{margin:0;color:#4b5563;font-size:.9rem}.site-actions-buttons{display:flex;flex-wrap:wrap;gap:.5rem}.site-actions-buttons button{border:none;border-radius:8px;background:#16a34a;color:#fff;font-weight:600;padding:.55rem .9rem;cursor:pointer;transition:background .2s ease}.site-actions-buttons button:hover{background:#15803d}.feature-summary{display:grid;gap:.75rem}.feature-filters{display:flex;flex-wrap:wrap;gap:.5rem}.filter-button{border:1px solid #d1d5db;border-radius:999px;background:#fff;color:#1f2937;padding:.45rem .9rem;font-weight:600;cursor:pointer;transition:background .2s ease,color .2s ease,border-color .2s ease}.filter-button:hover{background:#f3f4f6}.filter-button.active{background:#2563eb;border-color:#2563eb;color:#fff}.history-status,.history-empty{margin:0;font-size:.95rem;color:#4b5563}.history-table-wrapper{max-height:340px;overflow:auto;border:1px solid #e5e7eb;border-radius:12px;background:#fff}.history-table{width:100%;border-collapse:collapse;font-size:.9rem}.history-table th,.history-table td{padding:.65rem .75rem;text-align:left;border-bottom:1px solid #e5e7eb}.history-table th{background:#f8fafc;position:sticky;top:0;z-index:1}.history-actions-column{text-align:right;white-space:nowrap;width:1%}.history-delete-button{border:1px solid #dc2626;border-radius:8px;background:#fee2e2;color:#b91c1c;font-weight:600;padding:.35rem .75rem;cursor:pointer;transition:background .2s ease,color .2s ease,border-color .2s ease}.history-delete-button:hover:enabled{background:#fecaca}.history-delete-button:disabled{opacity:.6;cursor:not-allowed}.history-no-actions{color:#6b7280;font-size:.85rem}.history-table tbody tr:last-child td{border-bottom:none}.history-row-deleting{background:#f3f4f6;color:#6b7280;pointer-events:none;opacity:.7}.history-pagination{margin-top:.75rem;display:flex;flex-wrap:wrap;gap:.75rem;justify-content:space-between;align-items:center;font-size:.9rem}.history-pagination-buttons{display:flex;gap:.5rem}.history-pagination button{border:none;border-radius:8px;background:#2563eb;color:#fff;font-weight:600;padding:.5rem .85rem;cursor:pointer;transition:background .2s ease,opacity .2s ease}.history-pagination button:hover:enabled{background:#1d4ed8}.history-pagination button:disabled{opacity:.6;cursor:not-allowed}.history-pagination button.secondary{background:#eef2ff;color:#312e81}.history-pagination button.secondary:hover:enabled{background:#e0e7ff}.history-fullscreen{position:fixed;inset:0;background:#f8fafc;z-index:40;display:flex;flex-direction:column;padding:2rem 2.5rem;overflow-y:auto}.history-fullscreen-header{display:flex;justify-content:space-between;align-items:center;gap:1rem}.history-fullscreen-actions{display:flex;align-items:center;gap:.75rem}.history-fullscreen-header h2{margin:0}.history-fullscreen-subtitle{margin:.25rem 0 0;color:#4b5563;font-size:.95rem}.history-close-button{border:none;border-radius:999px;background:#1f2937;color:#fff;font-weight:600;padding:.5rem 1rem;cursor:pointer;transition:background .2s ease}.history-close-button:hover{background:#111827}.site-detail button.secondary{border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#1f2937;font-weight:600;padding:.45rem .85rem;cursor:pointer;transition:background .2s ease,color .2s ease,border-color .2s ease}.site-detail button.secondary:hover:enabled{background:#f3f4f6}.history-table-controls{margin-bottom:.75rem;display:flex;flex-wrap:wrap;gap:.75rem;align-items:flex-end;justify-content:space-between}.history-table-filter{display:flex;flex-wrap:wrap;gap:.75rem;align-items:flex-end;flex:1 1 260px}.history-table-filter label{display:grid;gap:.35rem;font-size:.85rem;color:#374151}.history-table-filter input{border:1px solid #d1d5db;border-radius:8px;padding:.45rem .55rem;font-size:.9rem}.history-table-buttons{display:flex;gap:.5rem}.history-table-buttons button{border:none;border-radius:8px;background:#2563eb;color:#fff;font-weight:600;padding:.5rem .85rem;cursor:pointer;transition:background .2s ease,opacity .2s ease}.history-table-buttons button:hover:enabled{background:#1d4ed8}.history-table-buttons button:disabled{opacity:.6;cursor:not-allowed}.history-table-buttons button.secondary{background:#eef2ff;color:#312e81}.history-table-buttons button.secondary:hover:enabled{background:#e0e7ff}.history-download-button{border:1px solid #2563eb;border-radius:8px;background:#fff;color:#2563eb;font-weight:600;padding:.5rem .85rem;cursor:pointer;transition:background .2s ease,color .2s ease,opacity .2s ease;align-self:flex-end}.history-download-button:hover:enabled{background:#2563eb;color:#fff}.history-download-button:disabled{opacity:.6;cursor:not-allowed}.history-controls-error{margin-top:-.4rem;margin-bottom:.5rem}.history-fullscreen-body{flex:1;display:flex;flex-direction:column;gap:1.5rem;margin-top:1.5rem}.history-table-view{display:grid;gap:1rem}.history-operator-filter{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .75rem;justify-content:space-between}.history-operator-label{font-weight:700;color:#111827}.history-operator-buttons{display:flex;flex-wrap:wrap;gap:.5rem}.history-operator-button{border:1px solid #d1d5db;border-radius:999px;background:#fff;color:#1f2937;font-weight:600;padding:.45rem .9rem;cursor:pointer;transition:background .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease}.history-operator-button:hover:enabled{background:#f3f4f6}.history-operator-button:disabled{opacity:.65;cursor:not-allowed}.history-operator-button.active{background:#eef2ff;border-color:#4f46e5;color:#312e81;box-shadow:0 0 0 2px #e0e7ff}.history-chart-view{display:grid;gap:1rem}.history-chart-controls{display:flex;flex-wrap:wrap;align-items:flex-end;gap:1rem}.history-chart-controls label{display:grid;gap:.35rem;font-weight:600}.history-chart-controls input{border:1px solid #cbd5f5;border-radius:8px;padding:.4rem .5rem;font-size:.95rem}.history-chart-buttons{display:flex;gap:.5rem}.history-chart-buttons button{border:none;border-radius:8px;background:#2563eb;color:#fff;font-weight:600;padding:.5rem .9rem;cursor:pointer;transition:background .2s ease}.history-chart-buttons button:hover:enabled{background:#1d4ed8}.history-chart-buttons .secondary{border:1px solid #d1d5db;background:#fff;color:#1f2937}.history-chart-buttons .secondary:hover:enabled{background:#f3f4f6}.history-fullscreen-body .history-table-wrapper{max-height:none}.bulk-controls{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));margin-bottom:.75rem}.bulk-controls label{display:grid;gap:.35rem;font-weight:600}.bulk-controls select,.bulk-controls input[type=file],.bulk-controls .timezone-select input{border:1px solid #cbd5f5;border-radius:8px;padding:.45rem .5rem;font-size:.95rem;width:100%;box-sizing:border-box}.bulk-upload input[type=file]{padding:.35rem .45rem}.bulk-grid-wrapper{border:1px solid #e5e7eb;border-radius:10px;overflow:auto;max-height:420px}.bulk-grid{width:100%;min-width:760px;border-collapse:collapse}.bulk-grid th,.bulk-grid td{border-bottom:1px solid #e5e7eb;padding:.45rem;text-align:left}.bulk-comment-column{min-width:240px}.bulk-actions-column{width:120px;text-align:center}.bulk-grid th{background:#f3f4f6;position:sticky;top:0;z-index:1}.bulk-row-assumed td{background:#fef9c3}.bulk-grid input{width:100%;box-sizing:border-box;border:1px solid #cbd5f5;border-radius:8px;padding:.45rem .5rem}.bulk-grid input.input-error{border-color:#dc2626;background:#fef2f2}.bulk-delete-button{border:1px solid #e5e7eb;border-radius:8px;padding:.35rem .65rem;background:#fff;color:#dc2626;font-weight:600;cursor:pointer;transition:background .2s ease,border-color .2s ease}.bulk-delete-button:enabled:hover{background:#fef2f2;border-color:#fca5a5}.bulk-delete-button:disabled{opacity:.6;cursor:not-allowed}.bulk-helper-text{margin-top:.6rem;color:#4b5563;font-size:.95rem}.bulk-import-notice{margin:.5rem 0 0;color:#2563eb;font-size:.9rem}.modal-form{display:grid;gap:.75rem}.modal-form label{display:grid;gap:.35rem;font-weight:600}.modal-form input,.modal-form textarea{border:1px solid #cbd5f5;border-radius:8px;padding:.55rem .6rem;font-size:1rem}.modal-form textarea{resize:vertical}.form-error{margin:0;color:#dc2626;font-size:.85rem}.operator-reminder{margin:0;font-size:.85rem;color:#4b5563}@media(max-width:900px){.site-detail{padding:1rem}.site-header{flex-direction:column;align-items:flex-start}}.user-management{padding:1rem 1.5rem;display:flex;flex-direction:column;gap:1rem;flex:1;overflow:hidden}.header-row{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.eyebrow{text-transform:uppercase;letter-spacing:.05em;font-weight:700;color:#2563eb;font-size:.85rem}.user-management h2{margin:.2rem 0;font-size:1.6rem}.header-actions{display:flex;align-items:center}.primary-button{background:#2563eb;color:#fff;border:none;border-radius:10px;padding:.65rem 1rem;font-weight:700;cursor:pointer;box-shadow:0 12px 28px #2563eb2e}.primary-button:hover{background:#1d4ed8}.user-management .description{margin:0;color:#475569}.grid{display:grid;gap:1rem}.user-grid{grid-template-columns:1fr;min-height:0;max-height:100%}.card{background:#fff;padding:1rem;border-radius:12px;box-shadow:0 10px 25px #0f172a14;border:1px solid #e2e8f0}.card-header{font-weight:700;margin-bottom:.75rem;color:#0f172a}.card label{display:flex;flex-direction:column;gap:.35rem;font-weight:600;color:#0f172a;margin-bottom:.75rem}.card input[type=text],.card input[type=email],.card input[type=tel],.card input[type=search],.card select{padding:.5rem .6rem;border-radius:8px;border:1px solid #cbd5e1;background:#f8fafc;font-size:.95rem}.card select{cursor:pointer}.card button{background:#2563eb;color:#fff;border:none;border-radius:8px;padding:.6rem .9rem;font-weight:700;cursor:pointer;box-shadow:0 8px 18px #2563eb26}.card button:disabled{opacity:.7;cursor:not-allowed}.checkbox{flex-direction:row!important;align-items:center;gap:.5rem!important}.form-error{color:#b91c1c;margin-bottom:.6rem;font-weight:600}.user-list table{width:100%;border-collapse:collapse;font-size:.95rem;min-width:960px}.user-list th,.user-list td{text-align:left;padding:.5rem .35rem;border-bottom:1px solid #e2e8f0}.user-list th{color:#475569;font-weight:700}.user-list .muted{color:#94a3b8}.status-pill{display:inline-flex;align-items:center;gap:.25rem;padding:.2rem .6rem;border-radius:999px;font-weight:700;font-size:.85rem;background:#e2e8f0;color:#0f172a}.status-pill.success{background:#ecfdf3;color:#166534}.timezone-select{width:100%}.timezone-select input{width:100%;padding:.35rem .5rem;border-radius:8px;border:1px solid #cbd5e1;background:#f8fafc}.user-list .timezone-select{min-width:160px}.user-list .timezone-select input,.user-list select{font-size:.9rem}.user-list select{padding:.35rem .5rem;border-radius:8px;border:1px solid #cbd5e1;background:#f8fafc}.user-list{display:flex;flex-direction:column;min-height:360px;max-height:100%}.table-scroll{flex:1;overflow:auto;max-height:calc(100vh - 320px)}.link{background:none;border:none;color:#2563eb;cursor:pointer;font-weight:700}.link:disabled{color:#94a3b8;cursor:not-allowed}.action-buttons{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center}.loading.muted{color:#475569}.modal-form{display:grid;gap:.85rem}.modal-form label{display:flex;flex-direction:column;gap:.35rem;font-weight:600;color:#0f172a}.modal-form input[type=text],.modal-form input[type=email],.modal-form input[type=tel],.modal-form select{padding:.5rem .6rem;border-radius:8px;border:1px solid #cbd5e1;background:#f8fafc;font-size:.95rem}@media(max-width:960px){.grid{grid-template-columns:1fr}}.login-container{margin:0 auto;padding:3rem 1.5rem;max-width:420px;text-align:center}.login-container h1{margin-bottom:.5rem;font-size:2rem}.login-container .tagline{margin:0 auto 2rem;color:#4b5563;font-size:.95rem}.card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 10px 25px #0f172a14;display:grid;gap:.75rem;text-align:left}.card label{font-weight:600}.card input,.card select{padding:.6rem .75rem;border:1px solid #cbd5f5;border-radius:8px;background-color:#f8fafc}.card input:focus,.card select:focus{outline:2px solid #2563eb33;border-color:#2563eb}.card button{padding:.7rem;border-radius:8px;border:none;font-weight:600;background:#2563eb;color:#fff}.card button:hover{background:#1d4ed8}.error{color:#dc2626;font-size:.85rem;margin:0}.access-notice{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f5f7fa,#e4efff);padding:2rem}.access-card{background:#fff;border-radius:12px;box-shadow:0 8px 30px #0000001f;padding:2rem;max-width:520px;width:100%;text-align:center;border:1px solid #d6e4ff}.access-card h1{margin-bottom:1rem;font-size:1.6rem;color:#1a3d7c}.notice-message{margin:0 auto 1.5rem;font-size:1.05rem;color:#2d3748}.language-picker{display:flex;align-items:center;gap:.75rem;justify-content:center;margin-bottom:1.5rem;color:#1a202c;font-weight:600}.language-picker select{padding:.5rem .75rem;border-radius:8px;border:1px solid #cbd5e0;font-size:1rem}.notice-actions{display:flex;justify-content:center}.notice-actions button{padding:.75rem 1.25rem}.app-shell{display:flex;min-height:100vh;background:linear-gradient(180deg,#f8fafc,#eef2ff);color:#0f172a}.content{flex:1;display:flex;flex-direction:column;background:transparent}.content-header{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.5rem 0}.user-session{display:flex;align-items:center;gap:.75rem;background:#fff;padding:.6rem .9rem;border-radius:12px;box-shadow:0 10px 25px #0f172a14;border:1px solid #e2e8f0}.user-meta{display:flex;flex-direction:column;line-height:1.25;color:#0f172a}.user-meta .role{font-size:.9rem;color:#475569}.toggle-panel{border:none;background:#2563eb;color:#fff;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;cursor:pointer;box-shadow:0 10px 25px #2563eb26;transition:background .2s ease,transform .2s ease}.chevron{width:.4rem;height:.4rem;border:solid #ffffff;border-width:0 2px 2px 0;display:inline-block;padding:5px;transform:rotate(135deg);transition:transform .2s ease}.chevron.right{transform:rotate(-45deg)}button.secondary{background:transparent;border:1px solid #cbd5e1;color:#0f172a;border-radius:8px;padding:.45rem .75rem;font-weight:600}button.secondary:hover{background:#f8fafc}.settings-panel{display:inline-flex;align-items:center;gap:.75rem;background:#fff;padding:.6rem .9rem;border-radius:12px;box-shadow:0 10px 25px #0f172a14;border:1px solid #e2e8f0;flex-wrap:wrap}.settings-panel label{display:flex;flex-direction:column;gap:.35rem;font-weight:600;color:#0f172a;font-size:.95rem}.settings-panel select{padding:.45rem .55rem;border-radius:8px;border:1px solid #cbd5e1;background:#f8fafc;font-size:.95rem}.settings-panel .timezone-select{min-width:220px}.settings-panel .timezone-select input{padding:.45rem .55rem;border-radius:8px;border:1px solid #cbd5e1;background:#f8fafc;font-size:.95rem}.settings-error{color:#991b1b;font-size:.9rem;font-weight:600;flex-basis:100%}.settings-title{font-weight:700;color:#1e293b;font-size:1rem}.toggle-panel:hover{background:#1d4ed8}.toggle-panel:active{transform:translateY(1px)}.banner{padding:.75rem 1rem;margin:1rem 1.5rem 0;border-radius:10px;font-weight:600}.banner.error{background:#fee2e2;color:#991b1b}.banner.success{background:#ecfdf3;color:#166534}.loading{flex:1;display:grid;place-items:center;font-size:1.1rem;color:#1f2937}@media(max-width:900px){.app-shell{flex-direction:column}.banner{margin:1rem}.content-header{justify-content:center;padding:1rem}}:root{color-scheme:light dark;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.4;font-size:16px;background-color:#f5f7fa;color:#1b1f23}body{margin:0;min-height:100vh}*{box-sizing:border-box}a{color:inherit}button{cursor:pointer}input,select,textarea{font:inherit}
