:root{--color-background:#f4f0e7;--color-surface:#fbf9f4;--color-ink:#18201e;--color-forest:#123f32;--color-forest-soft:#dce7df;--color-terracotta:#a94f36;--color-muted:#5f6965;--color-border:#c9cec6;--color-motif:#aabdaf;--color-danger:#a42f2f;--color-unavailable:#eba921;--space-page:clamp(1.5rem,3.75vw,3.75rem);color-scheme:light;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body,html{min-height:100%}body{margin:0;background:var(--color-background);color:var(--color-ink)}button,input,select{font:inherit}a{color:inherit}.brand-header{position:relative;z-index:5;display:flex;min-height:5.75rem;align-items:center;justify-content:space-between;padding:0 var(--space-page);border-bottom:1px solid color-mix(in srgb,var(--color-border) 82%,transparent);background:rgb(244 240 231/88%);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.brand-lockup{display:inline-flex;align-items:center;gap:.85rem;color:var(--color-forest);font-family:Georgia,Times New Roman,serif;font-size:clamp(1.45rem,2.1vw,2rem);font-weight:600;letter-spacing:-.035em;text-decoration:none}.brand-mark{width:2.15rem;height:2.15rem;object-fit:contain}.auth-shell{position:relative;min-height:100vh;overflow:hidden;background:linear-gradient(rgb(244 240 231/76%),rgb(244 240 231/76%)),url(/brand/lebanon-landscape.png) 0 100% /100% auto no-repeat,var(--color-background)}.auth-layout{position:relative;z-index:1;display:grid;grid-template-columns:minmax(17rem,.72fr) minmax(31rem,1.28fr);min-height:calc(100vh - 5.75rem)}.auth-introduction{display:flex;flex-direction:column;justify-content:center;padding:clamp(3rem,8vw,8rem) clamp(2rem,6vw,6.5rem);border-right:1px solid var(--color-border)}.auth-introduction h1,.form-heading h1,.form-heading h2{margin:0;font-family:Georgia,Times New Roman,serif;font-weight:500;letter-spacing:-.045em;line-height:.98}.auth-introduction h1{max-width:9ch;font-size:clamp(2.7rem,5vw,5.25rem)}.auth-introduction>p{max-width:27rem;margin:1.5rem 0 0;color:var(--color-muted);font-size:clamp(1rem,1.45vw,1.18rem);line-height:1.6}.auth-introduction__rule{width:2.4rem;height:2px;margin-top:2rem;background:var(--color-terracotta)}.auth-introduction .auth-introduction__motto{max-width:15rem;color:var(--color-ink);font-family:Georgia,Times New Roman,serif;font-size:1.18rem}.auth-panel{display:grid;align-items:center;padding:clamp(2.5rem,6vw,6.5rem)}.auth-form-wrap{display:grid;grid-template-columns:minmax(11rem,.55fr) minmax(19rem,1fr);gap:clamp(2rem,6vw,6rem);width:min(100%,59rem)}.activation-progress{display:flex;flex-direction:column;gap:0;padding:0;margin:0;list-style:none}.activation-progress li{position:relative;display:grid;min-height:4.1rem;grid-template-columns:2rem 1fr;gap:.85rem;align-items:start;color:#7c837f;font-size:.9rem;font-weight:650;line-height:2rem}.activation-progress li:not(:last-child):after{position:absolute;top:2rem;bottom:0;left:calc(1rem - .5px);width:1px;content:"";background:var(--color-border)}.activation-progress li>span{position:relative;z-index:1;display:grid;width:2rem;height:2rem;place-items:center;border:1px solid var(--color-border);border-radius:50%;background:var(--color-background);font-size:.78rem}.activation-progress li.is-current{color:var(--color-ink)}.activation-progress li.is-current>span{border-color:var(--color-terracotta);background:var(--color-terracotta);color:white}.activation-progress li.is-complete>span{border-color:var(--color-forest);background:var(--color-forest-soft);color:var(--color-forest)}.auth-form{display:flex;width:min(100%,31rem);flex-direction:column;gap:1.15rem}.auth-form--login{justify-self:center}.form-heading{margin-bottom:.75rem}.form-heading h1,.form-heading h2{font-size:clamp(2.45rem,4.1vw,4.15rem)}.form-heading p{margin:1rem 0 0;color:var(--color-muted);line-height:1.55}.field{display:flex;flex-direction:column;gap:.5rem;color:var(--color-ink);font-size:.9rem;font-weight:680}.field input,.field select{width:100%;min-height:3.15rem;padding:.75rem .9rem;border:1px solid #929d96;border-radius:.45rem;outline:none;background:rgb(251 249 244/92%);color:var(--color-ink);font-size:1rem;font-weight:480;transition:border-color .15s ease,box-shadow .15s ease}.field input:focus-visible,.field select:focus-visible{border-color:var(--color-forest);box-shadow:0 0 0 3px rgb(18 63 50/17%)}.field .otp-input{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:1.5rem;letter-spacing:.42em}.button{min-height:3.15rem;padding:.75rem 1.15rem;border:1px solid transparent;border-radius:.45rem;cursor:pointer;font-size:.95rem;font-weight:720;transition:background .15s ease,border-color .15s ease,transform .15s ease}.button:focus-visible{outline:3px solid rgb(169 79 54/35%);outline-offset:2px}.button:not(:disabled):active{transform:translateY(1px)}.button:disabled{cursor:wait;opacity:.62}.button--primary{border-color:var(--color-forest);background:var(--color-forest);color:white}.button--primary:not(:disabled):hover{background:#0b3328}.button--text{min-height:auto;padding:.4rem;background:transparent;color:var(--color-terracotta)}.form-link{margin:.2rem 0 0;color:var(--color-muted);font-size:.91rem;text-align:center}.form-link a{color:var(--color-terracotta);font-weight:650;text-underline-offset:.2em}.form-message{margin:0;padding:.75rem .9rem;border-left:3px solid;background:rgb(255 255 255/42%);font-size:.88rem;line-height:1.45}.form-message--error{color:var(--color-danger)}.button--secondary{border-color:#86928b;background:rgb(251 249 244/70%);color:var(--color-forest)}.button--secondary:not(:disabled):hover{border-color:var(--color-forest);background:var(--color-forest-soft)}.button--compact{min-height:2.6rem;padding:.55rem .85rem;font-size:.84rem}.header-link,.sign-out{border:0;background:transparent;color:var(--color-forest);cursor:pointer;font-size:.9rem;font-weight:720;text-underline-offset:.2rem}.admin-shell,.admin-state-page,.home-shell{min-height:100vh}.admin-shell,.home-shell{background:linear-gradient(rgb(244 240 231/68%),rgb(244 240 231/68%)),url(/brand/lebanon-landscape.png) 0 100% /100% auto no-repeat fixed,var(--color-background)}.home-main{display:grid;min-height:calc(100vh - 5.75rem);align-items:center;padding:clamp(3rem,8vw,8rem) var(--space-page)}.home-copy{width:min(100%,56rem);margin-left:clamp(0rem,6vw,6rem)}.home-copy h1,.scope-detail h2,.section-heading h2,.state-panel h1,.tenant-detail h2,.workspace-heading h1{margin:0;font-family:Georgia,Times New Roman,serif;font-weight:500;letter-spacing:-.045em;line-height:1}.home-copy h1{max-width:12ch;font-size:clamp(3.3rem,7vw,7rem)}.home-copy>p{max-width:38rem;margin:1.5rem 0 0;color:var(--color-muted);font-size:clamp(1rem,1.6vw,1.25rem);line-height:1.6}.home-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:2rem}.home-actions .button,.state-panel .button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.home-status{width:fit-content;margin-top:3.25rem}.home-status .system-status{min-height:auto}.home-status .system-status__state{align-items:flex-start;gap:.35rem}.home-status .system-status__summary{gap:.55rem;font-size:.95rem;letter-spacing:0}.home-status .system-status__indicator{width:.65rem}.home-status .system-status__version{font-size:.82rem}.account-summary{display:flex;align-items:center;gap:1.25rem}.account-summary>div{display:flex;flex-direction:column;align-items:flex-end;gap:.18rem}.account-summary strong{font-size:.88rem}.account-summary span{color:var(--color-muted);font-size:.73rem}.sign-out{min-height:2.4rem;padding-left:1.25rem;border-left:1px solid var(--color-border)}.admin-main{width:min(100%,94rem);min-height:calc(100vh - 5.75rem);margin:0 auto;padding:clamp(2.5rem,5vw,5rem) var(--space-page) 8rem}.workspace-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:2rem;padding-bottom:clamp(1.8rem,3vw,2.75rem);border-bottom:1px solid var(--color-border)}.workspace-heading h1{font-size:clamp(2.8rem,5vw,5rem)}.scope-detail__heading>p:last-child,.section-heading p,.tenant-detail__title>div>p:last-child,.workspace-heading p{margin:.75rem 0 0;color:var(--color-muted);line-height:1.5}.section-label{margin:0 0 .7rem;color:var(--color-terracotta);font-size:.72rem;font-weight:760;letter-spacing:.12em;text-transform:uppercase}.inline-form{display:grid;grid-template-columns:minmax(16rem,1fr) auto;gap:.85rem;align-items:end;max-width:42rem;margin:1.5rem 0}.notice{margin:1.25rem 0 0;padding:.9rem 1rem;border:1px solid;border-radius:.45rem;font-size:.88rem}.notice--success{border-color:#a6c2b0;background:rgb(220 231 223/78%);color:#164f3d}.notice--error{border-color:#d8a8a1;background:rgb(250 230 225/72%);color:var(--color-danger)}.impersonation-banner{display:flex;gap:.85rem;align-items:center;justify-content:center;flex-wrap:wrap;padding:.75rem 1rem;background:#5f2a2a;color:#fff8f0}.organization-grid,.platform-grid{display:grid;margin-top:2rem;border-top:1px solid var(--color-border);border-bottom:1px solid var(--color-border);background:rgb(251 249 244/46%)}.platform-grid{grid-template-columns:minmax(15rem,.65fr) minmax(25rem,1.35fr)}.tenant-rail{min-height:26rem;padding:1.5rem 1.25rem 2rem 0;border-right:1px solid var(--color-border)}.scope-detail__heading h2,.section-heading h2,.tenant-detail__title h2,.tenant-rail h2{font-family:Georgia,Times New Roman,serif;font-weight:500}.tenant-rail h2{margin:0 0 1.1rem;font-size:1.25rem}.tenant-row{display:flex;width:100%;flex-direction:column;gap:.25rem;padding:.9rem 1rem;border:0;border-left:3px solid transparent;background:transparent;color:var(--color-ink);cursor:pointer;text-align:left}.tenant-row.is-selected,.tenant-row:hover{border-left-color:var(--color-terracotta);background:rgb(220 231 223/72%)}.tenant-row span{font-weight:720}.tenant-row small{color:var(--color-muted)}.tenant-detail{padding:1.5rem 0 2rem 2rem}.tenant-detail__title{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding-bottom:1.5rem;border-bottom:1px solid var(--color-border)}.tenant-detail__title h2{margin:0;font-size:2.1rem}.status-line{max-width:16rem;margin:0;padding-left:1rem;border-left:3px solid var(--color-terracotta);color:var(--color-terracotta);font-size:.82rem;font-weight:720}.status-line--ok{border-color:var(--color-forest);color:var(--color-forest)}.bootstrap-form,.detail-form{display:grid;gap:1rem;max-width:35rem;padding-top:1.75rem}.form-heading--small h3{margin:0;font-family:Georgia,Times New Roman,serif;font-size:1.45rem;font-weight:500}.form-heading--small p{margin-top:.5rem;font-size:.9rem}.empty-detail{max-width:34rem;padding:2rem 0;color:var(--color-muted);line-height:1.6}.empty-detail h2{color:var(--color-ink)}.tenant-workspace--separated{margin-top:6rem;padding-top:4rem;border-top:1px solid var(--color-border)}.tenant-selector{width:min(100%,24rem);margin:0 0 1.5rem auto}.organization-grid{grid-template-columns:minmax(23rem,1.1fr) minmax(24rem,.9fr)}.hierarchy-panel{min-height:34rem;padding:1.75rem 2rem 3rem 0;border-right:1px solid var(--color-border)}.section-heading{display:flex;align-items:start;justify-content:space-between;gap:1rem;margin-bottom:1.75rem}.scope-detail__heading h2,.section-heading h2{margin:0;font-size:1.5rem}.section-heading p{font-size:.88rem}.scope-tree{position:relative;padding-left:1.4rem}.scope-tree:before{position:absolute;top:0;bottom:0;left:.15rem;width:3px;content:"";background:var(--color-terracotta)}.scope-row{display:grid;width:calc(100% - (var(--depth) * 1.65rem));min-height:3.8rem;grid-template-columns:1.2rem 1fr auto;gap:.75rem;align-items:center;margin-left:calc(var(--depth) * 1.65rem);padding:.65rem .85rem;border:0;border-bottom:1px solid var(--color-border);background:transparent;color:var(--color-ink);cursor:pointer;text-align:left}.scope-row.is-selected,.scope-row:hover{background:rgb(220 231 223/72%)}.scope-row__marker{width:.72rem;height:.72rem;border:2px solid var(--color-terracotta);border-radius:50%;background:var(--color-background)}.scope-row>span:nth-child(2){display:flex;flex-direction:column;gap:.18rem}.scope-row strong{font-family:Georgia,Times New Roman,serif;font-size:1.05rem;font-weight:600}.scope-row small{color:var(--color-muted);font-size:.72rem}.scope-detail{padding:1.75rem 0 3rem 2rem}.scope-detail__heading{padding-bottom:1.3rem}.scope-actions,.scope-detail__heading{border-bottom:1px solid var(--color-border)}.scope-actions{display:flex;flex-wrap:wrap;gap:.7rem;padding:1.2rem 0}.invitation-area{margin-top:1.5rem;border-top:1px solid var(--color-border)}.pending-invitation{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1.4rem;padding:.9rem;border:1px solid var(--color-border);border-left:3px solid var(--color-terracotta);background:rgb(251 249 244/74%)}.pending-invitation>div{display:flex;min-width:0;flex-direction:column;gap:.2rem}.pending-invitation span{overflow:hidden;color:var(--color-muted);font-size:.78rem;text-overflow:ellipsis}.muted-copy{color:var(--color-muted);font-size:.88rem}.admin-state-page{display:grid;place-items:center;padding:2rem;background:linear-gradient(rgb(244 240 231/72%),rgb(244 240 231/72%)),url(/brand/lebanon-landscape.png) 0 100% /100% auto no-repeat,var(--color-background)}.state-panel{display:flex;width:min(100%,34rem);flex-direction:column;align-items:flex-start}.state-panel h1{font-size:clamp(2.8rem,7vw,5rem)}.state-panel p{margin:1.2rem 0 1.8rem;color:var(--color-muted);line-height:1.6}.loading-mark{width:2rem;height:2rem;border:2px solid var(--color-border);border-top-color:var(--color-forest);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}@media (max-width:64rem){.organization-grid,.platform-grid{grid-template-columns:1fr}.hierarchy-panel,.tenant-rail{min-height:auto;padding-right:0;padding-bottom:1.75rem;border-right:0;border-bottom:1px solid var(--color-border)}.scope-detail,.tenant-detail{padding-left:0}}.site-shell{min-height:100vh;overflow:hidden}.site-header{position:relative;z-index:2;display:flex;min-height:6.4rem;align-items:center;padding:0 var(--space-page);border-bottom:1px solid var(--color-border)}.site-header__name{color:var(--color-forest);font-size:clamp(1.7rem,2.5vw,2.6rem);font-weight:720;letter-spacing:-.045em}.foundation-page{position:relative;display:grid;min-height:calc(100vh - 6.4rem);place-items:center;padding:clamp(4.5rem,10vh,7rem) var(--space-page) clamp(6rem,12vh,9rem)}.foundation-content{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;width:min(100%,56rem);text-align:center;transform:translateY(-3rem)}.foundation-content h1{margin:0 0 clamp(2.3rem,5vh,3.9rem);font-size:clamp(4.5rem,8.1vw,7.7rem);font-weight:730;letter-spacing:-.064em;line-height:.88}.system-status{min-height:7.3rem}.system-status__state{display:flex;flex-direction:column;align-items:center;gap:1.65rem}.system-status__summary{display:flex;align-items:center;justify-content:center;gap:clamp(1.15rem,2.5vw,2.1rem);color:var(--color-forest);font-size:clamp(2.3rem,4.25vw,4.15rem);font-weight:690;letter-spacing:-.045em;line-height:1.05}.system-status__indicator{width:clamp(2.7rem,4.2vw,4.15rem);aspect-ratio:1;flex:0 0 auto;border-radius:50%;background:var(--color-forest);box-shadow:inset 0 -.32rem .7rem rgb(0 0 0/10%)}.system-status__version{color:var(--color-muted);font-size:clamp(1.45rem,2.35vw,2.2rem);font-weight:430;letter-spacing:-.025em}.system-status__state--unavailable .system-status__summary{color:var(--color-muted);font-size:clamp(1.45rem,2.35vw,2.25rem);font-weight:560;letter-spacing:-.035em}.system-status__state--unavailable .system-status__indicator{width:clamp(1.5rem,2.5vw,2.25rem);background:var(--color-unavailable);box-shadow:inset 0 -.18rem .4rem rgb(0 0 0/7%)}.motif{position:absolute;pointer-events:none;color:var(--color-motif)}.motif--tree{bottom:-4rem;left:clamp(-4rem,-1.5vw,-1rem);width:clamp(15rem,25vw,24rem);height:65%;border-left:1.5px solid;transform:translateX(3.4rem)}.motif--tree span,.motif--tree:after,.motif--tree:before{position:absolute;left:-1px;width:45%;height:1.5px;content:"";background:currentColor;transform-origin:left center}.motif--tree:before{top:0;transform:rotate(-48deg)}.motif--tree:after{top:0;transform:rotate(48deg)}.motif--tree span:first-child{top:22%;transform:rotate(-46deg)}.motif--tree span:last-child{top:22%;transform:rotate(46deg)}.motif--arc{top:0;right:-12rem;width:clamp(23rem,34vw,34rem);height:42%;border-bottom:1.5px solid;border-left:1.5px solid;border-bottom-left-radius:100%}.motif--arc:after{position:absolute;right:6.2rem;bottom:-55vh;width:1.5px;height:55vh;content:"";background:currentColor}.motif--branch{right:clamp(1.5rem,5vw,5rem);bottom:-2rem;width:4.5rem;height:15rem;border-left:1.5px solid}.motif--branch span,.motif--branch:after,.motif--branch:before{position:absolute;left:-1px;width:3.2rem;height:1.5px;content:"";background:currentColor;transform-origin:left center}.motif--branch:before{top:1rem;transform:rotate(-45deg)}.motif--branch:after{top:1rem;transform:rotate(45deg)}.motif--branch span:first-child{top:4.1rem;transform:rotate(-45deg)}.motif--branch span:last-child{top:4.1rem;transform:rotate(45deg)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media (max-width:40rem){.brand-header{min-height:4.6rem}.brand-lockup{font-size:1.3rem}.brand-mark{width:1.8rem;height:1.8rem}.auth-layout{display:block;min-height:calc(100vh - 4.6rem)}.auth-introduction{display:none}.auth-panel{min-height:calc(100vh - 4.6rem);align-items:start;padding:2.5rem 1.35rem 7rem}.auth-form-wrap{display:flex;flex-direction:column;gap:2rem}.activation-progress{flex-direction:row;justify-content:space-between}.activation-progress li{min-height:auto;grid-template-columns:1fr;gap:0;font-size:0}.activation-progress li:not(:last-child):after{top:1rem;right:-1rem;bottom:auto;left:2rem;width:calc(25vw - 2rem);height:1px}.form-heading h1,.form-heading h2{font-size:clamp(2.55rem,12vw,3.5rem)}.account-summary{gap:.65rem}.account-summary>div{display:none}.sign-out{padding-left:.75rem}.home-main{min-height:calc(100vh - 4.6rem);align-items:start;padding-top:4rem}.home-copy{margin-left:0}.home-copy h1{font-size:clamp(3.2rem,15vw,4.6rem)}.admin-main{min-height:calc(100vh - 4.6rem);padding:2.25rem 1.25rem 6rem}.tenant-detail__title,.workspace-heading{flex-direction:column;align-items:stretch;gap:1.25rem}.workspace-heading h1{font-size:clamp(2.6rem,13vw,4rem)}.inline-form{grid-template-columns:1fr}.tenant-rail{display:flex;overflow-x:auto;gap:.4rem;padding:1rem 0}.tenant-rail .muted-copy,.tenant-rail h2{display:none}.tenant-row{min-width:12rem;border-left:0;border-bottom:3px solid transparent}.tenant-row.is-selected,.tenant-row:hover{border-bottom-color:var(--color-terracotta);border-left-color:transparent}.hierarchy-panel,.scope-detail,.tenant-detail{padding-right:0;padding-left:0}.status-line{max-width:none}.scope-tree{padding-left:.9rem}.scope-row{width:calc(100% - (var(--depth) * .65rem));margin-left:calc(var(--depth) * .65rem)}.scope-actions .button{flex:1 1 12rem}.pending-invitation{align-items:stretch;flex-direction:column}.site-header{min-height:4.75rem}.foundation-page{min-height:calc(100vh - 4.75rem);padding-top:3.5rem;padding-bottom:5rem}.foundation-content h1{margin-bottom:2.75rem;font-size:clamp(3.7rem,18vw,5.2rem)}.foundation-content{transform:translateY(-1.25rem)}.system-status__summary{max-width:20rem;gap:1rem;font-size:clamp(2rem,9vw,2.8rem)}.system-status__state--unavailable .system-status__summary{font-size:1.65rem}.motif--tree{bottom:-4rem;left:-3.25rem;width:8rem;height:40%;opacity:.62;transform:none}.motif--arc{right:-17rem}.motif--branch{right:1.25rem;opacity:.72}}@media (prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important}}