:root{--ink:#244532;--muted:#80947a;--green:#244f33;--dark:#153b29;--line:#dfe7d6;--paper:#f3f6ed;--white:#fffef8;--gold:#c4ad76}*{box-sizing:border-box}html,body{margin:0;min-height:100%}body{font:13px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:var(--paper);color:var(--ink)}a{color:inherit}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #b4a06c;outline-offset:3px}[hidden]{display:none!important}.boot{min-height:90vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:13px;color:var(--muted);font-size:11px}.boot strong{font-size:16px;font-weight:500;color:var(--ink)}.spinner{width:26px;height:26px;border:2px solid #dbe5ce;border-top-color:#8ca775;border-radius:50%;animation:spin .8s linear infinite}.login-layout{min-height:100vh;display:grid;grid-template-columns:42% 58%}.login-story{background:var(--dark);color:#f0f3df;padding:54px 60px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.login-story:after{content:"";position:absolute;width:530px;height:530px;border:1px solid #aec18b16;border-radius:50%;bottom:-200px;left:-80px;box-shadow:0 0 0 70px #b9c88f05,0 0 0 140px #b9c88f04;pointer-events:none}.brand{text-decoration:none;display:flex;align-items:center;gap:12px;font-size:16px;font-weight:500;letter-spacing:-.02em}.brand-mark{display:grid;place-items:center;width:34px;height:37px;border:1px solid #b6ac713b;border-radius:5px;color:#cbb879;font:23px Georgia,serif}.brand small{display:block;font-size:7px;letter-spacing:.22em;font-weight:500;color:#9ab087;margin-top:3px}.login-story h1{font:clamp(38px,4.3vw,61px)/1.12 Georgia,serif;font-weight:400;letter-spacing:-.04em;margin:18px 0}.login-story h1 em{font-style:normal;color:#c9b780}.story-copy{position:relative;z-index:1;padding:45px 0 60px}.eyebrow{font-size:8px;font-weight:650;letter-spacing:.16em;text-transform:uppercase;color:#8ba279}.login-story .eyebrow{color:#9bb38d}.login-story p{font-size:12px;color:#99b091;line-height:1.8;max-width:320px;margin:18px 0 0}.story-foot{font-size:8px;color:#839e79;position:relative;z-index:1;letter-spacing:.03em}.login-main{display:flex;align-items:center;justify-content:center;padding:45px 60px}.login-card{width:100%;max-width:385px}.login-card h2{font-size:28px;font-weight:500;letter-spacing:-.035em;margin:8px 0}.lead{color:var(--muted);font-size:11px;margin:0 0 24px}.segment{display:grid;grid-template-columns:1fr 1fr;border:1px solid #dce5d1;border-radius:7px;background:#eaf0e1;padding:3px;margin:23px 0}.segment button{border:0;background:transparent;padding:9px 12px;border-radius:4px;color:#849a74;font-size:11px}.segment button.active{background:var(--white);color:#436633;box-shadow:0 1px 4px #263c1410}.field{margin-bottom:16px}.field label{display:block;font-size:10px;font-weight:550;color:#6b855a;margin-bottom:6px}.field input,.field select,.field textarea{width:100%;padding:10px 12px;border:1px solid #d9e4cd;border-radius:5px;background:#fcfdf7;color:#426234;font-size:12px;min-height:39px}.field textarea{resize:vertical;min-height:100px}.field small{display:block;font-size:9px;color:#98a98b;margin-top:5px}.field input:disabled{background:#edf2e4;color:#819771}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:35px;border:1px solid var(--line);border-radius:5px;padding:9px 14px;background:var(--white);color:#6c875c;font-size:10px;font-weight:550;text-decoration:none;white-space:nowrap}.button.primary{background:var(--green);border-color:var(--green);color:#f1f5df}.button.wide{width:100%;min-height:41px;font-size:12px}.button:disabled{opacity:.6;cursor:wait}.button:hover:not(:disabled){filter:brightness(.97)}.link-button{border:0;background:transparent;color:#6b8659;text-decoration:underline;font-size:10px;padding:0}.login-footer{border-top:1px solid var(--line);margin-top:27px;padding-top:19px;font-size:9px;color:#95a786}.login-footer p{margin:0 0 10px}.login-switch{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:10px;color:#8c9e80;margin-top:19px}.form-message{padding:12px 14px;border:1px solid #e3c8b5;border-radius:5px;background:#faeee3;color:#a17250;font-size:11px;margin:15px 0}.form-message.success{background:#eaf2de;border-color:#d2e1be;color:#6f8854}.app-header{height:77px;display:flex;align-items:center;justify-content:space-between;gap:25px;background:#fcfdf6;border-bottom:1px solid var(--line);padding:0 max(25px,calc((100vw - 1200px)/2));}.app-header .brand-mark{border-color:#c9d6b9;color:#a0aa72}.app-header .brand{font-size:17px}.account-area{display:flex;align-items:center;gap:17px}.account-name{text-align:right;font-size:11px;font-weight:500}.account-name small{display:block;color:#97a787;font-size:8px;font-weight:400}.account-area .button{font-size:9px;min-height:31px;padding:6px 10px}.page{max-width:1200px;margin:auto;padding:29px 30px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 24px}.page-head h1{font-size:29px;font-weight:500;letter-spacing:-.04em;line-height:1.15;margin:8px 0}.page-head p{font-size:11px;color:var(--muted);margin:0;max-width:650px}.page-actions{display:flex;gap:8px;flex-shrink:0}.portal-nav{display:flex;align-items:center;gap:5px;border-bottom:1px solid var(--line);margin-bottom:26px;overflow:auto;scrollbar-width:none}.portal-nav a{display:block;padding:12px 15px;color:#859c75;font-size:11px;text-decoration:none;border-bottom:2px solid transparent;white-space:nowrap}.portal-nav a.active{color:#3d6730;border-color:#829b61}.portal-nav a:hover{color:#497537;background:#eaf0df}.summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:25px}.summary{background:var(--white);border:1px solid var(--line);border-radius:7px;padding:20px}.summary small{font-size:9px;color:#91a27f;display:block}.summary strong{display:block;font-size:29px;line-height:1.1;font-weight:450;color:#4c7137;margin:12px 0 8px}.summary span{font-size:9px;color:#99a98a}.panel{background:var(--white);border:1px solid var(--line);border-radius:8px;margin-bottom:18px;overflow:hidden}.panel-head{padding:18px 21px;border-bottom:1px solid #e5ecd9;display:flex;align-items:center;justify-content:space-between;gap:20px}.panel-head h2{font-size:15px;font-weight:550;margin:0}.panel-head p{font-size:10px;color:#95a885;margin:4px 0 0}.panel-body{padding:20px 22px}.two-column{display:grid;grid-template-columns:1fr 1fr;gap:18px}.record{padding:16px 21px;border-bottom:1px solid #e8eedc;display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.record:last-child{border:0}.record-title{font-size:12px;font-weight:550;display:block}.record-detail{font-size:10px;color:#8da279;margin:4px 0 0;white-space:pre-wrap}.record-date{font-size:9px;color:#9ead8a;margin-top:6px}.record-side{display:flex;align-items:flex-end;flex-direction:column;gap:8px;flex-shrink:0}.status{display:inline-flex;font-size:8px;border-radius:4px;padding:5px 8px;background:#ecf0e1;color:#8a9f73;white-space:nowrap}.status.good{background:#e3ecd5;color:#6f8852}.status.warn{background:#f2ead6;color:#a18e56}.status.bad{background:#f3e3d6;color:#af7e55}.status.info{background:#e0ece1;color:#6a9270}.empty{padding:32px 22px;text-align:center;font-size:11px;color:#93a981}.empty strong{display:block;font-size:14px;font-weight:500;color:#6d9051;margin-bottom:7px}.services-frame{display:block;width:100%;height:75vh;min-height:470px;border:0;border-radius:8px;background:#f6f5f1}.notice{padding:15px 18px;border:1px solid #dce5cd;border-radius:6px;background:#eaf1de;color:#809765;font-size:10px;margin-bottom:19px}.pending-card{max-width:580px;margin:48px auto;background:var(--white);border:1px solid var(--line);border-radius:11px;text-align:center;padding:45px 43px}.pending-icon{display:grid;place-items:center;width:55px;height:55px;margin:0 auto 23px;border:1px solid #dce5c9;border-radius:50%;background:#eff3e4;color:#9caa6e;font-size:26px}.pending-card h1{font-size:27px;font-weight:500;letter-spacing:-.03em;margin:13px 0}.pending-card p{font-size:12px;color:#90a57d;line-height:1.8;margin:10px 0 22px}.pending-card .button{margin:0 4px}.toolbar{display:flex;align-items:center;gap:12px;background:var(--white);border:1px solid var(--line);border-radius:7px;padding:12px 15px;margin-bottom:16px}.toolbar input{flex:1;min-width:80px;border:0;background:transparent;color:#587947;outline:0;font-size:11px}.toolbar select{padding:7px 9px;border:1px solid #dfe7d1;border-radius:4px;background:#f5f8ec;color:#86a071;font-size:10px}.list-count{font-size:9px;color:#98a985;margin:0 3px 12px}.account-row{display:grid;grid-template-columns:minmax(170px,1.4fr) minmax(130px,1fr) auto;align-items:center;gap:20px;padding:17px 21px;border-bottom:1px solid #e8eedb}.account-row:last-child{border:0}.account-row strong{display:block;font-size:12px;font-weight:550}.account-row small{display:block;font-size:9px;color:#93a780;margin-top:3px}.account-row .row-actions{display:flex;justify-content:flex-end;align-items:center;gap:6px}.account-row .button{font-size:9px;padding:6px 9px;min-height:29px}.inline-error{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 20px;background:#f8eadc;border:1px solid #dfc6ab;border-radius:6px;color:#a07850;margin-bottom:20px;font-size:11px}.local-footer{color:#a1af8b;font-size:8px;margin-top:29px;padding:16px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:25px}.local-footer a{color:#7a9460}.embedded .app-header{display:none}dialog{border:1px solid #d7e1c7;border-radius:11px;background:var(--white);color:var(--ink);padding:0;width:min(610px,calc(100vw - 25px));max-height:calc(100dvh - 35px);box-shadow:0 25px 90px #344b2829}dialog::backdrop{background:#213d2863;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:21px 25px;border-bottom:1px solid var(--line)}.dialog-head h2{font-size:22px;font-weight:500;letter-spacing:-.025em;margin:5px 0 0}.close{border:0;background:transparent;color:#93a57c;font-size:26px;line-height:1;width:30px;height:30px}.dialog-body{padding:23px 25px;max-height:calc(100dvh - 240px);overflow:auto}.dialog-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 17px}.dialog-fields .full{grid-column:1/-1}.dialog-foot{padding:17px 25px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:flex-end;gap:9px}.dialog-note{font-size:9px;color:#98a884;margin:5px 0 0}.credential-card{border:1px solid #dce5cb;border-radius:7px;padding:19px;background:#f0f5e7}.credential-card .field{margin-bottom:14px}.credential-card input{font-family:ui-monospace,monospace;letter-spacing:.05em}.credential-card .button{width:100%}.toast{position:fixed;bottom:23px;left:50%;transform:translateX(-50%);z-index:100;max-width:calc(100vw - 30px);background:#345d39;border:1px solid #6c8651;color:#eff4dc;padding:12px 18px;border-radius:6px;box-shadow:0 10px 25px #33432425;font-size:11px}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1000px){.login-story{padding:40px}.login-main{padding:40px}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.account-row{gap:12px}.app-header{padding:0 25px}}@media(max-width:740px){.login-layout{display:block}.login-story{padding:22px 25px;min-height:0}.login-story .story-copy,.story-foot{display:none}.login-story .brand{font-size:17px}.login-story .brand-mark{width:29px;height:31px}.login-main{padding:35px 25px 40px}.login-card{max-width:420px}.login-card h2{font-size:27px}.app-header{height:70px;padding:0 19px}.app-header .brand{font-size:15px}.app-header .brand-mark{width:29px;height:32px;font-size:21px}.account-area{gap:10px}.account-name{font-size:10px}.page{padding:23px 20px}.page-head{align-items:flex-start;gap:15px}.page-head h1{font-size:25px}.page-head p{font-size:10px}.page-actions{gap:5px}.page-actions .button{font-size:9px;padding:8px 10px}.portal-nav{margin-bottom:21px}.portal-nav a{font-size:10px;padding:11px 12px}.two-column{grid-template-columns:1fr;gap:0}.panel-head{padding:17px 18px}.record{padding:15px 18px;gap:14px}.pending-card{padding:35px 24px;margin:30px auto}.pending-card h1{font-size:24px}.account-row{grid-template-columns:1.25fr 1fr;padding:17px}.account-row .row-actions{grid-column:1/-1;justify-content:flex-start;margin-top:2px}.dialog-head{padding:19px 21px}.dialog-body{padding:20px 21px}.dialog-foot{padding:16px 21px}.services-frame{height:76vh;min-height:400px}.local-footer{font-size:7px}}@media(max-width:430px){.page{padding:20px 15px}.app-header{padding:0 15px;gap:10px}.account-name small{max-width:125px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-area .button{padding:5px 8px}.summary-grid{gap:9px}.summary{padding:16px}.summary strong{font-size:25px}.page-head{flex-wrap:wrap}.page-actions{width:100%}.dialog-fields{grid-template-columns:1fr}.dialog-fields .full{grid-column:auto}.toolbar{flex-wrap:wrap;gap:9px}.toolbar input{min-width:100%}.toolbar select{width:100%}.record{flex-wrap:wrap}.record-side{flex-direction:row;align-items:center}.account-row{grid-template-columns:1fr}.account-row .row-actions{grid-column:auto}.login-switch{align-items:flex-start}.local-footer{flex-direction:column;gap:7px}}@media(prefers-reduced-motion:reduce){.spinner{animation-duration:1.7s}}
.team-checklist{display:grid;gap:8px;margin-top:12px;max-width:520px}.team-checklist label{display:flex;align-items:flex-start;gap:9px;color:#769461;font-size:10px;line-height:1.6;cursor:pointer}.team-checklist input{margin:2px 0 0;width:14px;height:14px;flex-shrink:0;accent-color:#78945b}.team-checklist input:checked+span{color:#8ea379}.team-checklist input:disabled{cursor:default}.team-checklist label:has(input:disabled){cursor:default}
.onboarding-record{padding:21px;border-bottom:1px solid var(--line)}.onboarding-record:last-child{border-bottom:0}.onboarding-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.progress-caption{display:flex;justify-content:space-between;gap:16px;margin:19px 0 7px;font-size:10px;color:#7b9469}.progress-caption strong{font-weight:550;color:var(--ink)}.onboarding-record progress{display:block;width:100%;height:7px;border:0;border-radius:8px;overflow:hidden;background:#e9efdf;accent-color:#779b5c}.onboarding-record progress::-webkit-progress-bar{background:#e9efdf;border-radius:8px}.onboarding-record progress::-webkit-progress-value{background:#779b5c;border-radius:8px}.onboarding-record progress::-moz-progress-bar{background:#779b5c;border-radius:8px}.onboarding-phases{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:8px;margin-top:17px}.onboarding-phases>div{padding:10px 12px;border:1px solid var(--line);border-radius:5px;display:flex;flex-direction:column;gap:4px;font-size:9px;color:var(--muted)}.onboarding-phases strong{font-size:11px;font-weight:500;color:var(--ink)}.shared-panel .panel-head>.status{flex-shrink:0}

/* Comfortable controls and safe-area spacing on phones. */
@media(max-width:600px){body{font-size:14px}.login-story{padding:max(22px,env(safe-area-inset-top)) 22px 22px}.login-main{padding:30px 22px max(32px,env(safe-area-inset-bottom))}.login-card h2{font-size:30px;line-height:1.17}.lead{font-size:13px;line-height:1.65}.eyebrow{font-size:10px}.segment button{min-height:44px;font-size:13px;padding:10px}.field label{font-size:12px;margin-bottom:7px}.field input,.field select,.field textarea{font-size:16px;min-height:46px;padding:11px 12px}.field small{font-size:11px;line-height:1.55}.button,.button.wide,.page-actions .button,.account-area .button,.account-row .button{min-height:44px;font-size:13px;padding:10px 14px}.link-button{min-height:44px;font-size:12px;padding:8px 0}.login-switch{font-size:12px;align-items:center;gap:12px}.login-footer{font-size:11px;line-height:1.65}.form-message{font-size:12px;line-height:1.6}.app-header{height:auto;min-height:80px;padding:max(14px,env(safe-area-inset-top)) 16px 14px;gap:10px}.app-header .brand{font-size:15px;gap:9px;min-width:0}.app-header .brand small{display:none}.app-header .brand-mark{width:27px;height:31px;flex-shrink:0}.account-area{gap:8px;min-width:0}.account-name{font-size:11px;line-height:1.45;max-width:108px;overflow-wrap:anywhere}.account-name small{font-size:9px;max-width:108px}.account-area .button{padding:9px 10px;font-size:11px;flex-shrink:0}.page{padding:24px 16px max(24px,env(safe-area-inset-bottom))}.page-head{flex-wrap:wrap;margin-bottom:18px}.page-head h1{font-size:29px;line-height:1.2}.page-head p{font-size:12px;line-height:1.65}.page-actions{width:100%;gap:8px}.page-actions .button{flex:1}.portal-nav{gap:0;margin-bottom:22px}.portal-nav a{min-height:48px;display:flex;align-items:center;font-size:13px;padding:12px 13px}.summary{padding:17px 15px}.summary small{font-size:11px;line-height:1.45}.summary strong{font-size:30px}.summary span{font-size:10px;line-height:1.5;display:block}.panel-head{padding:18px 16px;gap:12px}.panel-head h2{font-size:17px}.panel-head p{font-size:11px}.panel-head .button{font-size:11px;padding:8px 11px}.record{padding:18px 16px;gap:12px}.record-title{font-size:14px;overflow-wrap:anywhere}.record-detail{font-size:12px;line-height:1.65}.record-date{font-size:11px}.record-side{flex-wrap:wrap;gap:9px}.status{font-size:10px;padding:6px 9px}.team-checklist{gap:4px}.team-checklist label{min-height:44px;padding:9px 0;font-size:12px;line-height:1.65;align-items:flex-start}.team-checklist input{width:21px;height:21px;margin-top:0}.team-checklist input+span{flex:1}.empty{font-size:12px;line-height:1.65;padding:28px 18px}.empty strong{font-size:16px}.notice{font-size:12px;line-height:1.65;padding:15px}.local-footer{font-size:10px;line-height:1.6}.onboarding-record{padding:18px 16px}.progress-caption{font-size:12px}.onboarding-phases>div{font-size:11px}.onboarding-phases strong{font-size:13px}.toolbar input,.toolbar select{font-size:16px;min-height:44px}.account-row strong{font-size:14px}.account-row small{font-size:11px;line-height:1.5}.list-count{font-size:11px}.dialog-head{padding:19px 18px;gap:12px}.dialog-head h2{font-size:25px}.dialog-head .close{min-width:44px;min-height:44px}.dialog-body{padding:21px 18px;max-height:calc(100dvh - 235px)}.dialog-fields{grid-template-columns:1fr;gap:0}.dialog-fields .full{grid-column:auto}.dialog-foot{padding:14px 18px max(14px,env(safe-area-inset-bottom))}.dialog-note{font-size:11px;line-height:1.6}.inline-error{font-size:12px;line-height:1.55;flex-wrap:wrap}.toast{font-size:12px;line-height:1.6;bottom:max(20px,env(safe-area-inset-bottom))}.pending-card{padding:30px 22px}.pending-card p{font-size:13px}.services-frame{min-height:520px}.credential-card{padding:15px}.credential-card input{font-size:14px}}
@media(max-width:375px){.app-header .brand{font-size:14px}.account-name{max-width:94px}.account-name small{max-width:94px}.app-header .brand-mark{width:25px}.app-header{padding-inline:13px}.account-area .button{padding-inline:8px}.page{padding-inline:14px}}
.offline-sync-panel{margin:3px 0 19px;padding:18px 21px;border:1px solid #d6e3ca;border-radius:8px;background:linear-gradient(135deg,#f1f7eb,#fffefb)}.offline-sync-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.offline-sync-head h2{font-size:14px;font-weight:600;color:#557747;margin:4px 0}.offline-sync-head p{margin:3px 0 0;color:#8a9e7a;font-size:10px;line-height:1.6}.offline-sync-head .status{flex-shrink:0}.offline-sync-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:13px}.offline-sync-actions .button{min-height:32px;padding:7px 10px;font-size:9px}.offline-sync-list{display:grid;gap:6px;margin:14px 0 0;padding:0;list-style:none}.offline-sync-list li{display:grid;grid-template-columns:1fr auto;gap:3px 12px;padding:8px 10px;border:1px solid #e0e9d8;border-radius:5px;background:#fffefb;color:#6f8860;font-size:10px}.offline-sync-list li strong{font-size:9px;font-weight:600;color:#7a946a;text-transform:uppercase}.offline-sync-list li small{grid-column:1/-1;color:#a06f50;font-size:9px;line-height:1.5}.offline-item-conflict,.offline-item-failed{color:#a06f50!important}.offline-item-syncing{color:#66899a!important}.offline-sync-note{display:block;margin-top:12px;color:#9aaa8d;font-size:9px;line-height:1.6}@media(max-width:600px){.offline-sync-panel{padding:16px}.offline-sync-head{flex-direction:column;gap:8px}.offline-sync-head p{font-size:11px}.offline-sync-head .status{align-self:flex-start}.offline-sync-actions{justify-content:stretch}.offline-sync-actions .button{flex:1;min-height:42px;font-size:11px}.offline-sync-list li{font-size:11px}.offline-sync-list li strong{font-size:10px}.offline-sync-note{font-size:10px}}

.install-inline{min-height:44px;font-size:12px;white-space:normal}.local-footer{align-items:center;flex-wrap:wrap}@media(max-width:600px){.local-footer{align-items:flex-start}.login-footer .install-inline{margin-top:7px;width:100%}}
.shift-copilot{border-color:#d6e3ca;background:#fbfdf8}.shift-copilot .panel-head{background:linear-gradient(135deg,#eff6e9,#fbfdf8)}.shift-copilot .panel-head h2{color:#416734}.shift-copilot .panel-head p{max-width:430px}.copilot-body{padding:0 21px 20px}.copilot-context{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid #e5ecd9}.copilot-context strong{font-size:12px;color:#557b45}.copilot-context span{font-size:9px;color:#93a680;text-align:right}.copilot-section{padding:17px 0;border-bottom:1px solid #e5ecd9}.copilot-section:last-of-type{border-bottom:0}.copilot-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:11px}.copilot-section-head h3{font-size:12px;font-weight:600;margin:0;color:#5b7b48}.copilot-section-head span{font-size:9px;color:#9bab8c}.copilot-list{display:grid;gap:8px;margin:0;padding:0;list-style:none;counter-reset:copilot}.copilot-list li{counter-increment:copilot;display:flex;align-items:flex-start;justify-content:space-between;gap:13px;padding:11px 12px;border:1px solid #e1ead8;border-radius:6px;background:#fffefb}.copilot-list li>div{display:grid;gap:3px;min-width:0}.copilot-list li>div:before{content:counter(copilot);display:grid;place-items:center;float:left;width:20px;height:20px;margin:0 9px 2px 0;border-radius:50%;background:#e8f0de;color:#678653;font-size:10px}.copilot-list strong{font-size:11px;font-weight:600;color:#526f43;overflow-wrap:anywhere}.copilot-list li span{font-size:9px;color:#91a581;overflow-wrap:anywhere}.copilot-badge{font-size:8px;font-style:normal;color:#80936f;white-space:nowrap;padding:4px 7px;border-radius:4px;background:#eef3e7}.copilot-badge.is-overdue{background:#f4e7da;color:#aa7952}.copilot-units{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px;margin:0;padding:0;list-style:none}.copilot-units li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border:1px solid #e1ead8;border-radius:6px;background:#fffefb}.copilot-units strong{font-size:11px;color:#557848}.copilot-units span,.copilot-muted{font-size:9px;color:#91a581}.copilot-muted{margin:0;line-height:1.7}.copilot-drafts{display:grid;grid-template-columns:1fr 1fr;gap:9px}.copilot-draft{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:11px 12px;border:1px solid #e1ead8;border-radius:6px;background:#fffefb}.copilot-draft .eyebrow{font-size:8px}.copilot-draft p{margin:5px 0 0;color:#708663;font-size:10px;line-height:1.6}.copilot-draft .button{min-height:32px;padding:6px 9px;font-size:9px}.copilot-note{margin:17px 0 0;padding:11px 12px;border:1px dashed #cbdabb;border-radius:6px;background:#f4f8ee;color:#80966e;font-size:9px;line-height:1.7}@media(max-width:600px){.copilot-body{padding:0 16px 17px}.copilot-context{align-items:flex-start;flex-direction:column;gap:4px}.copilot-context span{text-align:left}.copilot-section-head{align-items:flex-start;flex-direction:column;gap:3px}.copilot-list li{padding:12px;flex-wrap:wrap}.copilot-badge{margin-left:29px}.copilot-drafts{grid-template-columns:1fr}.copilot-draft{gap:8px}.copilot-draft p{font-size:11px}.copilot-draft .button{min-height:40px;font-size:11px}}
.shift-mobile-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:24px 25px;margin-bottom:12px;border:1px solid #dce7cf;border-radius:10px;background:linear-gradient(135deg,#eef5e7,#fffef8)}.shift-mobile-hero h2{font-size:24px;font-weight:500;letter-spacing:-.03em;margin:5px 0}.shift-mobile-hero p{margin:0;color:#849a75;font-size:11px}.shift-actions{display:flex;gap:9px;margin:0 0 20px}.parcel-scan{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 14px;margin:4px 0 15px;border:1px dashed #cbdabb;border-radius:6px;background:#f5f8ef}.parcel-scan strong{display:block;font-size:11px;color:#658453}.parcel-scan small{display:block;color:#96a888;font-size:9px}.record-lock{display:block;color:#9aa986;font-size:9px;margin-top:4px}.handover-generated-note{white-space:pre-wrap}.shift-empty-panel{margin-top:18px}@media(max-width:600px){.shift-mobile-hero{padding:19px 16px;flex-direction:column}.shift-mobile-hero h2{font-size:25px}.shift-mobile-hero p{font-size:12px;line-height:1.6}.shift-actions{width:100%}.shift-actions .button{flex:1}.parcel-scan{align-items:flex-start;flex-direction:column;gap:10px}.parcel-scan .button{width:100%}}
.resident360-overview .summary-grid{margin-bottom:18px}.resident360-loading{padding:36px 25px;text-align:center;color:var(--muted)}.resident360-list{min-height:74px}.resident360-record{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 21px;border-bottom:1px solid #e8eedb}.resident360-record:last-child{border-bottom:0}.resident360-record strong{display:block;font-size:11px;font-weight:550}.resident360-record small{display:block;color:#93a780;font-size:9px;margin-top:3px}.resident360-preferences{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.resident360-preferences span{display:block;padding:12px;border:1px solid var(--line);border-radius:6px;background:#f7f9f1}.resident360-preferences strong{display:block;color:#4d713b;font-size:12px}.resident360-preferences small{display:block;color:#92a57e;font-size:9px}.resident360-activity{max-height:260px;overflow:auto}@media(max-width:600px){.resident360-record{padding:15px 16px;align-items:flex-start}.resident360-preferences{grid-template-columns:1fr}.resident360-overview .summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.folio-notice{display:flex;gap:10px;align-items:flex-start}.folio-notice strong{color:#5f7b47;white-space:nowrap}.folio-notice span{color:#809765}@media(max-width:600px){.folio-notice{display:block}.folio-notice strong{display:block;margin-bottom:3px}}
.resident-wallet-panel{overflow:hidden}.resident-wallet-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:18px 21px}.resident-wallet-grid article{padding:13px;border:1px solid #e1e9d7;border-radius:7px;background:#f8faf3}.resident-wallet-grid strong{display:block;color:#456936;font-size:11px}.resident-wallet-grid p{margin:5px 0 0;color:#8b9e7b;font-size:10px;line-height:1.6}.resident-wallet-note{padding:14px 21px;border-top:1px solid #e5ecd9;color:#94a685;font-size:9px;line-height:1.7;background:#fcfdf8}@media(max-width:800px){.resident-wallet-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.resident-wallet-grid{grid-template-columns:1fr;padding:14px 16px}.resident-wallet-grid article{padding:14px}.resident-wallet-grid p{font-size:11px}.resident-wallet-note{padding:13px 16px;font-size:10px}}
.resident-app-panel{overflow:hidden}.resident-channel-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:18px 21px}.resident-channel{display:flex;align-items:flex-start;gap:13px;padding:15px;border:1px solid #e1e9d7;border-radius:8px;background:#f8faf3;min-width:0}.resident-channel-icon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:10px;background:#e4efdc;color:#5b7b45;font-size:20px}.resident-channel-icon.whatsapp-icon{background:#edf0e2;color:#879975}.resident-channel-copy{min-width:0;flex:1}.resident-channel-copy strong{display:block;font-size:12px;color:#456936}.resident-channel-copy p{margin:4px 0 9px;color:#8b9e7b;font-size:10px;line-height:1.55}.resident-channel-copy .status{font-size:8px}.resident-install{align-self:center;flex:0 0 auto;padding:7px 10px;min-height:36px}.resident-channel-note{padding:14px 21px;border-top:1px solid #e5ecd9;color:#94a685;font-size:9px;line-height:1.6;background:#fcfdf8}@media(max-width:700px){.resident-channel-grid{grid-template-columns:1fr;padding:14px 16px}.resident-channel{padding:14px}.resident-channel-copy p{font-size:11px}.resident-channel-note{padding:13px 16px;font-size:10px}.resident-install{min-height:44px;font-size:11px}}
.portal-entry{min-height:100dvh;display:grid;place-items:center;padding:32px 20px;background:#f5f6ef}
.portal-entry-card{width:min(100%,660px);padding:36px;border:1px solid #dce4d8;border-radius:16px;background:#fffefb;box-shadow:0 12px 36px #173d2b0a}
.portal-entry-card h1{font-size:32px;line-height:1.2;margin:12px 0 16px;color:#173d2b}
.portal-entry-card p{font-size:15px;line-height:1.65;color:#516858}
.portal-current{display:grid;gap:5px;margin:24px 0;padding:18px;border:1px solid #dae5d3;border-radius:8px;background:#f2f7ec;overflow-wrap:anywhere}
.portal-current span{font-size:13px;color:#516858}.portal-current strong{font-size:18px;color:#173d2b}
.portal-entry-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.portal-entry-actions .button{min-height:44px;white-space:normal;text-align:center;font-size:14px}
.portal-entry-card .portal-entry-note{font-size:13px;margin:20px 0}.portal-entry-links{display:flex;flex-wrap:wrap;gap:20px;padding-top:16px;border-top:1px solid #dce4d8}.portal-entry-links a{padding:10px 0;font-size:14px;color:#245b41;text-decoration:underline}
.portal-entry :focus-visible{outline:3px solid #397850;outline-offset:4px}
/* Audited text colours: at least 4.5:1 on the light portal surfaces. */
:root{--muted:#4f6548}
.field label,.field small,.lead,.page-head p,.record-detail,.record-date,.summary small,.summary span,.panel-head p,.account-name small,.login-footer,.local-footer,.portal-nav a,.page .eyebrow,.login-main .eyebrow,.panel .eyebrow,.list-count{color:#4f6548}
.status:not(.good):not(.warn):not(.bad):not(.info){color:#49603f}
.empty,.empty strong,.page .button:not(.primary),.app-header .account-area .button,.event-header .button,.event-header .brand small,.event-account{color:#49603f}
@media(max-width:600px){.event-header{flex-wrap:wrap!important;gap:12px!important}.event-header .brand{flex-basis:100%}.event-header .brand small{display:none}.event-account{width:100%;flex-wrap:wrap;font-size:12px!important}.event-account .button{min-height:44px;font-size:12px!important}}
.password-setup{max-width:640px;margin:32px auto}.password-setup h1{font-size:28px}.password-setup .panel-body{padding:24px}
/* Resident controls use logical spacing so the same layout works in EN and AR. */
.login-language{display:flex;justify-content:flex-end;margin-block-end:18px}.language-toggle{min-width:74px;min-height:44px}.recovery-link{display:block;min-height:44px;margin-block-start:8px}
.resident-page .record-main{min-width:0;flex:1;overflow-wrap:anywhere}.resident-page .record-side{max-width:40%}.resident-page .record-side .status{white-space:normal}
.resident-nav-wrap{position:relative;margin-block-end:24px}.resident-nav-wrap .portal-nav{margin-block-end:0;scrollbar-width:thin;scrollbar-color:#779065 #edf1e7;scroll-padding-inline:12px}.resident-nav-cue{display:none;align-items:center;justify-content:space-between;gap:12px;color:#4f6548;font-size:12px}.resident-nav-cue .button{min-width:44px;min-height:36px;font-size:20px;padding:2px 12px}
.resident-unavailable{margin-block:12px;border:1px solid var(--line);border-radius:8px;background:var(--white)}.resident-unavailable summary{cursor:pointer;min-height:48px;padding:13px 18px;font-weight:600;color:#294c35}.resident-unavailable p{margin:0;padding:0 18px 18px;color:#4f6548}.resident-unavailable>.button{margin:0 18px 18px}
.request-progress{margin-block-start:14px}.request-progress ol{display:flex;flex-wrap:wrap;list-style:none;padding:0;gap:5px;margin:0 0 12px}.request-progress li{border-block-start:3px solid #dbe3d4;padding:6px 8px;color:#54694b;font-size:11px}.request-progress li.reached{border-color:#326a43}.request-progress li[aria-current]{font-weight:700;background:#edf4e5}.request-progress dl{display:flex;flex-wrap:wrap;gap:10px 24px;margin:0}.request-progress dt{font-size:10px;color:#4f6548}.request-progress dd{margin:2px 0;font-size:12px}.overdue-note{color:#8b3e23;font-weight:600;font-size:12px}
.amenity-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,285px),1fr));gap:16px;padding:20px}.amenity-card{min-width:0;border:1px solid var(--line);border-radius:8px;padding:18px}.amenity-card h3{margin:0 0 16px;font-size:18px}.amenity-rules{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0 20px}.amenity-rules>div{min-width:0;overflow-wrap:anywhere}.amenity-rules dt{font-size:11px;color:#4f6548}.amenity-rules dd{font-size:13px;margin:3px 0}.resident-checkbox{display:flex!important;align-items:flex-start;gap:10px;font-size:13px!important;line-height:1.6}.resident-checkbox input[type=checkbox]{width:22px;height:22px;min-height:22px;flex:0 0 22px;margin-block-start:2px;accent-color:#326a43}
html[dir=rtl] .account-name{text-align:start}html[dir=rtl] .record-side{align-items:flex-start}html[dir=rtl] .eyebrow{letter-spacing:0}html[dir=rtl] .login-story h1{letter-spacing:0;font-family:inherit;line-height:1.5}
.resident-page .resident-nav-wrap{max-width:100%}.resident-page .notice,.resident-page .offline-sync-panel small{color:#4f6548}.resident-page .status.warn{color:#755b20}.resident-page .status.good{color:#355526}.resident-page .status.info{color:#315d3a}.resident-page .status.bad{color:#8b4324}
.resident-quote-lines{display:grid;gap:10px;margin-block:18px}.resident-quote-lines article{display:flex;flex-wrap:wrap;gap:8px 20px;padding:12px;border:1px solid var(--line);border-radius:6px}.resident-quote-lines strong{flex-basis:100%;overflow-wrap:anywhere}
@media(max-width:900px){.resident-nav-cue{display:flex}.resident-nav-wrap:after{content:"";position:absolute;inset-inline-end:0;top:0;height:45px;width:15px;pointer-events:none;background:linear-gradient(to right,transparent,var(--paper))}html[dir=rtl] .resident-nav-wrap:after{background:linear-gradient(to left,transparent,var(--paper))}}
@media(max-width:600px){.resident-page .resident-record{flex-wrap:wrap}.resident-page .resident-record .record-main{flex-basis:100%}.resident-page .resident-record .record-side{max-width:100%;align-items:flex-start}.amenity-grid{padding:14px}.amenity-rules dt,.request-progress dt{font-size:12px}.amenity-rules dd,.request-progress dd{font-size:14px}.resident-unavailable summary{font-size:14px}.resident-page .summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.resident-page .two-column{grid-template-columns:1fr}.login-language{margin-block-end:12px}.resident-page h1{overflow-wrap:anywhere}}
.copilot-disclosure{margin-block:16px;border:1px solid var(--line);border-radius:8px}.copilot-disclosure>summary{cursor:pointer;min-height:44px;padding:14px 18px;color:#294c35;font-size:14px;font-weight:600}.copilot-disclosure>.panel{margin:0;border:0}
@media(max-width:600px){.app-header{flex-wrap:wrap;align-items:flex-start}.app-header>.brand{flex-basis:100%}.app-header .account-area{width:100%;flex-wrap:wrap;justify-content:flex-start;gap:8px}.app-header .account-name{flex:1;min-width:80px;max-width:none;font-size:12px}.app-header .account-name small{font-size:11px;max-width:none}.app-header .button{min-height:44px;font-size:12px}.password-setup .dialog-foot{flex-wrap:wrap}.password-setup .button{white-space:normal}}
@media(max-width:600px){.portal-entry{padding:20px 14px}.portal-entry-card{padding:24px 20px}.portal-entry-card h1{font-size:28px}.portal-entry-actions{flex-direction:column}.portal-entry-actions .button{width:100%}}
