:root{--theme-ink:#203553;--theme-blue:#5578ad;--theme-light:#e7eef9;--theme-bg:#f1f5fb}
body{color:var(--theme-ink);background:radial-gradient(circle at top,#fff 0,#f1f5fb 62%,#e8eef7 100%)}
button:not(:disabled),a.primary-button,a.outline-button,.choice,.chat-option,.secondary-button,.logout-button,.range-button,.records-tabs button,.student-actions button,.icon-button{transition:transform .16s ease,box-shadow .16s ease,background .16s ease;box-shadow:0 5px 0 rgb(36 58 91 / 16%),0 9px 18px rgb(50 75 115 / 14%),inset 0 1px 0 rgb(255 255 255 / 75%)}
button:not(:disabled):hover,a.primary-button:hover,a.outline-button:hover,.choice:hover,.chat-option:hover,.secondary-button:hover,.logout-button:hover,.range-button:hover,.records-tabs button:hover,.student-actions button:hover,.icon-button:hover{transform:translateY(-2px);box-shadow:0 7px 0 rgb(36 58 91 / 16%),0 13px 22px rgb(50 75 115 / 18%),inset 0 1px 0 rgb(255 255 255 / 80%)}
button:not(:disabled):active,a.primary-button:active,a.outline-button:active,.choice:active,.chat-option:active,.secondary-button:active,.logout-button:active,.range-button:active,.records-tabs button:active,.student-actions button:active,.icon-button:active{transform:translateY(3px);box-shadow:0 2px 0 rgb(36 58 91 / 16%),0 4px 8px rgb(50 75 115 / 12%),inset 0 1px 2px rgb(30 50 80 / 12%)}
.brand-mark,.primary-button,.chat-actions .primary-button,.student-actions button.primary,.side-brand span,.admin-brand span{color:#fff;background:linear-gradient(145deg,#8da8d2,#5578ad)!important;box-shadow:0 5px 0 #3f5e8b,0 10px 20px rgb(47 79 125 / 25%),inset 0 1px 0 rgb(255 255 255 / 45%)}
.primary-button:hover{box-shadow:0 7px 0 #3f5e8b,0 14px 24px rgb(47 79 125 / 28%),inset 0 1px 0 rgb(255 255 255 / 50%)}
.tab.is-active,.choice.selected,.chat-option.selected,.records-tabs button.is-active{color:#2f4f7d!important;border-color:#91a9cf!important;background:linear-gradient(#f8fbff,#e5edf9)!important}
.side-nav,.admin-nav{background:#f8faff;border-color:#dce5f2}.side-nav a.active,.side-nav a:hover,.admin-nav a.active,.admin-nav a:hover{color:#2f4f7d;background:#e4edf9}.logout-button{color:#3f5d89;background:#edf2fa}.quiet-link,.record-action,.text-link{color:#496b9f}
input:focus{border-color:#7894c1;box-shadow:0 0 0 3px #dfe8f6}
button:not(:disabled),a[role="button"],a.primary-button,a.outline-button,.choice,.chat-option,.secondary-button,.logout-button,.range-button,.records-tabs button,.student-actions button,.icon-button,.quick-grid a,.quick-grid button,.card-action{position:relative;isolation:isolate}
button:focus-visible,a:focus-visible{outline:3px solid #9ab4dc;outline-offset:3px}
.quick-grid a,.quick-grid button,.card-action{box-shadow:0 5px 0 rgb(36 58 91 / 16%),0 9px 18px rgb(50 75 115 / 14%),inset 0 1px 0 rgb(255 255 255 / 75%)}
.quick-grid a:hover,.quick-grid button:hover,.card-action:hover{transform:translateY(-2px);box-shadow:0 7px 0 rgb(36 58 91 / 16%),0 13px 22px rgb(50 75 115 / 18%),inset 0 1px 0 rgb(255 255 255 / 80%)}
.quick-grid a:active,.quick-grid button:active,.card-action:active{transform:translateY(3px);box-shadow:0 2px 0 rgb(36 58 91 / 16%),0 4px 8px rgb(50 75 115 / 12%),inset 0 1px 2px rgb(30 50 80 / 12%)}
.report-shell{color:#203553}.report-profile{background:linear-gradient(135deg,#edf3fb,#fff)!important;border-color:#d7e2f0!important}.report-profile p,.report-profile .profile-chips span{color:#65748e}.profile-chips span{background:#f2f6fc!important;border:1px solid #dce5f2}.metric-grid>div,.overview-grid>div,.report-card,.health-note{border:1px solid #dce5f2!important;box-shadow:0 8px 20px rgb(50 75 115 / 10%)!important}.metric-grid strong,.overview-grid strong{color:#4261cd!important}.metric-grid small,.overview-grid small,.card-title span{color:#71809a!important}.temp-chart{background:repeating-linear-gradient(to top,transparent 0 44px,#e5ebf5 45px);border-color:#dce5f2}.temp-bar{background:linear-gradient(#7898d0,#c7d7f0)}.temp-bar span{color:#4261cd}.health-note{color:#55739f!important;background:#edf4ff!important}.report-export button{color:#2f4f7d!important;border-color:#b8c9e2!important;background:linear-gradient(#fff,#edf3fb)!important}.report-export button:hover{background:#e1ebf8!important}.insight-row b{color:#4261cd!important}.insight-row i{background:linear-gradient(90deg,#7898d0,#c7d7f0)!important}.back-link,.card-title a{color:#496b9f!important}
