:root { color-scheme: light; font-family: "Segoe UI", "Microsoft JhengHei", sans-serif; color: #17231e; background: #eef3ef; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 15% 0%, #dcebdc 0, transparent 35%), #eef3ef; }
button, input, select, textarea { font: inherit; }
.shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 60px; }
.brand { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.brand p, .brand h1 { margin: 0; }.brand p { color: #65726b; font-size: 13px; }.brand h1 { font-size: 21px; }
.mark { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: white; font-weight: 800; background: #226244; box-shadow: 0 8px 24px #22624433; }
.status { margin-left: auto; padding: 7px 11px; border-radius: 999px; background: #dce8df; color: #366047; font-size: 13px; }
.status.bad { background: #fae1df; color: #9a3029; }
.card { background: #fff; border: 1px solid #dfe6e1; border-radius: 18px; box-shadow: 0 12px 38px #2443330d; padding: 24px; }
.login-card { width: min(450px, 100%); margin: 8vh auto 0; padding: 34px; }
h2 { margin: 4px 0 8px; font-size: 24px; }.eyebrow { margin: 0; color: #2d7955; font-weight: 700; font-size: 12px; letter-spacing: .12em; }.muted { color: #6b7770; }
form { display: grid; gap: 16px; margin-top: 24px; } label { display: grid; gap: 7px; font-size: 14px; font-weight: 650; }
input, select, textarea { width: 100%; border: 1px solid #cad5ce; border-radius: 10px; padding: 11px 12px; background: #fbfcfb; color: #17231e; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid #3e8b6330; border-color: #3e8b63; }
button { border: 0; border-radius: 10px; padding: 11px 15px; background: #226244; color: white; font-weight: 700; cursor: pointer; }
button:hover { background: #174c34; } button:disabled { opacity: .5; cursor: not-allowed; }.secondary { background: #edf3ef; color: #315442; }.secondary:hover { background: #dde9e1; }
.error { min-height: 20px; color: #ad332d; }.message { min-height: 20px; color: #226244; }
.toolbar, .section-title { display: flex; justify-content: space-between; align-items: center; gap: 16px; }.toolbar { margin-bottom: 18px; }
.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 18px; }.metric span { color: #68766e; }.metric strong { display: block; margin-top: 10px; font-size: 32px; }
#admin-content { display: grid; gap: 18px; }.form-grid { grid-template-columns: repeat(4, 1fr) auto; align-items: end; }.form-grid button { height: 43px; }
.table-wrap { overflow-x: auto; margin-top: 18px; } table { width: 100%; border-collapse: collapse; } th, td { padding: 13px 10px; border-bottom: 1px solid #edf0ee; text-align: left; white-space: nowrap; } th { color: #647169; font-size: 12px; text-transform: uppercase; }
.person strong, .person span { display: block; }.person span { color: #758078; font-size: 13px; margin-top: 3px; }.badge { display: inline-block; padding: 5px 8px; border-radius: 999px; background: #e5f1e9; color: #276044; font-size: 12px; }.badge.disabled { background: #f3e7e5; color: #934039; }
.actions { display: flex; gap: 7px; }.actions button { padding: 7px 9px; font-size: 12px; }
.module-nav { display: flex; gap: 8px; margin-top: 18px; padding: 8px; }.module-tab { flex: 1; background: transparent; color: #52645a; }.module-tab.active { background: #226244; color: white; }
.owner-panel { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-top: 18px; }.owner-panel label { width: min(380px, 100%); }
.module-grid { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(420px, 1.2fr); gap: 18px; margin-top: 18px; scroll-margin-top: 18px; }.module-grid > .card { align-self: start; }
.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.form-actions { display: flex; gap: 9px; }
.check-list { display: grid; gap: 8px; margin-top: 8px; }.check-option { display: flex; grid-template-columns: none; align-items: center; gap: 8px; font-weight: 500; }.check-option input { width: auto; } fieldset { border: 1px solid #cad5ce; border-radius: 10px; padding: 12px; } legend { padding: 0 6px; font-size: 14px; font-weight: 650; }
.record-list { display: grid; gap: 10px; margin-top: 18px; }.record { border: 1px solid #e1e8e3; border-radius: 13px; padding: 16px; }.record-head { display: flex; justify-content: space-between; gap: 14px; align-items: start; }.record h3 { margin: 0 0 5px; }.record p { margin: 5px 0; color: #66736b; white-space: pre-wrap; }.record-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }.record-empty { padding: 40px 10px; text-align: center; color: #78837d; }
.record p.script-warning { margin: 10px 0; padding: 10px 12px; border: 1px solid #e6a19b; border-radius: 9px; background: #fff0ee; color: #a82f28; font-weight: 700; }
.ai-status { margin: 12px 0 18px; padding: 10px 12px; border-radius: 9px; background: #e5f1e9; color: #276044; }.ai-status.bad { background: #fff0ee; color: #a82f28; }.content-record textarea[readonly] { background: #f2f5f3; color: #445048; }
.schedule-editor{display:flex;align-items:end;gap:10px;flex-wrap:wrap;width:100%;margin:12px 0;padding:12px;border:1px solid #d7e4db;border-radius:10px;background:#f7faf8}.schedule-editor[hidden]{display:none!important}.schedule-editor label{min-width:260px;flex:1}.schedule-error{width:100%;margin:0!important;color:#a82f28!important;font-weight:700}
@media (max-width: 800px) { .summary-grid { grid-template-columns: 1fr; }.form-grid, .module-grid { grid-template-columns: 1fr; }.toolbar, .owner-panel { align-items: flex-start; flex-direction: column; }.two-columns { grid-template-columns: 1fr; } }
.readiness-result{min-height:0;margin:8px 0!important;padding:0}.readiness-result.good,.readiness-result.bad{padding:10px 12px;border-radius:9px;font-weight:700}.readiness-result.good{background:#e5f1e9;color:#276044!important}.readiness-result.bad{background:#fff0ee;color:#a82f28!important}
