@charset "UTF-8";
:root{--navy:#102f3c;--navy-deep:#0c2632;--teal:#087c70;--teal-dark:#066459;--teal-soft:#e7f4ef;--ink:#172e3b;--muted:#63737d;--line:#e2e8e8;--canvas:#f4f7f6;--white:#fff;--amber:#95611a;--amber-soft:#fff3dd;--red:#b5433f;--red-soft:#fff0ee;--blue:#3a6391;--blue-soft:#edf3fb;--radius:12px;--shadow:0 6px 22px #16313c06;--font:Inter,"Segoe UI",Arial,sans-serif}
*{box-sizing:border-box}body{margin:0;font:14px/1.55 var(--font);color:var(--ink);background:var(--canvas)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:var(--teal);text-decoration:none}a:hover{text-decoration:underline}button{border:0}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #249cbb;outline-offset:3px}button:active:not(:disabled){filter:brightness(.94)}[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}h1{font-size:29px;line-height:1.3;letter-spacing:-.9px;margin-bottom:7px}h2{font-size:19px;line-height:1.4;letter-spacing:-.3px;margin-bottom:4px}h3{font-size:15px;margin-bottom:8px}p{margin-bottom:16px}small{font-size:12px}svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}code{font-size:12px;font-family:Consolas,monospace;overflow-wrap:anywhere}.muted{color:var(--muted)}.eyebrow,.overline{font-size:11px;font-weight:750;letter-spacing:1.9px}.eyebrow{color:var(--teal);margin-bottom:10px}.overline{color:var(--muted)}.skip-link{position:fixed;top:-100px;left:20px;z-index:99;background:var(--white);padding:14px;box-shadow:var(--shadow)}.skip-link:focus{top:10px}.app{display:flex;min-height:100vh}.sidebar{width:236px;position:fixed;inset:0 auto 0 0;background:var(--navy);color:#b8c9cf;display:flex;flex-direction:column;padding:32px 18px 19px;z-index:20}.brand{display:flex;gap:12px;align-items:center;color:white;margin:0 10px 43px}.brand:hover{text-decoration:none}.brand-mark{font-size:41px;font-weight:850;line-height:1;letter-spacing:-3px;color:white}.brand-mark>span{color:#5bd4b4}.brand>span+span{font-size:10px;letter-spacing:1.1px;font-weight:700;line-height:1.8}.brand small{display:block;font-size:11px;letter-spacing:0;color:#a9c0c9;font-weight:400}.nav-label{font-size:9px;letter-spacing:1.5px;font-weight:650;color:#8da7b3;margin:0 14px 14px}.nav-link{color:#bbced5;display:flex;align-items:center;gap:12px;border-radius:8px;padding:12px 14px;min-height:46px;font-size:13px;font-weight:550;margin:4px 0;transition:background .16s,color .16s}.nav-link:hover{background:#ffffff0a;color:white;text-decoration:none}.nav-link.active{background:#206052;color:#fff;box-shadow:inset 3px 0 #65d7b3}.nav-link svg{width:19px;height:19px}.nav-link .nav-count{margin-left:auto;background:#ffffff16;font-size:11px;padding:1px 7px;border-radius:4px;color:white}.nav-divider{border-top:1px solid #ffffff12;margin:21px 11px}.sidebar-bottom{margin-top:auto;padding-top:30px}.system-mini{font-size:11px;display:flex;align-items:center;gap:7px;margin:0 12px}.sidebar-bottom>p{color:#8ea9b4;font-size:12px;margin:13px 12px 24px;line-height:1.7}.owner{border-top:1px solid #ffffff18;display:flex;gap:10px;align-items:center;padding-top:19px}.owner strong{color:white;font-size:12px;font-weight:600}.owner small{display:block;font-size:10px;color:#9cb4bf}.owner .icon-button{margin-left:auto;color:#acc3cd;width:32px}.avatar{width:36px;height:36px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#d6eee6;color:#226a59;font-weight:750;font-size:14px;flex-shrink:0}.avatar.small{width:31px;height:31px;font-size:12px}.workspace{margin-left:236px;flex:1;min-width:0}.topbar{height:76px;padding:0 38px;background:var(--white);border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px}.topbar-left,.topbar-actions{display:flex;align-items:center;gap:16px}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb span{margin:0 12px;color:#bbc6c9}.breadcrumb b{font-weight:550;color:var(--ink)}.topbar-actions{gap:10px}.topbar-divider{height:23px;width:1px;background:var(--line);margin:0 7px}.icon-button{min-width:38px;min-height:40px;background:transparent;color:var(--muted);display:inline-flex;align-items:center;justify-content:center;border-radius:7px}.icon-button:hover{background:#e9f1ef;color:var(--teal)}.mobile-menu{display:none}.count{background:var(--red);color:white;padding:0 5px;border-radius:12px;font-size:10px;margin-left:-20px;align-self:flex-start;z-index:1}.runtime-banner{margin:18px 38px 0;display:flex;align-items:center;gap:9px;padding:10px 14px;font-size:11px;border:1px solid #e3e8dd;background:#f4f7ed;color:#5d673b;border-radius:7px}.runtime-banner svg{width:15px;height:15px}.runtime-banner b{font-weight:650}main{padding:29px 38px 32px;max-width:1680px;margin:auto;min-height:calc(100vh - 190px)}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:26px}.page-heading p{font-size:13px;color:var(--muted);margin:0}.heading-actions{display:flex;gap:10px;align-items:center;flex-shrink:0;padding-top:5px}.button{min-height:42px;padding:9px 15px;border-radius:7px;background:white;color:var(--ink);border:1px solid #dbe3e2;font-size:12px;font-weight:650;display:inline-flex;gap:8px;align-items:center;justify-content:center;white-space:nowrap;transition:background .16s,border-color .16s}.button:hover{background:#f4f8f6;border-color:#c0d4ce;text-decoration:none}.button svg{width:16px;height:16px}.button.primary{background:var(--teal);border-color:var(--teal);color:white;box-shadow:0 2px 3px #087c7015}.button.primary:hover{background:var(--teal-dark)}.button.soft{background:var(--teal-soft);border-color:#d7ebe1;color:var(--teal-dark)}.button.danger{background:var(--red-soft);border-color:#f0c9c5;color:var(--red)}.button.small{min-height:36px;font-size:11px;padding:7px 11px}.button.wide{width:100%}.text-button{background:transparent;color:var(--teal);font-size:12px;font-weight:650;padding:6px 0;display:inline-flex;align-items:center;gap:6px}.text-button svg{width:15px}.status-dot{width:6px;height:6px;background:#2da183;border-radius:50%;display:inline-block;flex-shrink:0}.status-dot.amber{background:#d6a75f}.pill{display:inline-flex;align-items:center;gap:5px;vertical-align:middle;min-height:24px;font-size:10px;line-height:1.3;font-weight:650;padding:4px 8px;border-radius:5px;background:var(--teal-soft);color:var(--teal-dark);white-space:normal}.pill.amber{background:var(--amber-soft);color:var(--amber)}.pill.red{background:var(--red-soft);color:var(--red)}.pill.blue{background:var(--blue-soft);color:var(--blue)}.pill.gray{background:#edf1f2;color:#60717b}.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:27px}.metric{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:21px 20px 17px;box-shadow:var(--shadow);min-width:0}.metric-top{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:11px;font-weight:550;margin-bottom:15px}.metric-icon{width:31px;height:31px;display:flex;align-items:center;justify-content:center;border-radius:7px;background:var(--teal-soft);color:var(--teal)}.metric-icon svg{width:17px;height:17px}.metric-value{font-size:29px;letter-spacing:-.9px;line-height:1.2;font-weight:650;white-space:nowrap}.metric-value span{font-size:17px;font-weight:500;margin-left:4px;letter-spacing:0}.metric-note{font-size:10px;color:var(--muted);margin-top:12px;display:flex;gap:5px;align-items:center}.metric-note strong{font-weight:600;color:var(--teal)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 288px;gap:22px;align-items:start}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.card-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 21px 17px}.card-head h2{font-size:15px;letter-spacing:-.1px;display:flex;align-items:center;gap:9px;margin:0}.card-head p{font-size:11px;margin:3px 0 0;color:var(--muted)}.card-body{padding:20px 22px}.card-head .neutral-count{font-size:10px;padding:2px 6px;border-radius:4px;background:#eff3f2;color:var(--muted);font-weight:550}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 21px 16px}.tabs{display:flex;align-items:center;gap:3px;flex-wrap:wrap}.tab{background:transparent;color:var(--muted);font-size:11px;font-weight:550;border-radius:6px;min-height:34px;padding:7px 12px}.tab.active{background:#edf5f1;color:var(--teal-dark)}.tab:hover{background:#f1f5f4}.tab span{margin-left:5px;color:#8b989e;font-size:10px}.search{position:relative;flex:1;max-width:290px;min-width:160px}.search svg{position:absolute;left:11px;top:11px;width:15px;height:15px;color:#8a999e}.search input{padding-left:33px;min-height:37px;font-size:11px}.table-wrap{width:100%;overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}th{background:#fafcfc;color:#7c8b91;font-size:9px;letter-spacing:.65px;text-transform:uppercase;font-weight:650;padding:12px 14px;border-top:1px solid #edf1f0;border-bottom:1px solid #edf1f0;white-space:nowrap}th:first-child,td:first-child{padding-left:21px}th:last-child,td:last-child{padding-right:21px}td{padding:16px 14px;border-bottom:1px solid #edf1f0;vertical-align:middle}tbody tr:last-child td{border-bottom:0}.order-link{color:var(--teal-dark);font-size:11px;font-weight:700;background:transparent;padding:0;min-height:28px;white-space:nowrap}.cell-stack strong{font-weight:600;font-size:11px;display:block;line-height:1.4}.cell-stack small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.cell-stack .phone{font-variant-numeric:tabular-nums;font-size:10px;white-space:nowrap}.urgency{display:inline-flex;align-items:center;gap:4px;font-size:9px;color:var(--muted);margin-top:4px}.urgency.urgent{color:var(--red)}.urgency svg{width:11px;height:11px}.arrow-button{width:28px;min-height:32px;color:#8ca49b;background:transparent;display:flex;align-items:center;justify-content:center;border-radius:5px}.arrow-button:hover{background:var(--teal-soft);color:var(--teal)}.arrow-button svg{width:14px}.card-footer{border-top:1px solid var(--line);padding:11px 21px;display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:10px;gap:10px}.side-stack{display:grid;gap:20px}.flow-card{background:var(--navy);color:white;border:0;padding:22px}.flow-card .overline{font-size:9px;color:#91b8b6;letter-spacing:1.2px}.flow-card h2{font-size:18px;line-height:1.5;margin:10px 0 21px;letter-spacing:-.3px}.flow-step{display:flex;gap:10px;position:relative;padding-bottom:19px}.flow-step:last-child{padding-bottom:0}.step-num{border:1px solid #467476;background:#244951;color:#a5dfcd;border-radius:50%;width:25px;height:25px;display:flex;align-items:center;justify-content:center;font-size:10px;flex-shrink:0}.flow-step:not(:last-child):before{content:"";position:absolute;left:12px;top:27px;height:15px;border-left:1px dashed #527975}.flow-step b{display:block;font-size:11px;font-weight:550}.flow-step small{color:#9bb6be;display:block;font-size:10px;margin-top:3px}.attention-item{padding:13px 20px;display:flex;gap:10px;border-top:1px solid #edf1f0;align-items:flex-start}.attention-item svg{width:16px;height:16px;margin-top:2px;color:var(--amber)}.attention-item b{font-size:11px;font-weight:600;display:block}.attention-item small{font-size:10px;color:var(--muted)}.attention-item button{background:transparent;color:var(--teal);font-size:10px;padding:2px 0;display:block;margin-top:5px}.mini-summary{display:flex;align-items:center;justify-content:space-between;padding:13px 21px;border-top:1px solid #edf1f0;font-size:11px;color:var(--muted)}.mini-summary strong{font-weight:650;color:var(--ink)}.activity-list{display:grid;gap:0}.activity-row{display:flex;gap:12px;padding:13px 21px;border-top:1px solid #edf1f0}.activity-dot{background:#e7f1ed;color:var(--teal);width:27px;height:27px;border-radius:7px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.activity-dot svg{width:14px;height:14px}.activity-row p{font-size:11px;margin:0}.activity-row small{font-size:10px;color:var(--muted)}.activity-row time{margin-left:auto;font-size:10px;color:var(--muted);white-space:nowrap}.section-gap{margin-top:23px}.filters{display:flex;gap:12px;align-items:end;padding:18px 21px;flex-wrap:wrap;border-bottom:1px solid var(--line)}.filters .field{margin:0;min-width:140px;flex:1;max-width:260px}.filters label{font-size:10px;color:var(--muted);margin-bottom:5px}.filters input,.filters select{min-height:38px;font-size:12px}.filters .search{max-width:none}.field{margin-bottom:16px;min-width:0}.field label,label.field-label{display:block;font-size:12px;font-weight:600;margin-bottom:6px}.field input,.field select,.field textarea,input,select,textarea{width:100%;background:white;border:1px solid #d4dfdc;border-radius:7px;padding:10px 11px;color:var(--ink);min-height:42px;max-width:100%}input::placeholder,textarea::placeholder{color:#8e9b9f}textarea{resize:vertical;min-height:88px}.field small{display:block;margin-top:5px;color:var(--muted);font-size:11px}.field.check label{display:flex;align-items:flex-start;gap:9px;line-height:1.6;font-weight:450}.field.check input{width:17px;min-height:17px;height:17px;margin:3px 0 0;accent-color:var(--teal);flex-shrink:0}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.field-grid .full{grid-column:1/-1}.form-error{background:var(--red-soft);color:#a53935;padding:11px 13px;border:1px solid #f4cfcb;font-size:12px;margin:12px 0;border-radius:7px;white-space:pre-wrap}.notice{display:flex;gap:9px;align-items:flex-start;padding:13px 14px;background:#f5f8f6;border:1px solid #e5ece8;border-radius:7px;font-size:11px;color:var(--muted);line-height:1.65}.notice .status-dot{margin-top:6px}.notice.amber{background:var(--amber-soft);border-color:#f0e1bf;color:#7a571d}.notice.red{background:var(--red-soft);border-color:#f4cfcb;color:#a53935}.empty{padding:44px 24px;text-align:center;color:var(--muted)}.empty .empty-icon{width:46px;height:46px;border-radius:12px;background:#eef5f1;color:#84a79b;display:flex;justify-content:center;align-items:center;margin:0 auto 13px}.empty h3{font-size:14px;color:var(--ink);margin-bottom:5px}.empty p{font-size:12px;margin-bottom:16px}.empty .button{margin:auto}.loading{min-height:300px;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--muted);font-size:13px}.spinner{width:17px;height:17px;border:2px solid #c9ded6;border-top-color:var(--teal);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.footer{display:flex;justify-content:space-between;gap:15px;padding:17px 38px 20px;font-size:9px;color:#7d8e94;border-top:1px solid var(--line);margin:0 38px;padding-left:0;padding-right:0}.footer>span:last-child{display:flex;align-items:center;gap:5px}.detail-dialog{margin:0 0 0 auto;width:760px;max-width:calc(100vw - 24px);height:100dvh;max-height:100dvh;border:0;padding:0;background:var(--canvas);box-shadow:-12px 0 80px #102f3c29}.form-dialog{border:0;border-radius:14px;padding:0;background:white;width:590px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 40px);box-shadow:0 24px 100px #102f3c40}dialog::backdrop{background:#112f3d73;backdrop-filter:blur(2px)}.dialog-header{padding:23px 26px 19px;background:white;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.dialog-header h2{font-size:20px;margin:0}.dialog-header p{font-size:11px;color:var(--muted);margin:4px 0 0}.dialog-header .icon-button{margin:-3px -6px 0 0}.dialog-body{padding:24px 26px}.form-dialog .dialog-body{padding-bottom:12px}.dialog-footer{display:flex;justify-content:flex-end;gap:10px;align-items:center;padding:17px 26px;border-top:1px solid var(--line);background:white}.detail-topline{display:flex;align-items:center;gap:9px;margin-bottom:10px}.detail-head-title{display:flex;align-items:center;gap:12px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.detail-section{padding:19px 20px;background:white;border:1px solid var(--line);border-radius:10px;margin-bottom:18px}.detail-section h3{font-size:12px;margin:0 0 15px;color:var(--muted);letter-spacing:.3px}.data-list{display:grid;grid-template-columns:105px minmax(0,1fr);gap:10px 12px;font-size:12px;margin:0}.data-list dt{color:var(--muted)}.data-list dd{margin:0;overflow-wrap:anywhere}.data-list a{white-space:nowrap}.action-strip{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.step-line{display:flex;gap:8px;align-items:center;padding:12px 14px;border-radius:8px;background:var(--teal-soft);font-size:11px;margin-bottom:18px;color:var(--teal-dark)}.step-line svg{width:16px;height:16px}.timeline{padding-left:0;list-style:none;margin:0}.timeline li{position:relative;padding-left:19px;padding-bottom:17px;border-left:1px solid #dbe7e1;font-size:11px;margin-left:4px;overflow-wrap:anywhere}.timeline li:last-child{border-left-color:transparent;padding-bottom:0}.timeline li:before{content:"";position:absolute;left:-4px;top:5px;width:7px;height:7px;background:#70ad94;border:2px solid white;border-radius:50%}.timeline time{display:block;color:var(--muted);font-size:10px;margin-top:3px}.event-data{margin:5px 0 0;color:var(--muted);font-size:10px;white-space:pre-wrap}.details-toggle{border-top:1px solid var(--line);padding-top:15px;margin-top:10px}.details-toggle summary{cursor:pointer;font-size:12px;color:var(--muted);padding:5px 0 10px}.action-group{margin-top:14px}.action-group h4{font-size:11px;font-weight:600;margin:0 0 9px;color:var(--muted)}.group-card{margin:0;font:12px/1.8 var(--font);white-space:pre-wrap;overflow-wrap:anywhere;background:#f4f8f6;border:1px dashed #b7cfc2;border-radius:7px;padding:14px}.offer{border:1px solid var(--line);border-radius:7px;padding:12px;display:flex;gap:12px;align-items:center;margin-top:9px}.offer-main{flex:1}.offer-main b{font-size:12px}.offer-main p{font-size:11px;color:var(--muted);margin:4px 0 0}.offer .pill{margin:0 6px}.offer .button{min-height:34px}.master-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:20px}.master-card{border:1px solid var(--line);border-radius:10px;padding:18px}.master-card-top{display:flex;gap:10px;align-items:center;margin-bottom:17px}.master-card-top .avatar{border-radius:9px;width:39px;height:39px}.master-card h3{font-size:13px;margin:0 0 3px}.master-card-top .pill{margin-left:auto;font-size:9px}.master-card small{font-size:11px;color:var(--muted)}.master-tags{display:flex;gap:5px;flex-wrap:wrap;margin:12px 0 17px}.master-stats{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:12px;font-size:10px;color:var(--muted);gap:10px}.master-stats b{display:block;font-size:13px;color:var(--ink);font-weight:600;margin-top:3px}.master-actions{display:flex;gap:7px;margin-top:15px;flex-wrap:wrap}.money{white-space:nowrap;font-variant-numeric:tabular-nums}.money.debt{color:var(--red)}.finance-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px}.message-list{display:grid;gap:14px;padding:20px}.message-card{border:1px solid var(--line);border-radius:9px;overflow:hidden}.message-head{padding:12px 15px;display:flex;justify-content:space-between;gap:12px;align-items:center;background:#fafcfa}.message-head b{font-size:12px}.message-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:10px;color:var(--muted)}.message-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;margin:0;padding:15px;background:white}.message-actions{display:flex;gap:8px;align-items:center;padding:11px 15px;border-top:1px solid #edf1f0;flex-wrap:wrap}.message-actions small{font-size:10px;color:var(--muted);margin-left:auto}.settings-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(250px,.85fr);gap:24px;align-items:start}.settings-section{padding:22px;border-bottom:1px solid var(--line)}.settings-section:last-child{border-bottom:0}.settings-section h3{font-size:13px;margin-bottom:3px}.settings-section>p{font-size:11px;color:var(--muted);margin-bottom:19px}.settings-section .field:last-child{margin-bottom:0}.setting-stat{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--line);font-size:11px}.setting-stat:last-child{border:0}.setting-stat span{color:var(--muted)}.setting-stat b{font-weight:600;text-align:right}.sandbox-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;align-items:start}.chat-header{display:flex;gap:10px;align-items:center;padding:19px 20px;border-bottom:1px solid var(--line)}.chat-header b{font-size:13px}.chat-header p{font-size:10px;color:var(--muted);margin:2px 0 0}.chat-controls{padding:16px 20px 2px;display:flex;gap:12px}.chat-controls .field{flex:1}.chat-log{padding:20px;min-height:290px;max-height:480px;overflow-y:auto;background:#f6f8f4;display:flex;flex-direction:column;align-items:flex-start;gap:12px}.chat-bubble{max-width:90%;background:white;border:1px solid #e4eae1;border-radius:10px 10px 10px 2px;padding:12px 14px;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.chat-bubble.user{align-self:flex-end;background:#e0f0e7;border-color:#cde6d8;border-radius:10px 10px 2px 10px}.chat-bubble small{display:block;font-size:9px;color:var(--muted);margin-top:5px}.chat-compose{padding:17px 20px;display:flex;align-items:end;gap:10px;border-top:1px solid var(--line)}.chat-compose .field{flex:1;margin:0}.chat-compose textarea{min-height:68px;max-height:160px;font-size:12px}.chat-compose .button{min-width:42px;padding:12px}.chat-compose .button svg{width:17px}.chat-empty{align-self:center;text-align:center;color:var(--muted);font-size:12px;margin:auto;max-width:310px}.example-buttons{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.example-buttons button{background:white;border:1px solid var(--line);font-size:10px;padding:7px 10px;border-radius:6px;color:var(--teal)}.clock-controls{display:flex;gap:7px;flex-wrap:wrap;margin-top:13px}.clock-controls .button{flex:1}.media-help{font-size:11px;color:var(--muted);line-height:1.7}.toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);background:var(--navy);border:1px solid #284958;color:white;padding:13px 20px;border-radius:9px;box-shadow:0 9px 32px #102f3c2e;font-size:12px;z-index:100;max-width:calc(100vw - 32px)}.toast.error{background:#a33e37;border-color:#a33e37}.login-screen{display:grid;grid-template-columns:1.1fr 1fr;min-height:100vh;background:white}.login-intro{background:var(--navy);color:white;padding:55px 66px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.login-intro:before{content:"";position:absolute;width:600px;height:600px;border:1px solid #a0d9c715;border-radius:50%;bottom:-380px;right:-140px;pointer-events:none}.login-brand{display:flex;align-items:center;gap:18px;position:relative}.login-brand>span:last-child{font-size:10px;letter-spacing:2px;color:#a9c9d0}.login-intro .eyebrow{color:#7ad2b3;margin-top:60px}.login-intro h1{font-size:42px;line-height:1.35;letter-spacing:-1.6px;max-width:530px;margin:18px 0}.login-intro p:not(.eyebrow){color:#a7c0c9;max-width:430px;font-size:14px;line-height:1.9}.login-architecture{display:flex;gap:20px;padding-top:70px}.login-architecture>span{color:#70ac9d;font-size:11px;flex:1}.login-architecture b{display:block;color:#d9e8e8;font-size:12px;font-weight:600;margin:8px 0 5px}.login-architecture small{font-size:10px;color:#91adb6;display:block}.login-panel{display:flex;align-items:center;justify-content:center;padding:60px 40px}.login-panel form{max-width:365px;width:100%}.login-panel h2{font-size:26px;margin:15px 0 12px}.login-panel .muted{font-size:13px;margin-bottom:28px}.login-panel label{display:block;font-weight:600;font-size:12px;margin:0 0 8px}.login-panel input{margin-bottom:17px;min-height:47px}.login-panel .button{min-height:46px;justify-content:space-between;padding:11px 17px}.login-hint{color:var(--muted);font-size:11px;line-height:1.8;margin:17px 0 29px}.noscript{padding:25px;color:var(--red)}
@media(min-width:1600px){main{padding-top:35px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 320px}.metric{padding:24px}.metric-value{font-size:33px}td{padding-top:18px;padding-bottom:18px}}
@media(max-width:1240px){.sidebar{width:210px;padding-left:13px;padding-right:13px}.workspace{margin-left:210px}.topbar{padding:0 25px}main{padding:25px}.runtime-banner{margin-left:25px;margin-right:25px}.footer{margin:0 25px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 260px;gap:17px}.metric{padding:17px 15px}.metric-value{font-size:25px}.metrics-grid{gap:12px}.metric-top{font-size:10px}.toolbar{align-items:flex-start}.dashboard-grid .toolbar{flex-direction:column}.dashboard-grid .search{max-width:none;width:100%}.master-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sandbox-grid{grid-template-columns:minmax(0,1fr) 270px}.heading-actions .button{padding:9px 12px}.page-heading{gap:14px}.breadcrumb{font-size:11px}.topbar-actions{gap:6px}}
@media(max-width:1050px){.dashboard-grid{grid-template-columns:1fr}.side-stack{grid-template-columns:1fr 1fr}.flow-card{grid-row:span 2}.dashboard-grid .toolbar{flex-direction:row;align-items:center}.dashboard-grid .search{max-width:260px}.sandbox-grid,.settings-grid{grid-template-columns:1fr}.sandbox-grid>.side-stack{grid-template-columns:1fr 1fr}.metric-value{font-size:23px}.metric-note{font-size:9px}.page-heading h1{font-size:25px}.page-heading p{font-size:12px}.finance-summary{gap:12px}.metric-icon{width:26px;height:26px}.metric-top{gap:4px}.topbar-actions .pill{font-size:9px}}
@media(max-width:800px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:236px;box-shadow:8px 0 50px #102f3c40}.sidebar.open{transform:translateX(0)}.workspace{margin-left:0}.mobile-menu{display:inline-flex}.topbar{height:66px;padding:0 20px;position:sticky;top:0;z-index:15}.topbar-left{gap:8px}.breadcrumb{font-size:11px}.breadcrumb>span,.breadcrumb{color:var(--muted)}.topbar-actions{gap:4px}.topbar-divider{margin:0 5px}.runtime-banner{margin:15px 20px 0}.runtime-banner{font-size:10px}.page-heading{margin-bottom:22px}main{padding:25px 20px}.footer{margin:0 20px}.heading-actions{gap:7px}.metrics-grid{gap:11px}.metric{padding:16px 12px}.metric-value{font-size:24px}.metric-top{font-size:10px}.metric-note{line-height:1.6}.login-intro{padding:35px}.login-intro h1{font-size:32px}.login-panel{padding:40px 30px}.login-architecture{gap:11px}.login-architecture small{font-size:9px}.form-dialog{max-height:calc(100dvh - 20px)}.button,.icon-button{min-height:44px}.button.small{min-height:40px}.tab{min-height:40px}.arrow-button{min-height:44px}.master-grid{padding:15px;gap:12px}.detail-dialog{max-width:100vw;width:690px}}
@media(max-width:600px){h1{font-size:25px}.topbar{padding:0 12px}.breadcrumb{font-size:0}.breadcrumb b{font-size:12px}.breadcrumb span{display:none}.topbar-actions .pill{max-width:99px}.topbar-divider{display:none}.topbar-actions .avatar{display:none}.topbar-actions .icon-button{min-width:36px}.runtime-banner{margin:12px 15px 0;padding:10px 11px;line-height:1.6}.runtime-banner svg{display:none}main{padding:23px 15px}.page-heading{flex-direction:column;gap:15px;margin-bottom:22px}.heading-actions{padding:0;width:100%}.heading-actions .button{flex:1}.page-heading p{font-size:12px;max-width:340px}.metrics-grid{grid-template-columns:1fr 1fr;gap:11px;margin-bottom:21px}.metric{padding:15px}.metric-top{font-size:10px;margin-bottom:12px}.metric-value{font-size:26px}.metric-note{font-size:9px;margin-top:9px}.metric-icon{width:27px;height:27px}.side-stack{grid-template-columns:1fr}.flow-card{grid-row:auto}.flow-card h2{font-size:17px;margin-bottom:17px}.flow-step{padding-bottom:16px}.dashboard-grid .toolbar{flex-direction:column;align-items:stretch}.dashboard-grid .search{max-width:none}.card-head{padding:17px 16px 14px}.toolbar{padding:0 15px 14px}.tab{padding:7px 10px;font-size:10px}.table-wrap table{min-width:650px}.card-footer{padding:12px 15px;font-size:9px}.card-footer .text-button{font-size:10px}.footer{margin:0 15px;font-size:9px;flex-wrap:wrap;padding-top:15px;gap:5px}.filters{padding:15px;gap:10px}.filters .field{min-width:calc(50% - 10px);max-width:none}.filters .field:first-child{min-width:100%}.filters .button{flex:1}.detail-grid,.field-grid{grid-template-columns:1fr}.field-grid .full{grid-column:auto}.dialog-header{padding:19px 18px 16px}.dialog-body{padding:20px 18px}.dialog-footer{padding:15px 18px;flex-wrap:wrap}.dialog-footer .button{flex:1}.detail-section{padding:17px 16px}.data-list{grid-template-columns:85px minmax(0,1fr);gap:10px;font-size:11px}.detail-section h3{font-size:11px}.detail-dialog{width:100%;max-width:100%}.detail-head-title{gap:8px;flex-wrap:wrap}.detail-head-title h2{font-size:19px}.action-strip .button{flex-grow:1}.offer{flex-wrap:wrap}.offer .button{width:100%}.master-grid{grid-template-columns:1fr}.master-card{padding:18px}.master-actions .button{flex:1}.finance-summary{grid-template-columns:1fr;gap:11px;margin-bottom:20px}.finance-summary .metric{display:grid;grid-template-columns:1fr 1fr;gap:7px 10px;align-items:center}.finance-summary .metric-top{margin:0}.finance-summary .metric-value{text-align:right;font-size:24px}.finance-summary .metric-note{grid-column:1/-1;margin:0}.finance-summary .metric-icon{display:none}.message-list{padding:13px}.message-head{align-items:flex-start;flex-wrap:wrap;padding:13px}.message-actions{padding:11px 13px}.message-actions .button{flex:1;font-size:10px}.message-actions small{margin:3px 0 0}.settings-section{padding:19px}.sandbox-grid>.side-stack{grid-template-columns:1fr}.chat-controls{padding:15px 15px 0;gap:10px}.chat-controls .field{min-width:0}.chat-controls .field:first-child{flex:1.5}.chat-controls input{font-size:12px}.chat-controls label{font-size:10px}.chat-compose{padding:13px;gap:8px}.chat-log{padding:15px;min-height:270px}.chat-bubble{max-width:95%;font-size:11px}.chat-header{padding:16px}.chat-compose textarea{font-size:11px}.login-screen{grid-template-columns:1fr}.login-intro{min-height:280px;padding:27px 25px}.login-intro h1{font-size:27px;margin:13px 0}.login-intro .eyebrow{font-size:9px;margin-top:27px;margin-bottom:8px}.login-intro p:not(.eyebrow){font-size:11px;margin-bottom:0;line-height:1.8}.login-brand .brand-mark{font-size:36px}.login-brand>span:last-child{font-size:9px}.login-architecture{display:none}.login-panel{padding:32px 25px 40px;align-items:flex-start}.login-panel h2{font-size:24px;margin-top:10px}.login-panel .muted{font-size:12px;margin-bottom:21px}.login-panel form{max-width:430px}.login-hint{margin-bottom:20px}.overline{font-size:9px}.toast{bottom:15px;padding:12px 15px;font-size:11px}.message-meta{overflow-wrap:anywhere}.settings-grid .card-body{padding:17px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.dashboard-grid>*,.settings-grid>*,.sandbox-grid>*,.card{min-width:0}.activity-row>div{min-width:0}.activity-row p{overflow-wrap:anywhere}

.runtime-banner.error{background:var(--red-soft);border-color:#efccc8;color:var(--red)}
.runtime-banner.paused{align-items:flex-start;font-size:12px;line-height:1.65}
.runtime-banner.paused:not(.error){background:var(--amber-soft);border-color:#e5c997;color:#71490f}
.runtime-banner.paused svg{flex-shrink:0;margin-top:3px}
.runtime-banner.paused>span{min-width:0;overflow-wrap:anywhere}
.runtime-health-warning{display:block;margin-top:5px;font-weight:600}

main:focus{outline:none}.media-help{overflow-wrap:anywhere}

.assistant-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.assistant-controls [hidden]{display:none}.assistant-log{height:560px;min-height:320px}.chat-bubble{overflow-wrap:anywhere}.chat-bubble small{line-height:1.5}.chat-compose textarea{min-height:80px}@media(max-width:600px){.assistant-controls{grid-template-columns:1fr}.assistant-log{height:480px}}
