:root{--navy:#0c2038;--blue:#205ca8;--line:#ccd7e3;--muted:#536980;--paper:#eef2f6}
.shortcut-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:10px;margin:14px 0 20px}.shortcut-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:94px;padding:14px 8px;border:1px solid #bbcde1;border-radius:8px;background:#f4f8fe;color:#194c83;font-size:14px;font-weight:650;line-height:1.3;text-align:center;overflow-wrap:anywhere}.shortcut-tile svg,.shortcut-preview svg{width:28px;height:28px;flex-shrink:0}.shortcut-tile:hover{background:#e5effc;border-color:#5b8dc4}.shortcut-tile[aria-pressed=true]{background:#194c83;color:#fff;border-color:#194c83}.shortcut-tile:disabled{opacity:.6}.quick-event-panel{border-bottom:1px solid var(--line);margin-bottom:22px}.quick-event-panel .muted{font-size:14px;line-height:1.6}.quick-event-panel h3{font-size:16px}.intervention-start{display:flex;gap:12px;align-items:center;padding:14px;background:#edf3fa;border-left:3px solid #477bb4;margin-bottom:24px;font-size:14px}.intervention-start svg{width:24px;height:24px;color:#2b619d}.intervention-start time{display:block;color:#526b85}.timeline-shortcut{display:flex;align-items:center;gap:6px;font-size:12px;color:#59708b;margin-top:10px}.timeline-shortcut svg{width:16px;height:16px}.role-button-picker,.icon-picker{border:0;padding:0;margin:15px 0;min-width:0}.role-button-picker legend,.icon-picker legend{font-size:14px;font-weight:650}.shortcut-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.shortcut-admin-card{display:flex;gap:18px;padding:18px;border:1px solid var(--line);border-radius:7px;min-width:0;align-items:flex-start}.shortcut-admin-card>div:last-child{flex:1;min-width:0}.shortcut-admin-card p{font-size:14px;line-height:1.6;margin:12px 0;white-space:pre-wrap;overflow-wrap:anywhere}.shortcut-admin-card small{display:block;color:var(--muted);font-size:12px;margin-top:6px}.shortcut-preview{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;flex:0 0 90px;min-height:96px;padding:12px;background:#eaf2fc;color:#20558f;border-radius:7px;text-align:center;overflow-wrap:anywhere;font-size:14px}.shortcut-preview--disabled{opacity:.55}.icon-choice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0 20px}.icon-choice{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:88px;padding:10px 5px;border:1px solid var(--line);border-radius:7px;text-align:center;cursor:pointer;font-size:12px}.icon-choice input{position:absolute;opacity:0;width:1px;height:1px;min-height:0}.icon-choice svg{width:25px;height:25px;color:#275d98}.icon-choice:has(input:checked){border-color:#205ca8;background:#e6effc;box-shadow:inset 0 0 0 1px #205ca8}.icon-choice:has(input:focus-visible){outline:3px solid #6aabf4;outline-offset:2px}.record-footer time{font-weight:650;color:#315b86}
@media(max-width:1150px){.shortcut-admin-grid{grid-template-columns:1fr}}
@media(max-width:800px){.shortcut-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.shortcut-tile{min-height:92px;font-size:13px;padding:12px 5px}.shortcut-admin-card{padding:14px;gap:12px}.shortcut-preview{flex-basis:78px;font-size:13px}.icon-choice-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.quick-event-panel .section-title{gap:6px}.quick-event-panel .text-button{font-size:13px}.record-footer{align-items:flex-start;flex-wrap:wrap}}
body{background:var(--paper);color:#142b43}.workspace-main{background:var(--paper)}
.sidebar{background:var(--navy);border-right:1px solid #29415d}.sidebar:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#2863b5 0 33%,#f3f6fa 33% 66%,#c34249 66%)}
.sidebar nav button{border-radius:4px}.sidebar nav button.active{background:#223f60;box-shadow:inset 3px 0 #86b9ff}.tenant-label{border-color:#33485f}
.topbar{border-bottom:1px solid var(--line);box-shadow:0 2px 8px #142b4305}.service-label,.eyebrow{color:#37608b;font-weight:700;letter-spacing:.1em}
.page-heading h1{letter-spacing:-.035em}.page-heading p{color:var(--muted)}
.panel,.record-card,.metrics article{border:1px solid var(--line);border-radius:7px;box-shadow:0 2px 5px #132c4404}.metrics article{border-top:3px solid #335e87}.metrics article>span{color:#416284;font-weight:700}.record-card:hover{border-color:#557ba3;background:#f7faff}.record-card .tag{border-radius:3px}
.primary{background:#205ca8;border-color:#205ca8;border-radius:5px}.primary:hover{background:#164b8c}.secondary{border-radius:5px;border-color:#b5c7da}.notice{background:#e6edf6;border-left-color:#426b99;color:#2d4b68}
.intervention-summary{background:#142e4a;color:#e8f1fc;padding:16px 20px;border-radius:6px;display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:22px}.intervention-summary .tag{background:#294c70;color:white;border-color:#507493}.timeline article{border-color:#d3dce6}.timeline-time strong{color:#20568f}.drafting-panel{border-top:3px solid #205ca8}.drafting-panel textarea{font-weight:400;line-height:1.75;min-height:260px}.intervention-actions{display:flex;gap:10px;flex-wrap:wrap}.danger-text{color:#a22f3d}
.admin-content-meta{font-size:.875rem;color:#566f89}.grade-gate{max-width:600px;margin:6vh auto;padding:30px;background:#fff;border:1px solid var(--line);border-top:4px solid #205ca8;border-radius:8px}.grade-gate>.brand{padding:15px;background:#102747;border-radius:5px;margin-bottom:25px}.grade-gate h1{font-size:1.8rem;margin-bottom:15px}.grade-gate p{line-height:1.6;margin-bottom:20px}.grade-gate form{margin-bottom:15px}
@media(max-width:800px){.mobile-app-header{background:#102747;color:white;border-bottom:3px solid #4c7faf}.mobile-app-brand,.mobile-app-brand span,.mobile-app-brand small{color:#fff}.mobile-app-header .mobile-avatar{background:#294868;color:#fff}.mobile-bottom-nav button[aria-current=page]{color:#164d89}.mobile-module-card{border-radius:9px;border-color:#ced9e5;box-shadow:0 2px 6px #132c4405}.mobile-module-icon{background:#e6eef8!important;color:#214e7d!important}.intervention-summary{padding:14px;gap:10px}.grade-gate{margin:20px 14px;padding:22px}.grade-gate .brand-crest{width:80px}.intervention-actions>button{flex:1}}
