:root{color:#1f2937;background:#eef3f8;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{border:0;border-radius:8px;background:#2563eb;color:#fff;cursor:pointer;font-weight:700;min-height:44px;padding:0 18px;transition:background .2s ease,transform .2s ease}button:hover:not(:disabled){background:#1d4ed8;transform:translateY(-1px)}button:disabled{cursor:not-allowed;opacity:.7}input{min-width:0;border:1px solid #cbd5e1;border-radius:8px;padding:13px 14px;outline:none;transition:border-color .2s ease,box-shadow .2s ease}input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb24}h1,h2,p{margin:0}.page{min-height:100vh;padding:32px 16px}.shell{width:min(1180px,100%);margin:0 auto}.header{margin-bottom:24px}.admin-bar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:16px}.admin-bar span{color:#64748b;font-size:14px;font-weight:800}.eyebrow{margin:0 0 8px;color:#2563eb;font-size:14px;font-weight:700}h1{color:#111827;font-size:34px;line-height:1.2}h2{color:#111827;font-size:20px;line-height:1.3}.panel{border:1px solid #d9e2ef;border-radius:8px;background:#fff;box-shadow:0 16px 48px #1f293712;margin-top:18px;padding:24px}.airport-form{display:grid;grid-template-columns:minmax(160px,240px) minmax(260px,1fr) auto;gap:12px;align-items:end;margin-top:18px}label{color:#374151;font-weight:700}.airport-form label{display:none}.message{border-radius:8px;background:#eff6ff;color:#1d4ed8;line-height:1.5;margin-top:16px;padding:12px 14px}.login-page{display:grid;min-height:100vh;place-items:center}.login-panel{width:min(440px,100%);border:1px solid #e5e7eb;border-radius:8px;background:#fff;box-shadow:0 18px 60px #0f172a14;padding:28px}.login-panel h1{font-size:30px}.login-form{display:grid;gap:12px;margin-top:18px}.login-form label{color:#475569;font-size:13px;font-weight:800}.section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.secondary-button{border:1px solid #cbd5e1;background:#fff;color:#1f2937;min-width:96px}.secondary-button:hover:not(:disabled){background:#f8fafc}.danger-button{border:1px solid #fecaca;background:#fef2f2;color:#991b1b;min-width:96px}.danger-button:hover:not(:disabled){background:#fee2e2}.toolbar-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.row-actions{display:flex;flex-wrap:wrap;gap:8px;min-width:420px}.row-actions .secondary-button,.row-actions .danger-button{min-width:96px}.filter-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}.filter-tabs button{border:1px solid #cbd5e1;background:#fff;color:#334155;min-width:auto;padding:9px 12px}.filter-tabs button.active{border-color:#2563eb;background:#eff6ff;color:#1d4ed8}.inline-edit{display:grid;gap:8px;min-width:260px}.scheduler-status{display:grid;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}.scheduler-status div{border:1px solid #e5e7eb;border-radius:8px;background:#f8fafc;padding:14px}.scheduler-status .scheduler-running{grid-column:span 3;background:#ecfdf5;color:#166534}.scheduler-status span{display:block;color:#64748b;font-size:13px;font-weight:800;margin-bottom:8px}.scheduler-status strong{color:#111827;font-size:16px}.scheduler-status .scheduler-running strong{color:#166534}.notice-toggle{display:inline-flex;align-items:center;gap:10px;width:auto}.notice-toggle strong{border-radius:999px;background:#fee2e2;color:#991b1b;min-width:28px;padding:3px 8px}.notice-list{display:grid;gap:12px;margin-top:16px}.notice-item{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;padding:14px}.notice-item.unread{border-color:#fecaca;background:#fff7f7}.notice-item span,.notice-item small{display:block;color:#64748b;margin-top:4px}.notice-item p{color:#334155;line-height:1.5;margin-top:8px}.level-badge{display:inline-flex;width:fit-content;align-items:center;border-radius:999px;font-size:12px;font-weight:800;line-height:1;margin-top:8px;padding:5px 9px}.level-badge.low{background:#dcfce7;color:#166534}.level-badge.medium{background:#fef3c7;color:#92400e}.level-badge.high{background:#fee2e2;color:#991b1b}.notice-badge{display:inline-flex;align-items:center;border-radius:999px;font-size:13px;font-weight:800;min-height:28px;padding:0 10px;white-space:nowrap}.notice-badge.ok{background:#dcfce7;color:#166534}.notice-badge.warning{background:#fef3c7;color:#92400e}.notice-badge.danger{background:#fee2e2;color:#991b1b}.settings-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:12px;align-items:end;margin-top:18px}.system-settings-form{grid-template-columns:repeat(4,minmax(0,1fr)) auto auto}.system-settings-form #bark-url{min-width:220px}.file-button{display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.file-button input{display:none}.input-with-unit{display:flex;align-items:center;gap:8px}.input-with-unit input{width:100%}.input-with-unit span{color:#64748b;font-weight:800;white-space:nowrap}.checkbox-label{display:flex;align-items:center;gap:8px;min-height:44px}.checkbox-label input{width:18px;height:18px}.analysis-summary,.stats-grid{display:grid;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}.analysis-summary{border-bottom:1px solid #e5e7eb;padding-bottom:18px}.analysis-summary div,.stats-grid div{border:1px solid #e5e7eb;border-radius:8px;background:#f8fafc;padding:14px}.analysis-summary span,.stats-grid span{display:block;color:#64748b;font-size:13px;font-weight:800;margin-bottom:8px}.analysis-summary strong,.stats-grid strong{color:#111827;font-size:18px}.temporary-alert{border:1px solid #facc15;border-radius:8px;background:#fefce8;color:#854d0e;margin-top:16px;padding:14px}.temporary-alert p{line-height:1.5;margin-top:6px}.analysis-section{border-top:1px solid #e5e7eb;margin-top:18px;padding-top:18px}.analysis-section h3{color:#111827;font-size:18px;margin:0 0 14px}.trend-list{border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}.trend-header,.trend-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;padding:12px 14px}.trend-header{background:#f8fafc;color:#64748b;font-size:13px;font-weight:800}.trend-row{border-top:1px solid #e5e7eb;align-items:center}.trend-row strong{color:#111827}.change{font-weight:900}.change.down{color:#dc2626}.change.up{color:#16a34a}.change.flat{color:#64748b}.table-wrap{overflow-x:auto}table{width:100%;min-width:1120px;border-collapse:collapse}.history-table{min-width:900px}th,td{border-bottom:1px solid #e5e7eb;padding:14px 12px;text-align:left;vertical-align:middle}th{color:#64748b;font-size:13px;font-weight:800;white-space:nowrap}td{color:#1f2937;font-size:14px}td strong{display:block;color:#111827;font-size:15px;margin-bottom:4px}td small{display:block;max-width:280px;overflow:hidden;color:#64748b;text-overflow:ellipsis;white-space:nowrap}td small.warning-text{color:#a16207;font-weight:700}.status{display:inline-flex;align-items:center;border-radius:999px;font-size:13px;font-weight:800;min-height:28px;padding:0 10px;white-space:nowrap}.status.ok{background:#dcfce7;color:#166534}.status.bad,.status.invalid{background:#fee2e2;color:#991b1b}.status.temporary{background:#fef3c7;color:#92400e}.status.idle{background:#f1f5f9;color:#475569}.empty-state,.loading{border:1px dashed #cbd5e1;border-radius:8px;color:#64748b;padding:28px;text-align:center}.empty-state h2{margin-bottom:8px}@media (max-width: 760px){.page{padding:24px 12px}h1{font-size:28px}.panel{padding:18px}.airport-form{grid-template-columns:1fr}.airport-form label{display:block}.section-title{align-items:flex-start;flex-direction:column}.secondary-button,.danger-button,button,.toolbar-actions,.filter-tabs{width:100%}.filter-tabs button{flex:1 1 120px}.row-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;width:100%}.row-actions .secondary-button,.row-actions .danger-button{min-width:0;padding-inline:8px}.table-wrap{overflow-x:visible}table:not(.history-table),table:not(.history-table) thead,table:not(.history-table) tbody,table:not(.history-table) tr,table:not(.history-table) th,table:not(.history-table) td{display:block;min-width:0;width:100%}table:not(.history-table) thead{display:none}table:not(.history-table) tr{border:1px solid #e5e7eb;border-radius:8px;background:#fff;margin-bottom:12px;padding:10px}table:not(.history-table) td{display:grid;grid-template-columns:minmax(92px,32%) minmax(0,1fr);gap:12px;border-bottom:1px solid #f1f5f9;padding:10px 4px}table:not(.history-table) td:last-child{border-bottom:0}table:not(.history-table) td:before{content:attr(data-label);color:#64748b;font-size:13px;font-weight:800}table:not(.history-table) td small{max-width:100%;white-space:normal}.inline-edit{min-width:0}.notice-item{align-items:stretch;flex-direction:column}.settings-form,.analysis-summary,.stats-grid,.scheduler-status{grid-template-columns:1fr}.scheduler-status .scheduler-running{grid-column:span 1}}
