@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#263749;background:#f6f8fb;font-size:13px;--navy:#10263c;--blue:#176ca8;--teal:#137f85;--orange:#e27348;--muted:#82909f;--line:#e2e8ee}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,.button{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #dce4eb;border-radius:7px;background:white;color:#38546b;padding:10px 14px;font-size:11px;font-weight:600;text-decoration:none}button:hover,.button:hover{filter:brightness(.97)}button:disabled{opacity:.45;cursor:not-allowed}button svg,.button svg{width:15px;height:15px;flex-shrink:0}.primary{background:var(--teal);color:white;border-color:var(--teal)}.secondary{background:white;border-color:#d5e0e8}.plain{background:transparent;border-color:transparent;padding:7px 9px;color:#5a7186}.danger-link{color:#b25c50;border:0;background:transparent}.danger{background:#b85849;color:white;border-color:#b85849}.mini-primary{background:#eaf4f4;color:var(--teal);border:0;padding:6px 9px;font-size:10px}.text-link{border:0;background:transparent;color:#2b628c;padding:0;justify-content:flex-start;text-align:left;font-size:12px}.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.loading,.connection-error{padding:80px;max-width:800px;margin:auto}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:700;color:#6f8c9c}h1,h2,h3{font-family:Manrope,sans-serif}h1{font-size:30px;letter-spacing:-1px;line-height:1.3;margin:8px 0 12px;color:#183248}h2{font-size:17px;letter-spacing:-.35px;margin:0}h3{font-size:14px;margin:0}p{color:#7c8b99;font-size:12px;line-height:1.7}.muted{color:#8c99a6;font-size:12px;line-height:1.7}.brand{display:flex;align-items:center;gap:11px;color:white;text-decoration:none}.brand-mark{background:#e47148;color:white;font:800 23px Manrope;border-radius:9px;width:37px;height:40px;display:flex;align-items:center;justify-content:center;clip-path:polygon(0 0,100% 0,100% 100%,0 100%,0 65%,35% 55%,0 45%)}.brand strong{font:800 24px Manrope;letter-spacing:1.2px}.brand strong span{display:block;font:500 7px 'DM Sans';letter-spacing:1.8px;margin-top:2px;color:#8fa6b7}.gateway{min-height:100vh;background:#0e263e;color:white;position:relative;overflow:hidden}.gateway:before{content:'';position:absolute;width:800px;height:800px;border:1px solid #ffffff06;border-radius:50%;left:-350px;top:-300px;pointer-events:none}.gate-nav{position:relative;max-width:1360px;margin:auto;padding:32px 50px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff0d}.gate-nav>span{color:#8fa6b7;font-size:11px}.gate-content{position:relative;max-width:1360px;margin:auto;padding:60px 50px 80px;display:grid;grid-template-columns:1.2fr 1fr;gap:95px;align-items:center}.gate-copy .eyebrow{color:#76b9be;font-size:10px}.gate-copy h1{font-size:65px;line-height:1.16;color:white;letter-spacing:-2.7px;margin:23px 0 27px}.gate-copy h1 em{font-style:normal;color:#7dc7c9}.gate-copy>p{color:#a2b4c4;max-width:400px;font-size:15px;line-height:1.9}.gate-proof{display:flex;gap:36px;border-top:1px solid #ffffff12;margin-top:40px;padding-top:30px}.gate-proof span{font:600 29px Manrope;color:#e4edf6}.gate-proof strong{display:block;font:400 10px 'DM Sans';color:#829eaf;margin-top:9px}.access-panel{background:white;color:#24374a;border-radius:13px;box-shadow:0 24px 60px #061a2b55;padding:34px}.access-panel>.eyebrow{color:#7f9aa6}.access-panel h2{font-size:23px;margin-top:12px}.access-panel>p{font-size:12px}.access-option{display:flex;gap:14px;margin:26px 0 12px}.access-icon{background:#eff5f6;color:var(--teal);border-radius:9px;width:42px;height:42px;flex-shrink:0;padding:10px}.access-icon svg{width:100%;height:100%}.access-option p{font-size:11px;margin:5px 0}.access-panel form{display:flex;flex-direction:column;gap:14px}.access-panel form button{padding:13px}.access-divider{display:flex;align-items:center;gap:12px;color:#9ba7b1;font-size:8px;letter-spacing:1.5px;margin:25px 0 18px}.access-divider:before,.access-divider:after{content:'';height:1px;background:#e5eaef;flex:1}.access-panel>a{width:100%;padding:13px}.security-note{font-size:9px!important;color:#9aa9b2!important;border-top:1px solid #edf0f3;padding-top:18px;margin-top:23px;line-height:1.8}.gateway>footer{max-width:1260px;margin:auto;display:flex;justify-content:space-between;gap:20px;font-size:10px;color:#6e8b9e;padding:25px 0;border-top:1px solid #ffffff0d}.setup{margin-top:20px;background:#f5f8fa;border:1px solid #e5ebf0;padding:12px;border-radius:7px}.setup summary{font-size:11px}.setup p{font-size:10px}.app-shell{display:grid;grid-template-columns:236px minmax(0,1fr);min-height:100vh}.app-shell>aside{position:sticky;top:0;height:100vh;background:var(--navy);padding:28px 18px 19px;display:flex;flex-direction:column;color:#9bb1c2}.app-shell>aside .brand{padding-left:10px}.app-shell>aside .brand strong{font-size:23px}.workspace-label{font-size:8px;letter-spacing:1.5px;margin:36px 12px 22px;color:#607f94}.workspace-label strong{font-size:11px;font-weight:500;line-height:1.6;letter-spacing:0;color:#d1dfe9;display:block;margin-top:9px}.app-shell aside nav{flex:1;overflow:auto;scrollbar-width:thin}.app-shell aside nav button{background:transparent;border:0;color:#93abbe;width:100%;justify-content:flex-start;text-align:left;padding:12px;margin-bottom:5px;font-size:10px;border-radius:7px;gap:12px}.app-shell aside nav button svg{width:17px;height:17px}.app-shell aside nav button.active{background:#254759;color:#d7f3f3;box-shadow:inset 3px 0 #65b6b9}.app-shell aside nav button b{margin-left:auto;background:#dd8058;color:white;font-size:8px;padding:2px 5px;border-radius:4px}.aside-footer{display:flex;gap:10px;align-items:center;border-top:1px solid #ffffff0c;padding-top:18px;margin-top:16px}.avatar{width:33px;height:33px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#244256;color:#c5d6e0;font-size:10px;flex-shrink:0}.aside-footer strong{font-size:9px;font-weight:500;display:block;color:#d2dee7}.aside-footer small{font-size:8px;color:#6d8da2;margin-top:5px;display:block}.aside-footer .exit{background:transparent;border:0;padding:5px;margin-left:auto;color:#6e8fa4}.main{min-width:0}.main>header{background:#fff;border-bottom:1px solid #e5ebf1;padding:21px 34px;display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#8b99a7;min-height:69px}.main>header b{padding:0 12px;font-weight:400;color:#c2ccd4}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#4b9c87;margin-right:7px}.header-right{display:flex;gap:18px;align-items:center}.header-avatar{border-left:1px solid #e3eaf0;padding-left:18px;font-size:9px;color:#638197;font-weight:600}.main>main{padding:31px 34px 50px;max-width:1800px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:25px}.page-head p{margin:0;max-width:670px;font-size:12px}.page-head .actions{flex-shrink:0}.welcome-banner{display:grid;grid-template-columns:1.7fr 1fr;background:linear-gradient(115deg,#173f53,#10364b);border:1px solid #345464;border-radius:12px;padding:29px 34px;color:#fff;overflow:hidden;margin-bottom:22px;min-height:224px;gap:20px}.welcome-banner .eyebrow{color:#86b4bb;font-size:8px;letter-spacing:1.8px}.welcome-banner h2{font-size:25px;color:#f3fafb;letter-spacing:-.7px;max-width:500px;line-height:1.4;margin-top:12px}.welcome-banner p{color:#9fbdc9;font-size:11px;max-width:510px;margin:11px 0 21px;line-height:1.8}.hero-links{display:flex;gap:10px;align-items:center}.light{background:#f6fbfc;border-color:#f6fbfc;color:#255366;font-size:10px}.ghost{background:transparent;border-color:#557681;color:#c1d9e1;font-size:10px}.connection-art{position:relative;min-height:185px;margin:0 0 0 auto;width:260px;opacity:.9}.orbit{position:absolute;border:1px solid #6eb0ba28;border-radius:50%;inset:4px 40px}.orbit.o2{inset:24px 60px;border-style:dashed}.art-center{width:60px;height:60px;position:absolute;left:101px;top:62px;display:flex;align-items:center;justify-content:center;border:1px solid #7ba6af;background:#406b79;border-radius:15px;font:800 31px Manrope;color:#c3e6e8;box-shadow:0 0 50px #60aeb22a}.art-node{position:absolute;width:39px;height:39px;background:#284e61;color:#98c8ce;border:1px solid #658b9d;border-radius:10px;padding:9px;z-index:1}.art-node svg{width:100%;height:100%}.n1{top:7px;left:52px}.n2{top:57px;right:18px}.n3{bottom:10px;left:35px}.connection-art>span{position:absolute;bottom:-13px;left:27px;font-size:7px;letter-spacing:1.9px;color:#638fa1}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:25px}.metric{border:1px solid var(--line);background:#fff;border-radius:9px;display:flex;justify-content:space-between;gap:10px;padding:20px}.metric span{display:block;font-size:10px;color:#83929f}.metric strong{font:800 28px Manrope;display:block;color:#28495f;margin:10px 0 8px;line-height:1}.metric small{font-size:8px;color:#a0abb6;line-height:1.6;display:block}.metric-icon{width:32px;height:32px;background:#f0f5f8;color:#8ca5b5;border-radius:8px;padding:8px;flex-shrink:0}.metric-icon svg{width:100%;height:100%}.phase-ribbon{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:#fff;border:1px solid var(--line);border-radius:8px;margin:25px 0 32px;overflow:hidden}.phase-ribbon>div{display:flex;gap:10px;padding:16px 13px;border-right:1px solid #e8edf2;align-items:center;position:relative}.phase-ribbon>div:last-child{border:0}.phase-ribbon>div>span{font:600 13px Manrope;color:#b3bdc6}.phase-ribbon strong{display:block;font-size:9px;font-weight:600;line-height:1.5;color:#7a8e9e}.phase-ribbon small{display:block;font-size:7px;margin-top:5px;color:#b0bbc5}.phase-ribbon .current{background:#eff7f7}.phase-ribbon .current:after{content:'';position:absolute;bottom:0;height:3px;left:0;right:0;background:#48969a}.phase-ribbon .current>span{color:#247f83}.phase-ribbon .current strong{color:#396e7b}.section-title{display:flex;align-items:center;justify-content:space-between;margin:26px 0 18px;gap:15px}.section-title h2{margin-top:6px;font-size:20px}.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:25px}.category-card{display:block;text-align:left;padding:21px;border:1px solid #e0e8ef;background:white;border-radius:9px;transition:transform .15s,box-shadow .15s}.category-card:hover{transform:translateY(-2px);box-shadow:0 5px 22px #163a4d0a}.category-card>div{display:flex;justify-content:space-between;align-items:center}.category-icon{width:39px;height:39px;border-radius:9px;padding:9px;display:inline-block;background:#edf6f6;color:#3e8b91;border:1px solid #e0eeee;flex-shrink:0}.category-icon svg{width:100%;height:100%}.category-icon.c1{background:#eef2fa;color:#6d84b4;border-color:#e2e8f6}.category-icon.c2{background:#f8f0eb;color:#bd8e6e;border-color:#f0e5dc}.category-icon.c3{background:#f1f0f8;color:#9180b4;border-color:#e7e2f2}.category-icon.c4{background:#eff5f1;color:#6f947a;border-color:#e2eae4}.category-icon.c5{background:#edf4f8;color:#6494ad;border-color:#dfeaf1}.category-card>div>b{font:700 21px Manrope;color:#536f82;text-align:right}.category-card>div>b small{display:block;font:400 7px 'DM Sans';letter-spacing:.4px;color:#a3afb8;margin-top:3px}.category-card h3{margin-top:17px;font-size:13px;color:#345369;line-height:1.5}.category-card p{font-size:10px;font-weight:400;min-height:30px;margin:7px 0 18px;color:#8c9ba8;line-height:1.8}.category-card footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf1f5;padding-top:13px;color:#99a9b5;font-size:8px;font-weight:400}.category-card footer svg{width:15px;height:15px;color:#8aa7b8}.dashboard-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:20px;margin-top:20px}.panel{border:1px solid var(--line);background:white;border-radius:9px;padding:23px;margin-bottom:20px;min-width:0}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.panel-head h2{font-size:15px}.panel-head .eyebrow{font-size:8px}.panel-head .eyebrow+h2{margin-top:7px}.intake-row{display:flex;gap:11px;align-items:center;padding:16px 0;border-top:1px solid #eef2f5}.intake-row strong{font-size:11px;color:#426074}.intake-row p{margin:5px 0 0;font-size:9px;color:#9aa7b2}.intake-row>div{flex:1;min-width:0}.small-icon{width:30px;height:30px;background:#f0f6f7;color:#7ba1ac;border-radius:7px;padding:7px;flex-shrink:0}.small-icon svg{width:100%;height:100%}.badge{display:inline-block;font-size:8px;font-weight:600;border-radius:4px;background:#eef2f5;color:#8797a5;padding:5px 7px;white-space:nowrap}.badge.blue{background:#eaf3fc;color:#648eb4}.badge.green{background:#ebf5f0;color:#6b9b83}.badge.amber{background:#fbf2e6;color:#be9a5d}.activity{display:flex;gap:11px;padding:12px 0;border-top:1px solid #f0f3f5}.activity-dot{width:7px;height:7px;border-radius:50%;background:#93b9bf;margin-top:5px;flex-shrink:0}.activity strong{font-size:10px;color:#658194;font-weight:500}.activity p{font-size:9px;margin:3px 0;color:#9ca9b5}.activity small{font-size:8px;color:#b2bdc6}.empty{padding:32px 18px;text-align:center;max-width:700px;margin:auto}.empty-symbol{background:#f2f6f8;color:#9bb4c0;padding:10px;width:42px;height:42px;border-radius:12px;margin:0 auto 16px}.empty-symbol svg{width:100%;height:100%}.empty h3{font-size:14px;color:#537285}.empty p{font-size:11px;max-width:460px;margin:10px auto 17px}.empty .actions{justify-content:center}.checklist{padding-left:18px;color:#8597a4;font-size:11px;line-height:2.5}.category-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 22px}.category-tabs>button{justify-content:flex-start;text-align:left;font-size:9px;font-weight:500;background:#fff;border-color:#e0e8ef;color:#8297a5;padding:12px;line-height:1.5;min-height:51px}.category-tabs svg{width:16px;height:16px;flex-shrink:0}.category-tabs>button[aria-selected=true]{background:#eaf5f5;color:#337f85;border-color:#9bc8cb;box-shadow:inset 0 -2px #67a8ae}.category-tabs b{margin-left:auto;font-size:8px;border-radius:3px;background:#dcecee;padding:2px 5px}.category-context{display:flex;gap:13px;align-items:center;margin:24px 0}.category-context h2{font-size:17px}.category-context p{font-size:11px;margin:5px 0}.register-panel{padding:0;overflow:hidden}.filters{display:flex;gap:10px;padding:18px;flex-wrap:wrap;align-items:center}.filters input{flex:1;min-width:220px}.filters select{max-width:200px;font-size:10px}.search{display:flex;flex-direction:row;align-items:center;gap:5px;flex:1;border:1px solid #dfe7ee;border-radius:7px;padding-left:10px;background:#fafcfd}.search>span{font-size:21px;color:#a4b3bf}.search input{border:0;background:transparent}.table-note{display:flex;justify-content:space-between;gap:15px;padding:13px 19px;border-top:1px solid #e9eef3;font-size:9px;color:#a4b2bd}.table-note strong{font-weight:500;color:#78909f}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:10px}th{background:#f8fafc;color:#9aaab7;font-size:8px;font-weight:500;letter-spacing:.7px;padding:14px 18px;white-space:nowrap}td{padding:17px 18px;border-top:1px solid #edf1f5;vertical-align:middle;color:#6f8799;min-width:100px}td:first-child{min-width:185px}td strong{font-size:10px;font-weight:500;display:block;color:#537185}td small{font-size:8px;color:#a0aeb9;display:block;line-height:1.7;margin-top:5px}td .text-link{font-size:11px;font-weight:600}.mono{font-family:Consolas,monospace;font-size:10px}.row-actions{display:flex;align-items:center;gap:1px;white-space:nowrap}.row-actions button{font-size:9px;padding:6px}.return-note{color:#c39a65!important}.notice,.notice-row{font-size:11px;line-height:1.8;color:#7a929e;background:#eef5f7;border:1px solid #deebef;padding:16px 19px;border-radius:7px;margin:20px 0}.notice-row{display:flex;justify-content:space-between;align-items:center;gap:15px}.review-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.review-stats>div{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;background:white;border:1px solid var(--line);border-radius:8px}.review-stats strong{font:700 24px Manrope;color:#6c8495}.path-strip,.detail-path{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:23px;color:#b0c0cc}.path-strip span,.detail-path span{background:#eaf1f5;border:1px solid #dce7ee;padding:10px 16px;border-radius:6px;color:#7b94a5;font-size:10px}.readiness-bar{margin:20px 0}.readiness-bar>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#8b9fae}.readiness-bar strong{font-weight:500;color:#6f899b}.bar{height:6px;border-radius:10px;background:#eff3f6;margin-top:10px;overflow:hidden}.bar>span{display:block;height:100%;background:#69a4aa;border-radius:10px}.exception{padding:14px 0;border-top:1px solid #edf1f5;display:flex;gap:10px;align-items:center}.exception>div{flex:1}.exception strong{font-size:10px;color:#638094}.exception p{font-size:9px;margin:5px 0}.messages-panel{max-width:950px}.messages{margin:25px 0;display:flex;flex-direction:column;gap:15px}.message{padding:17px;border:1px solid #e4ecf1;border-radius:8px;background:#fafcfd;margin-right:10%}.message.amsys{background:#f0f7f7;border-color:#dcebec;margin-left:10%;margin-right:0}.message>div{display:flex;justify-content:space-between;gap:15px}.message strong{font-size:10px;color:#6d8b9e}.message small{font-size:8px;color:#a4b5c1}.message p{white-space:pre-wrap;font-size:11px;margin-bottom:0}.messages-panel form button{margin-top:13px}.handover-grid,.vendor-grid,.location-grid,.guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.export-card h2{margin-top:17px}.export-card p{min-height:45px}.vendor-card-top{display:flex;justify-content:space-between;align-items:center}.vendor-logo{background:#edf4f6;color:#6b98a9;display:flex;align-items:center;justify-content:center;width:43px;height:43px;font:700 17px Manrope;border-radius:9px}.vendor-card h2{font-size:19px;margin:18px 0 8px}.vendor-card p{font-size:11px;line-height:1.9}.tag-list{display:flex;gap:6px;flex-wrap:wrap;margin:15px 0}.tag-list span{background:#f3f7fa;border:1px solid #e3ebf1;border-radius:5px;font-size:8px;color:#89a0b0;padding:6px 8px;line-height:1.6}.vendor-counts{display:flex;gap:25px;border-top:1px solid #edf1f5;border-bottom:1px solid #edf1f5;margin:20px 0;padding:16px 0}.vendor-counts span{font-size:9px;color:#9aafbd}.vendor-counts strong{font:700 20px Manrope;display:block;margin-bottom:5px;color:#67879a}.vendor-card .actions button{font-size:9px;padding:8px}.floor-row{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:15px 0;border-top:1px solid #edf1f5}.floor-row strong{font-size:11px;color:#6c8799;display:block}.floor-row small{font-size:9px;color:#a2b2bd;display:block;margin-top:7px}.settings-panel{max-width:750px}.settings-panel form{display:grid;gap:18px}.guide-number{font:700 29px Manrope;color:#b6cdd7}.guide-grid h2{margin-top:16px}.guide-grid p{font-size:12px}.app-footer{display:flex;justify-content:space-between;gap:20px;font-size:8px;color:#aab7c3;padding:20px 34px;border-top:1px solid #e5ebf1;background:#fff}label{font-size:10px;color:#7f95a5;display:flex;flex-direction:column;gap:8px;font-weight:500}input,select,textarea{width:100%;padding:11px 12px;border:1px solid #dce5ed;border-radius:6px;background:white;color:#466479;font-size:11px;min-width:0}input::placeholder,textarea::placeholder{color:#b2bdc6;font-size:10px}textarea{resize:vertical;line-height:1.7}input:focus,select:focus,textarea:focus{outline:2px solid #79abbc55;outline-offset:1px}button:focus-visible,a:focus-visible{outline:3px solid #88b7c5;outline-offset:3px}.saving{cursor:progress}.saving button{pointer-events:none;opacity:.7}dialog{border:1px solid #dce6ed;border-radius:12px;padding:27px;width:min(670px,95vw);max-height:91vh;overflow:auto;color:#3d586b;box-shadow:0 20px 100px #112c4640}dialog.wide{width:min(1020px,96vw)}dialog::backdrop{background:#102b435e;backdrop-filter:blur(3px)}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:22px}.modal-head h2{font-size:21px;margin-top:7px}.modal-head .eyebrow{font-size:8px;color:#95aab7}.close{font-size:25px;border:0;padding:0 6px;background:transparent;color:#91a5b4;line-height:1}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin:22px 0}.full{grid-column:1/-1}.dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-top:25px;padding-top:18px;border-top:1px solid #e4ecf1;background:#fff;position:sticky;bottom:-27px;padding-bottom:5px}.form-steps{display:flex;gap:5px;border-bottom:1px solid #e1eaf1;padding-bottom:15px;overflow:auto}.form-steps button{border:0;background:transparent;font-size:9px;color:#a1b1bd;padding:7px 9px;white-space:nowrap}.form-steps b{display:flex;width:20px;height:20px;background:#f0f4f7;color:#91a8b7;border-radius:50%;align-items:center;justify-content:center;font-size:9px}.form-steps .current{background:#eef7f7;color:#377c83}.form-steps .current b{background:#278d92;color:#fff}.review-summary{background:#eef6f7;border:1px solid #dbecef;border-radius:8px;padding:20px}.review-summary h3{font-size:17px;color:#467e8c}.review-summary p{font-size:11px;margin-bottom:0}.detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 23px;margin:22px 0}.detail-grid>div{padding:14px 0;border-bottom:1px solid #edf1f5}.detail-grid span{font-size:8px;color:#a3b3c0;display:block;margin-bottom:7px}.detail-grid strong{font-size:10px;color:#668495;line-height:1.8;display:block;overflow-wrap:anywhere;white-space:pre-wrap;font-weight:500}.record-hero{display:flex;gap:14px;align-items:center;background:#f7fafb;border:1px solid #e1eaf0;border-radius:9px;padding:18px;margin-bottom:24px}.record-hero>div{flex:1}.record-hero h3{color:#497489;font-size:14px}.record-hero p{font-size:10px;margin:6px 0 0}.review-note{background:#fff7e9;border:1px solid #f0e0bd;border-radius:8px;padding:16px;margin:18px 0}.review-note strong{font-size:11px;color:#b8995c}.review-note p{font-size:11px;white-space:pre-wrap;color:#ab966e;margin-bottom:0}.gaps{border:1px solid #e2eaf0;border-radius:8px;padding:15px;margin:20px 0;background:#fbfcfd}.gaps summary{color:#7895a6;font-size:11px;cursor:pointer}.verification{border:1px solid #deeaed;border-radius:8px;padding:20px;margin:25px 0;background:#fafdfd}.verification legend{font-size:11px;color:#799aa6;font-weight:600}.checkbox{flex-direction:row;align-items:center;gap:9px;margin:13px 0;font-size:10px;line-height:1.7}.checkbox input{width:15px;height:15px;accent-color:var(--teal);flex-shrink:0}.verification>label:not(.checkbox){margin-top:17px}fieldset{border:1px solid #e3eaf0;border-radius:7px;padding:14px 18px}fieldset legend{font-size:10px;color:#94a9b7}.import-banner{background:#eff7f7;border:1px solid #deecee;padding:17px;border-radius:8px;color:#6a929d;font-size:12px}.import-banner p{font-size:10px;margin-bottom:0}.upload-zone{margin:21px 0;background:#fafcfd;border:1px dashed #cbdde6;padding:18px;border-radius:8px;color:#90aaba}.upload-zone input{border:0;background:transparent;padding-left:0}.preview-table{overflow:auto;max-height:330px}.error-box,#formError{color:#b46a5e;font-size:11px;line-height:1.8;white-space:pre-wrap}.error-box{background:#fff3f0;border:1px solid #f1d9d1;border-radius:7px;padding:16px;margin:20px 0}.error-box li{font-size:10px}.success-box{padding:16px;background:#eef7f1;color:#6f9d83;border:1px solid #dcebe2;border-radius:7px;margin:20px 0;font-size:11px}.success-box p{font-size:10px;margin-bottom:0;color:#89a995}#toast{position:fixed;bottom:26px;right:26px;max-width:min(450px,90vw);background:#194b60;color:#e0f0f5;padding:15px 22px;border-radius:8px;box-shadow:0 6px 30px #163f5120;font-size:11px;z-index:100;opacity:0;transform:translateY(15px);transition:.2s;pointer-events:none}#toast.show{opacity:1;transform:none}
@media(min-width:1550px){.main>main{padding:36px 44px}.page-head h1{font-size:33px}.category-card{padding:24px}.category-card h3{font-size:15px}.category-card p{font-size:12px}.panel-head h2{font-size:17px}.metric{padding:24px}.metric span{font-size:12px}.metric small{font-size:10px}.metric strong{font-size:33px}.phase-ribbon strong{font-size:11px}.phase-ribbon small{font-size:8px}}
@media(max-width:1200px){.page-head{display:block}.page-head>.actions{margin-top:19px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.phase-ribbon{grid-template-columns:repeat(3,minmax(0,1fr))}.phase-ribbon>div{border-bottom:1px solid #e8edf2}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}.welcome-banner{grid-template-columns:1.5fr 1fr;padding:25px}.welcome-banner h2{font-size:22px}.connection-art{width:210px}.art-center{left:77px}.orbit{inset:8px 25px}.orbit.o2{inset:28px 45px}.n2{right:0}.gate-content{gap:45px}.gate-copy h1{font-size:52px}.gate-proof{gap:24px}.handover-grid,.vendor-grid,.location-grid{grid-template-columns:1fr}.vendor-card .actions button{font-size:11px}.review-stats{gap:10px}.review-stats>div{padding:15px}.category-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.app-shell{display:block}.app-shell>aside{position:static;height:auto;padding:18px 20px}.app-shell aside .brand{padding-left:0}.app-shell aside .brand strong{font-size:22px}.app-shell aside nav{display:flex;overflow:auto;gap:5px;scrollbar-width:thin;margin-top:18px}.app-shell aside nav button{width:auto;flex-shrink:0;white-space:nowrap;padding:10px 12px;font-size:10px;margin:0}.app-shell aside nav button svg{display:none}.workspace-label,.aside-footer{display:none}.main>header{padding:17px 22px;font-size:9px}.main>main{padding:25px 22px 35px}.header-right{gap:8px}.header-avatar{display:none}.main>header b{padding:0 6px}.category-grid{gap:13px}.category-card p{font-size:11px}.metric span{font-size:11px}.metric small{font-size:9px}.gate-content{padding:35px;gap:32px;grid-template-columns:1fr}.gate-nav{padding:25px 35px}.gate-copy h1{font-size:50px}.gate-copy>p{font-size:13px;max-width:550px}.gate-proof{max-width:520px}.gate-content .access-panel{max-width:620px}.gateway>footer{padding:25px 35px}.gate-copy h1 br:nth-child(2){display:none}.gate-copy h1{max-width:580px}.gate-proof{margin-top:25px;padding-top:23px}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.form-steps button{font-size:8px;padding:6px}.review-stats{grid-template-columns:repeat(2,1fr)}.phase-ribbon strong{font-size:9px}.phase-ribbon small{font-size:7px}.app-footer{padding:20px 22px}}
@media(max-width:520px){h1{font-size:25px}.main>main{padding:24px 16px}.main>header{padding:16px;font-size:8px}.main>header>div:first-child{max-width:230px;line-height:1.8}.header-right button{font-size:8px;padding:5px}.welcome-banner{display:block;padding:24px}.welcome-banner h2{font-size:23px}.welcome-banner p{font-size:11px}.connection-art{display:none}.hero-links{flex-wrap:wrap}.metrics{gap:10px}.metric{padding:16px;gap:5px}.metric span{font-size:9px}.metric small{font-size:8px}.metric-icon{width:25px;height:25px;padding:6px}.metric strong{font-size:26px}.category-grid{grid-template-columns:1fr}.category-card{padding:20px}.category-card h3{font-size:15px}.category-card p{font-size:12px;min-height:0}.category-card footer{font-size:9px}.phase-ribbon{grid-template-columns:1fr 1fr}.phase-ribbon>div{padding:12px 10px;gap:8px}.phase-ribbon strong{font-size:8px}.phase-ribbon small{font-size:7px}.panel{padding:18px}.panel.register-panel{padding:0}.intake-row{flex-wrap:wrap}.intake-row>div{min-width:180px}.intake-row p{font-size:9px}.filters{padding:14px;gap:8px}.filters select{flex:1;max-width:none;font-size:9px}.filters input{min-width:140px}.category-tabs>button{font-size:8px;padding:10px;min-height:54px}.category-tabs svg{width:14px;height:14px}.category-tabs{gap:7px}.register-panel table,.register-panel tbody{display:block;width:100%}.register-panel thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.register-panel tr{display:grid;grid-template-columns:1fr 1fr;border:1px solid #e1eaf0;border-radius:7px;margin:12px;padding:8px}.register-panel td{display:block;min-width:0;padding:10px 8px;border:0}.register-panel td:first-child,.register-panel td:last-child{grid-column:1/-1}.register-panel td .text-link{font-size:13px}.register-panel .row-actions{justify-content:flex-end;gap:8px}.register-panel .row-actions button{font-size:10px}.notice-row{display:block}.notice-row button{margin-top:12px}.table-note>span{display:none}.guide-grid{grid-template-columns:1fr}.section-title h2{font-size:18px}.section-title .plain{font-size:9px}.gate-nav>span{display:none}.gate-nav{padding:22px}.gate-content{padding:30px 22px}.gate-copy h1{font-size:43px}.gate-copy h1 br:nth-child(2){display:block}.gate-proof{gap:20px}.gate-proof span{font-size:26px}.gate-proof strong{font-size:8px}.access-panel{padding:25px 22px}.access-panel h2{font-size:21px}.gateway>footer{display:block;font-size:9px;padding:23px}.gateway>footer>span{display:block;margin-top:10px}.form-grid{grid-template-columns:1fr;gap:15px}.full{grid-column:1}.form-steps{gap:3px}.form-steps button{font-size:0;padding:6px}.form-steps b{font-size:10px}.form-steps button.current{font-size:9px}.form-steps .current b{display:none}.detail-grid{gap:0 16px}.detail-grid strong{font-size:10px}.dialog-actions{gap:6px;flex-wrap:wrap}.dialog-actions button{font-size:10px;padding:9px 11px}.modal-head h2{font-size:19px}.record-hero{flex-wrap:wrap}.record-hero .badge{margin-left:auto}.path-strip span,.detail-path span{font-size:8px;padding:8px 10px}.app-footer{font-size:7px;gap:10px}.vendor-card .actions button{font-size:9px}.message{margin-right:3%}.message.amsys{margin-left:3%}}
/* Operational readability and persistent connection feedback. */
#connectionStatus{position:sticky;top:0;z-index:110;padding:12px 24px;background:#fff4d7;border-bottom:1px solid #d9bd70;color:#634915;font-size:13px;line-height:1.5;box-shadow:0 2px 8px #10263c0b}
#connectionStatus[hidden]{display:none}
.app-shell p,.muted{color:#526b7c}.main label{color:#405f73;font-size:12px}.main input,.main select,.main textarea,dialog input,dialog select,dialog textarea{font-size:13px;color:#29495f}.main input::placeholder,dialog input::placeholder,dialog textarea::placeholder{font-size:12px;color:#687f90}
.main button,dialog button{font-size:12px;min-height:38px}.main aside nav button{font-size:12px}.main td,.main td strong{font-size:12px;color:#3d5b6f}.main td small{font-size:11px;color:#627b8c}.main th{font-size:10px;color:#556f81}.badge{font-size:10px;color:#4b6173}.badge.green{color:#286341}.badge.amber{color:#805b20}.badge.blue{color:#315f8b}.detail-grid span{font-size:11px;color:#5a7384}.detail-grid strong{font-size:12px;color:#36556a}.form-steps button{font-size:11px;color:#5b7484}.main .eyebrow{color:#587688}.main .activity strong{color:#3c5d72;font-size:12px}.main .activity p,.main .activity small{color:#607b8c;font-size:11px}.metric small{color:#5d788b}.main .tag-list span{font-size:10px;color:#536f81}.table-note,.table-note strong{font-size:11px;color:#587487}.main .app-footer{font-size:10px;color:#637c8e}.audit-list{max-height:55vh;overflow:auto}.audit-list time{font-size:12px;color:#567185}.gate-copy .eyebrow{letter-spacing:1.5px}.security-note{color:#587084!important}.exit{min-width:56px!important;font-size:10px!important}.saving button{pointer-events:none}.saving .dialog-actions:after{content:'Saving…';font-size:12px;color:#176d72}
@media(max-width:520px){.main .row-actions{flex-wrap:wrap;justify-content:flex-start}.main .row-actions button{font-size:12px;padding:9px;min-height:42px}.main .filters select{font-size:12px}.main .table-note{padding:14px}.main .metric span{font-size:11px}.main .metric small{font-size:10px}.main .category-tabs>button{font-size:11px}.main .phase-ribbon strong{font-size:10px}.main .phase-ribbon small{font-size:9px}.form-steps button{font-size:0}.form-steps button.current{font-size:11px}.detail-grid{grid-template-columns:1fr}.main .header-right button{font-size:12px}.main .app-footer{font-size:10px;flex-wrap:wrap}#connectionStatus{padding:12px 16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:520px){.filters .search{flex-basis:100%;width:100%}.main .filters select{min-width:130px;flex:1}.filters>.plain{width:100%;justify-content:flex-start}.main>header{align-items:flex-start}.header-right{flex-wrap:wrap;justify-content:flex-end}.header-right button{white-space:nowrap}.app-shell aside nav{scrollbar-width:thin}}
