@font-face{font-family:Manrope;src:url('../assets/manrope-variable.ttf') format('truetype');font-weight:200 800;font-display:swap}
/* One component system for every Atrium screen, including forms and dialogs. */
:root{font-family:Manrope,Arial,sans-serif;font-size:14px;line-height:1.5;color-scheme:light}
*{box-sizing:border-box}html{scroll-padding-bottom:100px;-webkit-text-size-adjust:100%}body{margin:0;min-width:0;--ink:#27364a;--muted:#69788a;--paper:#f5f5f2;--surface:#fff;--soft:#edf1f5;--line:#dfe5eb;--brand:#43658d;--brandhover:#355478;--onbrand:#fff;--accent:#e6edf5;--nav-surface:#fbfcfd;--green:#327360;--green-bg:#e9f3ed;--blue:#426991;--blue-bg:#e9eff7;--amber:#916521;--amber-bg:#f8f0df;--red:#ae4f52;--red-bg:#faeceb;--bottom-space:calc(76px + env(safe-area-inset-bottom,0px));color:var(--ink);background:radial-gradient(ellipse at 100% 0,#e5ebf4,transparent 600px),var(--paper)}
body[data-role=admin]{--paper:#f1f3f8;--surface:#fff;--brand:#50648b;--brandhover:#3f5276;--accent:#e7ebf4;background:radial-gradient(ellipse at 100% 0,#e2e7f4,transparent 550px),var(--paper)}
body[data-role=worker]{color-scheme:dark;--ink:#edf2f7;--muted:#aebbc9;--paper:#202d3b;--surface:#293847;--soft:#334657;--line:#415365;--brand:#b0cce8;--brandhover:#c7dcf0;--onbrand:#203348;--accent:#3a5167;--nav-surface:#233140;--green:#b0d9c4;--green-bg:#304e43;--blue:#c1d8ef;--blue-bg:#344c64;--amber:#efd09d;--amber-bg:#514735;--red:#f0b8b8;--red-bg:#583c44;background:radial-gradient(ellipse at 10% 0,#3b4e60,transparent 560px),var(--paper)}
button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;touch-action:manipulation;transition:background .18s,color .18s,transform .18s}button:active{transform:translateY(1px)}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--brand);outline-offset:3px}a{color:inherit}h1,h2,h3,p,figure{margin:0}h1{font-size:25px;line-height:1.2;letter-spacing:-.8px;font-weight:750}h2{font-size:18px;line-height:1.4;letter-spacing:-.4px;font-weight:750}h3{font-size:15px;line-height:1.45;letter-spacing:-.15px}small,.meta,.muted{font-size:12px;line-height:1.6;color:var(--muted)}.icon{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.row{display:flex;align-items:center;gap:10px;min-width:0}.between,.link-row{justify-content:space-between}.wrap{flex-wrap:wrap}.stack{display:flex;flex-direction:column;gap:14px}.two-cols,.cols{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.tag-row{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.divider{border:0;border-top:1px solid var(--line);margin:20px 0}.nowrap{white-space:nowrap}.bold{font-weight:750}.mini-label,.eyeline,.steps-label{font-size:10px;line-height:1.5;letter-spacing:1.1px;text-transform:uppercase;font-weight:700;color:var(--muted)}
.atrium-shell{min-height:100dvh;max-width:600px;margin:auto}.phone-status{position:fixed!important;z-index:110;top:0;left:0;right:0;background:var(--paper);height:35px;display:flex;align-items:center;justify-content:space-between;padding:0 25px;font-size:11px;position:relative}.phone-status>span:last-child{display:flex;align-items:center;gap:6px}.island{position:absolute;width:90px;height:24px;background:#11161b;border-radius:20px;left:50%;transform:translateX(-50%);top:5px}.atrium-top{display:flex;align-items:center;justify-content:space-between;padding:47px 20px 16px}.atrium-brand{display:flex;gap:6px;align-items:center;text-decoration:none}.atrium-brand>svg{width:32px;height:32px;color:var(--brand)}.atrium-brand span{font-size:25px;font-weight:800;letter-spacing:-1px;line-height:1}.atrium-brand small{display:block;font-size:9px;font-weight:500;letter-spacing:.1px;margin-top:6px}.top-actions{display:flex;align-items:center;gap:8px}.portrait{width:36px;height:36px;border-radius:50%;object-fit:cover;flex-shrink:0}.profile-button{padding:0;border:2px solid var(--surface);border-radius:50%;background:transparent;display:flex}.icon-button{width:36px;height:36px;flex-shrink:0;border:0;border-radius:50%;background:var(--soft);color:var(--ink);display:grid;place-items:center}.icon-button:hover{background:var(--accent)}.content{padding:14px 20px calc(var(--bottom-space) + 25px)}.welcome,.page-head{margin-bottom:20px}.welcome .eyeline{letter-spacing:.25px;text-transform:none;font-size:12px}.welcome h1{margin:5px 0 7px}.welcome p,.page-head p{font-size:13px;line-height:1.6;color:var(--muted);margin-top:7px}.page-head{display:flex;flex-wrap:wrap;gap:14px;align-items:center}.page-head>div{flex:1 1 100%;min-width:0}.page-head>.btn{width:100%}.page-head h1{font-size:25px}
.project-hero{border:0;text-align:left;padding:0;display:block;position:relative;width:100%;height:175px;border-radius:19px;overflow:hidden;color:#fff;background:#596d7e}.project-hero>img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.project-hero:hover>img{transform:scale(1.035)}.project-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#172736df,transparent 90%)}.hero-top,.hero-bottom{position:absolute;z-index:1;left:16px;right:16px;display:flex}.hero-top{top:14px;justify-content:space-between;align-items:center}.glass-label{background:#ffffffe6;color:#334558;font-size:9px;letter-spacing:.8px;padding:6px 9px;border-radius:20px;font-weight:700}.hero-top>.icon{width:25px;height:25px;background:#ffffff2b;border-radius:50%;padding:5px}.hero-bottom{bottom:17px;flex-direction:column;gap:3px}.hero-bottom small{font-size:11px;color:#e8edf2}.hero-bottom strong{font-size:23px;font-weight:700;letter-spacing:-.6px}.hero-bottom>span{font-size:11px;color:#e2e8ed}.section-title{display:flex;align-items:center;justify-content:space-between;margin:23px 0 13px;gap:10px}.section-title h2{font-size:19px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:12px;padding:11px 14px;min-height:43px;font-size:13px;font-weight:650;line-height:1.45;white-space:normal;text-decoration:none}.btn:hover{background:var(--soft)}.btn.primary{background:var(--brand);border-color:var(--brand);color:var(--onbrand)}.btn.primary:hover{background:var(--brandhover);border-color:var(--brandhover)}.btn.dark{background:var(--ink);color:var(--paper);border-color:var(--ink)}.btn.green{background:var(--green-bg);color:var(--green)}.btn.danger{background:var(--red-bg);color:var(--red);border-color:transparent}.btn.small{min-height:36px;font-size:12px;padding:8px 11px}.btn.full,.btn.wide{width:100%}.btn .icon{width:17px;height:17px}.text-btn{border:0;background:transparent;color:var(--brand);font-size:13px;min-height:36px;padding:7px 0;font-weight:650}.tabs{display:flex;gap:4px;padding:4px;background:var(--soft);border-radius:12px;margin-bottom:16px;overflow:auto;scrollbar-width:none}.tabs::-webkit-scrollbar{display:none}.tabs button{flex:1;border:0;background:transparent;color:var(--muted);padding:8px 10px;font-size:12px;font-weight:650;min-height:36px;border-radius:9px;white-space:nowrap}.tabs button.active{background:var(--surface);color:var(--ink);box-shadow:0 2px 6px #13233709}.tabs span{font-size:10px;margin-left:5px}.card{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:17px;min-width:0}.order-top{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:10px}.order-id{font-size:11px;color:var(--muted);letter-spacing:.4px}.pill{font-size:11px;line-height:1.4;font-weight:600;border-radius:7px;padding:5px 8px;display:inline-flex;align-items:center;gap:5px;white-space:normal;max-width:100%;background:var(--soft);color:var(--muted)}.pill .icon{width:14px;height:14px}.pill.amber{background:var(--amber-bg);color:var(--amber)}.pill.green{background:var(--green-bg);color:var(--green)}.pill.blue{background:var(--blue-bg);color:var(--blue)}.pill.red{background:var(--red-bg);color:var(--red)}.order-title{font-size:18px;line-height:1.4;margin-bottom:11px}.info-line{display:flex;align-items:flex-start;font-size:12px;gap:7px;color:var(--muted);margin:7px 0}.info-line .icon{width:15px;height:15px;margin-top:2px}.progress{display:none}.progress-mobile{display:block;margin:17px 0}.progress-mobile>div:first-child{display:flex;justify-content:space-between;gap:10px;font-size:12px}.progress-mobile b{font-weight:650}.progress-mobile>div>span{font-size:11px;color:var(--muted);white-space:nowrap}.progress-track{display:flex;gap:4px;margin-top:9px}.progress-track span{flex:1;height:4px;border-radius:4px;background:var(--soft)}.progress-track .done{background:var(--brand);opacity:.42}.progress-track .current{background:var(--brand)}.order-person{display:flex;align-items:center;gap:8px;border-top:1px solid var(--line);padding:13px 0}.order-person>span{min-width:0;flex:1}.order-person b{font-size:11px;display:block;font-weight:650}.order-person small{display:block;font-size:10px;margin-top:2px}.order-person>strong{font-size:13px;white-space:nowrap}.order-person .portrait{width:30px;height:30px}.order-footer{display:flex;flex-wrap:wrap;gap:13px;margin-top:17px;padding-top:15px;border-top:1px solid var(--line)}.order-footer>.row{flex:1 1 100%}.order-footer>.row .btn{flex:1}.price{font-size:23px;font-weight:750}.price small{display:block;font-size:11px;font-weight:500}.person{display:flex;gap:9px;align-items:center}.person small{display:block}.person .avatar{width:34px;height:34px}
.bottom-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;position:fixed;z-index:50;bottom:0;left:0;right:0;width:100%;max-width:600px;margin-inline:auto;min-height:var(--bottom-space);padding:7px max(7px,env(safe-area-inset-right,0px)) calc(12px + env(safe-area-inset-bottom,0px)) max(7px,env(safe-area-inset-left,0px));border-top:1px solid var(--line);background:var(--nav-surface);box-shadow:0 -5px 25px #14233805}.bottom-nav-item{min-width:0;min-height:55px;width:100%;border:0;border-radius:12px;background:transparent;color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:2px 0;font-size:10px;font-weight:600;line-height:1.3;white-space:nowrap}.nav-icon{position:relative;display:grid;place-items:center;width:42px;height:28px;border-radius:10px;transition:background .18s}.bottom-nav .icon{width:20px;height:20px}.bottom-nav-item.active{color:var(--brand);font-weight:750}.bottom-nav-item.active .nav-icon,.bottom-nav-item:hover .nav-icon{background:var(--accent)}.bottom-nav-item:focus-visible{outline-offset:-2px}.nav-badge{position:absolute;right:-2px;top:-3px;display:grid;place-items:center;min-width:15px;height:15px;padding:0 4px;border-radius:9px;background:var(--brand);color:var(--onbrand);font-size:8px;font-weight:800;line-height:1;box-shadow:0 0 0 2px var(--nav-surface)}.keyboard-open .bottom-nav{display:none}
.control-banner{border-radius:19px;padding:20px;background:linear-gradient(125deg,#4b6787,#304b70);color:#fff}.control-banner .eyeline{color:#e2e9f1}.control-banner>div{display:flex;align-items:center;gap:12px;margin:15px 0}.control-banner strong{font-size:43px;line-height:1;letter-spacing:-1.5px}.control-banner div>span{font-size:13px;line-height:1.5;flex:1}.control-banner .portrait{border:2px solid #ffffff85;width:32px;height:32px}.control-banner .portrait:last-child{margin-left:-23px}.control-banner>small{font-size:11px;color:#e2e9f1}.atrium-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.atrium-metrics button{border:1px solid var(--line);background:var(--surface);border-radius:15px;padding:14px;text-align:left;position:relative}.atrium-metrics button:hover,.atrium-metrics button[aria-pressed=true]{background:var(--accent);border-color:var(--brand)}.atrium-metrics strong{display:block;font-size:26px;font-weight:700}.atrium-metrics span{display:block;font-size:11px;margin-top:3px;color:var(--muted)}.atrium-metrics .icon{position:absolute;right:14px;top:19px;color:var(--brand);width:16px;height:16px}.metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:18px}.metric-grid[style]{grid-template-columns:1fr!important}.metric{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:16px;min-width:0}.metric>span{font-size:12px;color:var(--muted)}.metric strong{display:block;font-size:27px;line-height:1.3;margin:6px 0;overflow-wrap:anywhere}.metric small{font-size:11px}.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}.toolbar .search,.toolbar .select{width:100%!important;flex:1 1 100%;min-width:0}.search{position:relative}.search>.icon{position:absolute;left:12px;top:13px;color:var(--muted);width:17px;height:17px}.search input{padding-left:37px!important}
.field{display:flex;flex-direction:column;gap:8px;margin-bottom:18px;font-size:13px;font-weight:650}.field input,.field select,.field textarea,.search input,.select,.chat-input input{width:100%;min-width:0;max-width:100%;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:11px;padding:11px 12px;font-size:14px;line-height:1.5;min-height:44px;font-weight:400}.field textarea{resize:vertical;min-height:112px}.field input[type=date]{appearance:none;-webkit-appearance:none;display:block;text-align:left}.field small{font-weight:400}.field-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:0}input::placeholder,textarea::placeholder{color:var(--muted);opacity:.8}.check-row{display:flex;gap:11px;align-items:flex-start;min-height:44px;padding:6px 0;font-size:13px;line-height:1.55;margin:8px 0}.check-row input{appearance:auto;accent-color:var(--brand);width:20px;min-width:20px;height:20px;margin:1px 0 0}.notice{display:flex;align-items:flex-start;gap:10px;background:var(--soft);color:var(--muted);padding:14px;border-radius:13px;font-size:12px;line-height:1.65;margin:17px 0;overflow-wrap:anywhere}.notice .icon{width:18px;height:18px;margin-top:2px}.notice.green{background:var(--green-bg);color:var(--green)}.notice.blue{background:var(--blue-bg);color:var(--blue)}.notice.amber{background:var(--amber-bg);color:var(--amber)}.notice.red{background:var(--red-bg);color:var(--red)}.error{font-size:13px;color:var(--red);margin:12px 0}.empty{padding:29px 20px;text-align:center;background:var(--surface);border:1px dashed var(--line);border-radius:18px;color:var(--muted)}.empty>.icon{width:27px;height:27px;margin:0 auto 13px;color:var(--brand)}.empty h3{color:var(--ink);margin-bottom:8px}.empty p{font-size:13px;line-height:1.65}.category-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:var(--accent);color:var(--brand);flex-shrink:0}.category-icon .icon{width:21px;height:21px}.category-button{display:flex;align-items:center;gap:10px;text-align:left;width:100%;padding:12px 0;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--ink)}.avatar{width:39px;height:39px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;overflow:hidden;background:var(--soft)}.avatar .portrait{width:100%;height:100%}.account-card,.profile-card{display:flex;align-items:center;gap:13px}.account-card{margin-bottom:16px}.account-card>div:last-child,.profile-card>div:last-child{min-width:0}.profile-card .avatar{width:52px;height:52px}.account-card h2{font-size:17px}.account-card p{margin-top:4px}.badge-check{display:inline-flex;gap:5px;align-items:center;font-size:11px;color:var(--green)}.badge-check .icon{width:14px;height:14px}.more-links{padding:0 17px;margin-bottom:16px}.more-links:empty{display:none}.more-link{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:15px 0;border:0;background:transparent;color:var(--ink);text-align:left;font-size:14px;font-weight:650}.more-link+.more-link{border-top:1px solid var(--line)}.more-link>span{flex:1}.more-link>.icon:last-child{width:17px;color:var(--muted)}.demo-settings h3{margin:7px 0 9px}.demo-settings .btn{margin-top:16px}.role-choices{display:grid;gap:10px;margin:16px 0}.role-choice{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid var(--line);border-radius:13px;background:var(--surface);color:var(--ink);text-align:left;font-size:13px}.role-choice>span:nth-child(2){flex:1}.role-choice small{display:block}.role-choice.selected{background:var(--accent);border-color:var(--brand)}.doc-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:16px 0;border-bottom:1px solid var(--line);font-size:13px}.doc-row:last-child{border-bottom:0}.doc-row>.row{min-width:0;align-items:flex-start;flex:1 1 100%}.doc-row>.row>div{min-width:0}.doc-row .icon{color:var(--brand);width:18px;height:18px;margin-top:2px}.doc-row>.btn{margin-left:28px}.doc-row small{margin-top:3px}.mini-master{padding:15px;border:1px solid var(--line);border-radius:14px;display:flex;gap:11px;align-items:center;margin-bottom:16px}.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin:17px 0 20px}.calendar-day{min-width:0;display:flex;align-items:center;flex-direction:column;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--muted);padding:9px 1px;font-size:11px}.calendar-day strong{font-size:17px;line-height:1.6;font-weight:650;color:var(--ink)}.calendar-day.active{background:var(--brand);border-color:var(--brand);color:var(--onbrand)}.calendar-day.active strong{color:var(--onbrand)}.calendar-day small{font-size:9px}.calendar-day.active small{color:inherit}
.table-wrap{overflow:visible}.data-table,.data-table tbody{display:block;width:100%}.data-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.data-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr);background:var(--surface);border:1px solid var(--line);border-radius:17px;padding:16px;margin-bottom:14px}.data-table td{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:9px 0;border:0;font-size:13px;white-space:normal!important;min-width:0;overflow-wrap:anywhere}.data-table td:first-child{display:block;padding-top:0;border-bottom:1px solid var(--line);margin-bottom:4px;font-size:16px;font-weight:650}.data-table td:before{content:attr(data-label);color:var(--muted);font-size:11px;flex:0 0 76px}.data-table td:first-child:before,.data-table td[data-label=""]:before,.data-table td[colspan]:before{display:none}.data-table small{display:block;font-size:12px;font-weight:400;margin-top:5px}.data-table td:last-child{padding-bottom:0}.data-table .btn{width:100%}
.drawer-backdrop,.modal-backdrop{position:fixed;left:0;right:0;top:calc(var(--viewport-top,0px) + 35px);height:calc(var(--viewport-height,100dvh) - 35px);z-index:80;background:#14233366;display:flex;justify-content:center;backdrop-filter:blur(4px)}.drawer{width:100%;max-width:600px;background:var(--paper);color:var(--ink);height:100%;display:flex;flex-direction:column;overflow:hidden}.drawer-head{display:flex;flex-direction:column;align-items:flex-start;gap:11px;padding:17px 18px 16px;border-bottom:1px solid var(--line);background:var(--surface);flex-shrink:0}.drawer-head>div{order:1;width:100%;min-width:0}.drawer-head h2{margin-top:8px;font-size:21px;line-height:1.35}.drawer-close{width:auto;height:32px;min-height:32px;display:flex;align-items:center;gap:4px;padding:0 9px;margin-left:-4px;border:0;border-radius:10px;background:var(--soft);font-size:12px;font-weight:650}.drawer-close .icon{width:16px;height:16px}.drawer-body{min-height:0;flex:1;overflow:auto;overscroll-behavior:contain;padding:16px 18px 28px}.drawer .tabs{gap:2px;padding:3px;margin-bottom:20px}.drawer .tabs button{min-width:0;padding:8px 5px;font-size:11px}.detail-meta{display:grid;grid-template-columns:1fr 1fr;gap:15px 13px;margin:17px 0 23px}.detail-meta>div{min-width:0}.detail-meta p{font-size:14px;line-height:1.45;font-weight:650;margin:5px 0}.detail-meta small{font-size:11px;line-height:1.6}.detail-meta .mini-label{font-size:9px;letter-spacing:.7px}.detail-actions{display:grid;gap:10px;margin:22px 0 0}.detail-actions .btn{width:100%}.estimate{border-collapse:collapse;table-layout:fixed;width:100%;font-size:12px;margin-top:9px}.estimate th{color:var(--muted);font-weight:500;font-size:10px;text-align:left;padding:12px 0;border-bottom:1px solid var(--line)}.estimate th:first-child{width:52%}.estimate th:nth-child(2){width:13%;text-align:center}.estimate th:last-child{width:35%;text-align:right}.estimate td{padding:14px 6px 14px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere;vertical-align:top}.estimate td:nth-child(2){text-align:center}.estimate td:last-child{text-align:right;font-weight:650;padding-right:0;white-space:nowrap}.estimate small{font-size:10px;margin-top:3px}.estimate-total{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;padding-top:18px;font-size:13px}.estimate-total strong{font-size:24px;line-height:1.3}.modal-backdrop{align-items:flex-end;z-index:90}.modal{width:100%!important;max-width:560px;background:var(--paper);color:var(--ink);max-height:calc(100% - 20px);border-radius:22px 22px 0 0;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 -15px 60px #14233322}.modal-head{padding:17px 18px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--surface);border-bottom:1px solid var(--line);flex-shrink:0}.modal-head h2{font-size:21px;line-height:1.3}.modal-head .icon-button{width:32px;height:32px}.modal-body{padding:20px 18px calc(24px + env(safe-area-inset-bottom,0px));overflow:auto;overscroll-behavior:contain;min-height:0}.modal-footer{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}.modal-footer>.btn{flex:1 1 100%}.modal-footer>.primary{order:-1}.service-grid{display:grid;gap:9px;margin-top:16px}.service-choice{display:flex;align-items:center;gap:12px;text-align:left;min-height:53px;padding:13px;border:1px solid var(--line);background:var(--surface);border-radius:12px;color:var(--ink);font-size:14px;font-weight:650}.service-choice .icon{color:var(--brand)}.service-choice.selected{background:var(--accent);border-color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand)}.details-list{background:var(--soft);border:1px solid var(--line);padding:14px;border-radius:13px;margin:18px 0;font-size:13px}.details-list>div{display:flex;justify-content:space-between;gap:10px;padding:7px 0}.details-list b{text-align:right}.file-area{border:1px dashed var(--line);padding:16px;border-radius:13px;background:var(--surface);margin-top:14px}.file-area input{max-width:100%}.success-center{text-align:center;padding:8px 0}.success-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:var(--green-bg);color:var(--green);margin:0 auto 17px}.success-icon .icon{width:28px;height:28px}.success-center p{font-size:13px;color:var(--muted);margin:12px 0;line-height:1.65}.subhead{margin:23px 0 13px}.chat-feed{display:flex;flex-direction:column;gap:13px;margin:17px 0;min-height:150px}.bubble{max-width:94%;background:var(--surface);border:1px solid var(--line);border-radius:4px 15px 15px 15px;padding:12px;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.bubble.mine{align-self:flex-end;background:var(--accent);border-color:transparent;border-radius:15px 4px 15px 15px}.bubble small{display:block;font-size:10px;margin-bottom:5px}.chat-avatar{float:left;width:26px;height:26px;margin:1px 8px 5px 0}.chat-input{display:flex;gap:9px;position:sticky;bottom:-28px;background:var(--paper);padding:12px 0 20px}.chat-input input{flex:1}.chat-input .btn{width:44px;flex-shrink:0;padding:10px}.timeline{border-left:1px solid var(--line);margin:19px 0 0 5px;padding-left:20px}.event{position:relative;padding-bottom:21px;font-size:13px;line-height:1.65}.event:before{content:'';width:7px;height:7px;border-radius:50%;position:absolute;left:-24px;top:7px;background:var(--brand);box-shadow:0 0 0 4px var(--paper)}.event small{display:block;font-size:11px;margin-top:4px}.event .text-btn{display:block}.report-gallery{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:15px 0}.report-gallery figure{min-width:0}.report-gallery img{width:100%;aspect-ratio:1.15;object-fit:cover;border-radius:12px;display:block}.report-gallery figcaption{font-size:10px;color:var(--muted);padding-top:6px}.report-gallery>p{grid-column:1/-1;font-size:11px;color:var(--muted)}.status-strip{display:flex;flex-wrap:wrap;gap:10px;background:var(--soft);border:1px solid var(--line);border-radius:12px;padding:14px;font-size:12px;margin:17px 0}.screen-code{display:none}.scenario-tip{border-left:2px solid var(--brand);padding-left:12px;font-size:12px;color:var(--muted);margin-bottom:20px}.demo-footnote,.bottom-note{text-align:center;font-size:11px;line-height:1.7;color:var(--muted);margin-top:25px}.demo-footnote button{color:var(--brand);border:0;background:transparent;padding:8px;font-size:11px}#toast{position:fixed;z-index:120;bottom:calc(var(--bottom-space) + 12px);left:50%;transform:translate(-50%,10px);max-width:calc(100% - 32px);width:max-content;background:var(--ink);color:var(--paper);border-radius:13px;padding:12px 16px;font-size:13px;box-shadow:0 6px 30px #14233320;opacity:0;pointer-events:none;transition:opacity .18s,transform .18s}#toast.visible{opacity:1;transform:translate(-50%,0)}.keyboard-open #toast{bottom:16px}
.drawer-body.chat-screen{display:flex;flex-direction:column}.chat-screen>.tabs{flex-shrink:0}.chat-screen>.chat-feed{flex:1}.chat-screen .chat-input{position:static;margin-bottom:-10px;padding-bottom:0;flex-shrink:0}
@media(min-width:721px){.drawer-backdrop,.modal-backdrop{top:var(--viewport-top,0px);height:var(--viewport-height,100dvh)}.phone-status{display:none}.atrium-shell{border-inline:1px solid var(--line);background:var(--paper)}.atrium-top{padding-top:23px}.content{padding-inline:25px}.modal-backdrop{align-items:center;padding:20px}.modal{border-radius:22px}.drawer{box-shadow:0 0 90px #10203320}.drawer-head{padding:20px 25px}.drawer-body{padding:20px 25px 30px}}
@media(max-width:340px){.content{padding-inline:15px}.atrium-top{padding-inline:15px}.welcome h1,.page-head h1{font-size:23px}.order-person>strong{font-size:12px}.order-person small{font-size:9px}.bottom-nav-item{font-size:9px}.drawer-body,.modal-body{padding-inline:14px}.drawer .tabs button{font-size:10px;padding-inline:4px}.detail-meta{gap:14px 10px}.estimate{font-size:11px}}
@media(max-width:280px){.atrium-brand>svg{width:26px;height:26px}.atrium-brand span{font-size:22px}.atrium-brand small{display:none}.atrium-top{gap:8px}.top-actions{gap:5px}.top-actions .icon-button{width:30px;height:30px}.top-actions .portrait{width:30px;height:30px}.welcome h1,.page-head h1{font-size:22px}.order-person{flex-wrap:wrap}.order-person>strong{margin-left:38px}.bottom-nav-item{font-size:8px}.nav-icon{width:33px}.detail-meta{grid-template-columns:1fr}.drawer .tabs{overflow-x:auto}.drawer .tabs button{flex:0 0 auto;font-size:11px}.atrium-metrics{gap:8px}.atrium-metrics button{padding:11px}.atrium-metrics .icon{display:none}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* In the studio demo, the shared iPhone shell owns the status bar and gesture area. */
.atrium-embedded .phone-status{display:none!important}
.atrium-embedded .atrium-top{padding-top:12px}
.atrium-embedded .drawer-backdrop,.atrium-embedded .modal-backdrop{top:var(--viewport-top,0px);height:var(--viewport-height,100dvh)}
