/* AGV Service v0.7 — a single design system, tablet first. */
:root {
  --ink:#192e45; --muted:#2a4158; --blue:#1763c5; --green:#14715c;
  --amber:#865812; --red:#ae3948; --line:rgba(69,96,126,.18);
  --glass:rgba(245,250,255,.42); --glass-strong:rgba(245,250,255,.70);
  --edge:rgba(255,255,255,.68); --shadow:0 12px 34px rgba(40,60,88,.08);
  --radius:18px; --gap:20px; --page-pad:28px;
}
*{box-sizing:border-box}
html{scrollbar-gutter:stable}
body{margin:0;color:var(--ink);font:14px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background-color:#b2c0d1;background-image:radial-gradient(ellipse at 76% 5%,rgba(187,216,246,.86),transparent 52%),radial-gradient(ellipse at 9% 58%,rgba(158,196,199,.63),transparent 48%),radial-gradient(ellipse at 86% 92%,rgba(141,158,187,.47),transparent 58%);background-attachment:fixed;min-width:320px}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer;touch-action:manipulation;min-height:44px;padding:10px 15px;font-weight:600;line-height:1.35;border:1px solid var(--edge);border-radius:11px;background:rgba(250,253,255,.42);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:inset 0 1px 0 rgba(255,255,255,.4);transition:background .15s,border-color .15s}
button:disabled{cursor:default;opacity:.5}
button.primary{color:#fff;background:rgba(21,93,190,.90);border-color:rgba(82,145,227,.8);box-shadow:inset 0 1px 0 #ffffff24,0 5px 15px #28588815}
button.flat{backdrop-filter:none;-webkit-backdrop-filter:none;background:transparent;box-shadow:none;border-color:transparent}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,canvas:focus-visible{outline:3px solid #246dc3;outline-offset:3px}
input,select,textarea{min-height:48px;min-width:0;max-width:100%;font-size:16px;line-height:1.4;padding:11px 12px;border:1px solid rgba(255,255,255,.72);border-radius:10px;background:rgba(253,255,255,.49);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:inset 0 1px 3px #35516a07}
input::placeholder,textarea::placeholder{color:#465e75;opacity:1}
textarea{width:100%;min-height:96px;resize:vertical}
fieldset{min-width:0}fieldset:disabled :is(input,select,textarea){opacity:1;color:var(--muted);-webkit-text-fill-color:var(--muted)}fieldset:disabled .status-options button{opacity:1}.task-panel fieldset:disabled .save-bar>button{display:none}
[hidden]{display:none!important}
@media(hover:hover){button:hover:not(:disabled){background:rgba(255,255,255,.68);border-color:#fff}button.primary:hover:not(:disabled){background:#1059b8}button.flat:hover:not(:disabled){background:#ffffff30}}
.glass,.project-mini,.workspace-checklist{position:relative;z-index:0;background:var(--glass);border:1px solid var(--edge);border-radius:var(--radius);backdrop-filter:blur(24px) saturate(135%);-webkit-backdrop-filter:blur(24px) saturate(135%);box-shadow:var(--shadow),inset 0 1px 0 #ffffff55}
.shell{display:grid;grid-template-columns:208px minmax(0,1fr);min-height:100dvh}
.sidebar{position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;padding:26px 16px 20px;border-right:1px solid #ffffff70;background:rgba(238,247,255,.40);backdrop-filter:blur(28px);-webkit-backdrop-filter:blur(28px)}
.brand.app-name{padding:0 10px 28px;font-size:23px;line-height:1.2;font-weight:750;letter-spacing:-.6px}
.app-name span{display:block;font-size:11px;font-weight:500;color:var(--muted);letter-spacing:.8px;margin-top:5px}
.project-mini{padding:14px;margin-bottom:22px;background:#f8fcff26;border-radius:12px;box-shadow:none}
.eyebrow{font-size:10px;line-height:1.6;font-weight:700;text-transform:uppercase;letter-spacing:1.45px;color:var(--muted)}
nav{display:grid;gap:6px}nav button{backdrop-filter:none;-webkit-backdrop-filter:none;display:flex;align-items:center;gap:11px;background:transparent;border-color:transparent;box-shadow:none;text-align:left;padding:12px 10px;font-weight:550;min-height:52px}nav button.active{background:rgba(224,240,255,.65);border-color:#ffffff8c;color:#155cae;box-shadow:inset 0 1px 0 #fff6}nav .label{line-height:1.3}nav .count{margin-left:auto;padding:2px 6px;border-radius:6px;background:#ffffff55;font-size:10px}.nav-icon{display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px}.nav-icon svg{width:25px;height:25px}nav .active .nav-icon svg{stroke-width:2.1}
.side-bottom{margin-top:auto}.side-bottom>.small{font-size:11px;line-height:1.8}.profile{display:flex;align-items:center;gap:10px;padding:18px 6px 0;border-top:1px solid var(--line)}.avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#e8f3ff70;border:1px solid #ffffff80;color:#245f9b;font-size:12px;font-weight:700;flex-shrink:0}.small{font-size:12px;color:var(--muted);line-height:1.6}
main{min-width:0}.demo-banner{padding:7px 20px;background:#eef6ff30;border-bottom:1px solid #ffffff52;text-align:center;font-size:10px;line-height:1.5;color:#405c77}.topbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px var(--page-pad);min-height:80px;border-bottom:1px solid #ffffff66;background:#f7fbff24;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.partner-logos{display:flex;align-items:center;gap:28px;min-width:0}.partner-logos>div{display:flex;align-items:center;gap:10px}.partner-logos img{display:block;width:110px;height:38px;object-fit:contain}.partner-logos .proxton-logo{width:140px;height:38px}.partner-logos>div:last-child img{width:42px;height:42px}.partner-logos span{font-size:10px;color:var(--muted)}.top-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.top-actions select{width:190px;font-size:14px}
.content{max-width:1600px;margin:0 auto;padding:26px var(--page-pad) 28px}.heading{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.heading>div{min-width:0}.heading>button{flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:29px;line-height:1.25;font-weight:730;letter-spacing:-.9px;margin:6px 0 9px}h2{font-size:18px;line-height:1.4;letter-spacing:-.3px}h3{font-size:14px;line-height:1.5}p+p{margin-top:8px}.subtitle{color:var(--muted);line-height:1.65}.heading .subtitle{font-size:13px}
.pill{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border:1px solid #ffffff65;border-radius:7px;background:#edf5fc5e;color:#4c6277;font-size:11px;line-height:1.4;font-weight:650;white-space:normal;vertical-align:middle;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}.pill.green{color:#12634f;background:#daf3e98f}.pill.amber{color:#78500c;background:#fff0ce9c}.pill.red{color:#9b3040;background:#ffe2e799}.pill.blue{color:#185ba8;background:#dfedff91}.dot{width:6px;height:6px;border-radius:50%;background:currentColor;display:inline-block;flex-shrink:0}
.hero{display:grid;grid-template-columns:minmax(0,1fr) 290px;overflow:hidden;margin-bottom:20px}.hero-body{padding:27px 28px}.hero h2{font-size:25px;letter-spacing:-.6px;margin:10px 0}.hero-graphic{position:relative;display:grid;place-items:center;background:linear-gradient(130deg,#d6e9fb10,#a9c5e442);min-width:0}.hero-graphic svg{width:260px;max-width:95%;height:170px}.hero-graphic small{position:absolute;bottom:12px;left:10px;right:10px;text-align:center;font-size:10px;color:var(--muted)}
.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:26px}.metric{padding:19px 20px;display:flex;flex-direction:column;min-height:148px}.metric-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;color:var(--muted);font-size:12px;min-height:20px}.metric-value{font-size:32px;line-height:1.2;font-weight:720;letter-spacing:-1px;margin:12px 0 8px;font-variant-numeric:tabular-nums}.metric-value small{font-size:13px;font-weight:500;letter-spacing:0;color:var(--muted);margin-left:2px}.metric>.small{margin-top:auto;font-size:11px}.progress{height:6px;overflow:hidden;background:#5e789317;border-radius:10px}.progress span{display:block;height:100%;border-radius:10px;background:#2371ca}
.section-head{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:center;gap:20px;margin:24px 0 16px}.section-head h2>.small{font-weight:400;letter-spacing:0;margin-left:6px}.section-head p{margin-top:5px}.all-tasks-link{display:flex;align-items:center;gap:10px;flex-shrink:0;font-size:12px}.asset-toolbar{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;min-width:0}.toolbar input[type=search]{width:250px}.toolbar select{width:210px}.asset-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.asset{display:flex;flex-direction:column;min-width:0;min-height:190px;padding:18px;text-align:left;font-weight:400;transition:background .15s}.asset-top{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:32px}.asset-top .pill{font-size:10px;text-align:right}.asset-symbol{display:grid;place-items:center;flex-shrink:0;width:32px;height:30px;border:1px solid #ffffff7a;border-radius:8px;background:#eef7ff45;color:#557594;font-size:19px}.asset h3{font-size:18px;margin:13px 0 3px}.asset>.small{font-size:11px}.asset .progress{height:4px;margin:18px 0 12px}.asset-foot{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;margin-top:auto;font-size:10px;line-height:1.5;color:var(--muted)}.notice{position:relative;z-index:1;font-size:11px;line-height:1.75;color:var(--muted);margin-top:16px}.empty{padding:30px 15px;text-align:center;color:var(--muted);font-size:13px}.lower{display:grid;grid-template-columns:1.35fr 1fr;gap:20px;margin-top:22px}.panel{padding:22px}.panel>.section-head:first-child{margin-top:0}.activity{display:flex;align-items:flex-start;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}.activity:last-child{border-bottom:0}.activity b{font-size:12px}.activity p{margin-top:5px;font-size:12px}.activity .avatar{width:28px;height:28px;font-size:9px}.activity>.pill{flex-shrink:0}.legend{display:flex;flex-wrap:wrap;gap:14px;color:var(--muted);font-size:11px}.footerline{position:relative;z-index:1;display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:16px;margin-top:26px;color:var(--muted);font-size:10px;line-height:1.6}
/* A surface blurs once. Its translucent children share that material, avoiding nested WebKit compositing artifacts. */
.glass :is(button,input,select,textarea,.pill,.instruction,.safety-note),.workspace-checklist :is(button,input,select,textarea,.pill),.sidebar :is(button,.pill),.topbar :is(button,select,.pill),dialog :is(button,input,select,textarea,.pill,.procedure-header,.procedure-footer,.procedure-instructions,.safety-note,.save-bar){backdrop-filter:none;-webkit-backdrop-filter:none}
/* Device overview and native forms. */
.breadcrumb{display:flex;align-items:center;gap:4px;color:var(--muted);font-size:12px;margin-bottom:8px;flex-wrap:wrap}.breadcrumb button{background:transparent;border-color:transparent;box-shadow:none;color:#185da9;padding:5px 0;min-height:36px}.detail-layout{display:grid;grid-template-columns:minmax(260px,.95fr) minmax(360px,1.1fr);gap:24px;align-items:start}.detail-left{position:sticky;top:18px;min-width:0}.model{height:390px;position:relative;display:grid;place-items:center;overflow:hidden;background:transparent}.model svg{width:95%;height:85%}.model-caption{position:absolute;top:14px;left:0;right:0;font-size:10px;color:var(--muted)}.model-bottom{position:absolute;bottom:14px;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.model-bottom .pill{font-size:10px}.model-bottom button{font-size:11px}.task-panel{padding:24px;min-width:0}.task-title{font-size:21px;line-height:1.4;letter-spacing:-.4px;margin:12px 0 16px}.instruction{padding:6px 14px;border:1px solid #ffffff7a;border-radius:11px;background:#e8f2ff38;line-height:1.75;font-size:13px;margin:16px 0;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}.instruction summary{cursor:pointer;min-height:44px;align-content:center;font-weight:650}.instruction p{margin:9px 0}.instruction summary .small{font-weight:400}.safety-note{background:#fff1cb80;border:1px solid #fff9e7a0;border-left:3px solid #ab7c28;border-radius:5px 10px 10px 5px;color:#705014;padding:12px 14px;font-size:12px;line-height:1.7;margin:14px 0;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.form-label{display:block;font-size:13px;font-weight:650;margin:20px 0 9px}.form-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.form-grid input{width:100%;min-width:0}.form-grid>div{min-width:0}.form-grid>div>input:last-child{flex-shrink:0}.status-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.status-options button{min-height:48px;font-size:13px;padding:10px 7px}.status-options .chosen{background:#d6e9ffb3;color:#12569d;border:1px solid #6c9dd3;box-shadow:inset 0 0 0 1px #a0c3e840}.form-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding-top:18px;margin-top:24px}.save-bar{position:sticky;bottom:0;z-index:2;padding:14px 0;background:rgba(233,242,251,.78);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);margin-top:22px}.save-bar>.small{font-size:11px;max-width:240px}.save-bar>button{flex-shrink:0;min-height:48px}.task-panel .save-bar{position:static}.task-navigation{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:16px}.task-navigation button{font-size:12px}.workspace-tools{border-radius:12px;border:1px solid var(--edge);position:sticky;top:0;z-index:3;display:flex;align-items:center;gap:16px;margin-bottom:18px;padding:12px;border-bottom:1px solid var(--line);background:#d5e1ee9c;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}.workspace-tools>button{display:flex;align-items:center;gap:10px}.view-switch{display:none;margin-left:auto;padding:4px;gap:4px;background:#e4eef659;border:1px solid #fff7;border-radius:12px}.view-switch button{border-color:transparent;background:transparent;min-width:94px;font-size:12px}.view-switch button.active{background:#f7fcffa6;color:#165ca7;border-color:#ffffff80}.read-only{padding:12px 16px;border:1px solid #ffffff8c;border-radius:12px;margin-bottom:18px;background:#dfedfb66;color:#365674;font-size:12px;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
/* Dedicated task rail and unframed WebGL view. */
.content:has(.workspace-page){max-width:none;padding-top:18px}.work-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px;min-height:66px}.work-heading .breadcrumb{margin:0}.work-heading h1{font-size:26px;margin:1px 0 0}.work-heading h1 .small{font-size:12px;letter-spacing:0;font-weight:400;margin-left:9px}.work-heading-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.work-heading-actions button{font-size:12px}.agv-workspace{display:grid;grid-template-columns:325px minmax(0,1fr);gap:24px;align-items:stretch;height:var(--workspace-height,650px);min-height:380px}.workspace-checklist{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;height:100%;border-radius:16px;background:rgba(245,250,255,.39)}.work-list-header{flex-shrink:0;padding:18px 16px 14px;border-bottom:1px solid #ffffff80}.work-list-header h2{font-size:16px;margin-bottom:14px}.work-list-header input,.work-list-header select{display:block;width:100%;margin-bottom:9px;font-size:16px}.work-list-header .small{font-size:11px;line-height:1.65}.task-list{min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.workspace-checklist .task-list{flex:1;max-height:none;padding:0 10px 16px}.task-group h3{position:sticky;top:0;z-index:1;display:flex;justify-content:space-between;gap:10px;padding:14px 6px 10px;background:rgba(218,232,246,.83);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid #ffffff6e;color:#42627e;font-size:10px;font-weight:700;line-height:1.6;margin:0 -1px}.task-group h3 span{padding:0 6px;border:1px solid #fff6;border-radius:5px;background:#f5fbff55;flex-shrink:0;height:19px}.task-entry{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:4px;border-bottom:1px solid var(--line);min-height:96px}.task-row{backdrop-filter:none;-webkit-backdrop-filter:none;display:flex;align-items:center;gap:9px;width:100%;min-width:0;padding:14px 8px;background:transparent;border:1px solid transparent;border-radius:10px;box-shadow:none;text-align:left;font-size:13px;font-weight:500;line-height:1.6}.task-row>span:last-child{min-width:0}.task-row.selected{background:#deedffaa;border-color:#ffffffc2;box-shadow:inset 3px 0 0 #4789d1,0 3px 10px #3b6b9410}.task-row .code,.catalog-task .code{display:block;color:var(--muted);font-size:11px;line-height:1.6;margin-bottom:4px}.status-icon{display:grid;place-items:center;flex-shrink:0;width:24px;height:24px;border:1px solid #fff9;border-radius:6px;background:#ffffff66;color:#296eaf}.workspace-checklist .status-icon{display:none}.task-row-actions{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;padding:3px 0}.task-row-actions .procedure-help,.task-row-actions .result-help{display:grid;place-items:center;min-height:44px;height:44px;width:44px;padding:0;border:0;border-radius:9px;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;color:#315e8a}.task-row-actions .procedure-help svg{width:19px;height:19px}.task-row-actions .result-help svg{width:20px;height:20px}.task-row-actions .result-help.recorded{color:#096850}.task-row-actions .result-help.has-defect{color:#ae3042}.task-row-actions button:focus-visible{outline-offset:-3px}.row-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}.row-tags .pill{font-size:9px;font-weight:550;padding:2px 5px}.workspace-main{height:100%;min-width:0;min-height:0}.interactive-model{height:100%;display:flex;flex-direction:column;position:relative;min-height:0;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible}.viewer-heading{position:absolute;top:10px;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:12px;pointer-events:none;z-index:1}.viewer-heading>.small{font-size:10px;white-space:nowrap}.viewer-heading .pill{font-size:11px}#agv-scene{display:block;width:100%;height:0;min-height:0;flex:1;touch-action:none;cursor:grab}#agv-scene:active{cursor:grabbing}#agv-scene:focus-visible{outline-offset:-3px}.viewer-toolbar{display:flex;justify-content:flex-end;align-items:center;flex-shrink:0;padding-top:10px}.viewer-toolbar>div{display:flex;gap:8px}.viewer-toolbar button{min-height:44px;font-size:11px;padding:9px 12px}.viewer-toolbar>div>button:not(:last-child){width:44px;font-size:18px;padding:0}.model-unavailable,.model-fallback{padding:80px 30px 40px;text-align:center;color:var(--muted);font-size:13px;line-height:1.8;align-content:center;flex:1}.model-unavailable p{margin-top:14px}
/* All-services catalog and independent overlays. */
dialog{color:var(--ink);width:min(620px,calc(100vw - 48px));max-width:none;max-height:90dvh;margin:auto;padding:24px;border:1px solid #ffffffb3;border-radius:20px;background:rgba(233,243,253,.81);backdrop-filter:blur(32px) saturate(140%);-webkit-backdrop-filter:blur(32px) saturate(140%);box-shadow:0 28px 100px #1d344c45,inset 0 1px 0 #ffffff99;overflow-y:auto;overscroll-behavior:contain}dialog::backdrop{background:rgba(28,47,68,.25);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}.modal-head{display:flex;justify-content:space-between;align-items:center;gap:16px}.modal-head>button{width:44px;flex-shrink:0;padding:0}.modal-head+.small{margin-top:8px}.procedure-header{position:sticky;top:0;z-index:3;display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:22px 24px 18px;border-bottom:1px solid #ffffff99;background:rgba(228,240,252,.82);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}.procedure-header>div{min-width:0}.procedure-header h2{font-size:20px;line-height:1.5;margin-top:6px}.procedure-header>button{flex-shrink:0;width:44px;padding:0}.procedure-header .eyebrow{font-size:10px}.procedure-footer{position:sticky;bottom:0;z-index:2;padding:14px 24px;border-top:1px solid #ffffff99;text-align:right;background:rgba(228,240,252,.83);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}.procedure-footer button{min-width:170px}.procedure-meta{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.procedure-instructions{padding:15px 17px;border:1px solid #ffffff80;border-radius:12px;background:#f7fcff42;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}.procedure-instructions p+p{margin-top:12px}.procedure-rules{margin-top:22px;border-top:1px solid var(--line);padding-top:8px}.procedure-rules summary{min-height:48px;align-content:center;font-weight:650;cursor:pointer;font-size:13px}.procedure-rules ul{padding-left:18px;color:var(--muted);margin:6px 0 14px}.procedure-rules li+li{margin-top:8px}.procedure-source{margin:18px 0;font-size:11px}#procedure-dialog,#result-dialog{padding:0;width:min(680px,calc(100vw - 48px));max-height:90dvh}#procedure-content{padding:0 24px;font-size:14px;line-height:1.8}#procedure-content h3{font-size:14px;margin:22px 0 9px}#result-content{padding:0 24px 8px}#result-task-name{font-size:13px;line-height:1.7;color:#425e78;margin-top:8px}#result-dialog .save-bar{background:rgba(228,240,252,.88);margin-left:-24px;margin-right:-24px;margin-bottom:-8px;padding:14px 24px}#result-dialog fieldset:disabled .save-bar>button{display:none}#result-dialog .status-options{grid-template-columns:repeat(3,minmax(0,1fr))}
#checklist-drawer{position:fixed;inset:0 auto 0 0;margin:0;width:min(540px,94vw);height:100dvh;max-height:100dvh;border-radius:0 20px 20px 0;padding:0;overflow:hidden;background:rgba(224,238,252,.82)}#checklist-drawer[open]{display:flex;flex-direction:column}.drawer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;padding:20px 22px 16px;border-bottom:1px solid #ffffff80}.drawer-head>button{width:44px;padding:0;flex-shrink:0}.checklist-controls{flex-shrink:0;padding:14px 22px 12px;border-bottom:1px solid #ffffff80}.checklist-controls input,.checklist-controls select{display:block;width:100%;margin-bottom:9px}.checklist-controls .small{font-size:11px}.checklist-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:4px;margin-bottom:12px;border:1px solid #ffffff70;border-radius:12px;background:#c9dbed66}.checklist-tabs button{font-size:13px;padding:10px 6px;border-color:transparent;background:transparent;box-shadow:none}.checklist-tabs button.active{background:#f4fbff99;color:#155aa2;border-color:#ffffff8c}.checklist-tabs span{font-size:10px;margin-left:6px}.task-list#full-task-list{min-height:0}#checklist-drawer #full-task-list{flex:1;max-height:none;padding:0 16px 22px}#checklist-drawer .task-group h3{background:rgba(215,232,249,.9)}.catalog-entry{align-items:start}.catalog-entry>.task-row-actions{margin-top:8px}.catalog-task{min-width:0;border:0;font-size:13px;line-height:1.7}.catalog-task summary{display:flex;align-items:flex-start;gap:9px;cursor:pointer;padding:14px 8px;list-style:none;min-height:80px;font-weight:500}.catalog-task summary::-webkit-details-marker{display:none}.catalog-symbol{display:grid;place-items:center;flex-shrink:0;width:25px;height:28px;color:#426d96}.catalog-description{padding:0 8px 15px;color:var(--muted);font-size:12px}.catalog-description p{margin:9px 0}.catalog-task[open] .catalog-symbol{color:#145eaf}
/* Issues, reports and feedback. */
.table-wrap{min-width:0;overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th,td{padding:16px 12px;border-bottom:1px solid var(--line);vertical-align:middle}th{font-size:10px;letter-spacing:.8px;text-transform:uppercase;font-weight:650;color:var(--muted)}td:nth-child(1){width:150px}td:nth-child(2){width:110px}td:nth-child(3){min-width:180px}td:nth-child(4){width:190px}td p{margin-top:5px}td select{font-size:13px;width:180px}td button{font-size:12px;padding:8px 10px}.table-wrap tbody tr:last-child td{border-bottom:0}.report-controls{max-width:840px;margin-left:auto;margin-right:auto}.report{max-width:840px;margin:0 auto;padding:32px}.report-header{display:flex;flex-direction:column;gap:20px;padding-bottom:24px;border-bottom:1px solid #5d78954d}.report-header .partners{order:-1;text-align:left}.report-logos{display:flex;align-items:center;gap:32px}.report-logos img{display:block;object-fit:contain;width:125px;height:44px}.report-logos img:first-child{width:150px}.report-logos img:last-child{width:46px;height:46px}.report-header h1{font-size:27px;margin-top:4px}.report .metrics{gap:16px;margin:24px 0}.report .metrics>div{min-width:0}.report .metrics h2{margin-top:4px}.report .activity{line-height:1.75}.report>.pill{margin:20px 0 12px!important}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 40px);z-index:30;padding:13px 20px;border:1px solid #ffffff66;border-radius:12px;background:#193a59df;color:#f7fbff;font-size:12px;box-shadow:0 12px 35px #1e344d30;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
@media(min-width:1550px){.asset-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.agv-workspace{grid-template-columns:360px minmax(0,1fr)}}
@media(max-width:1200px){:root{--page-pad:22px}.shell{grid-template-columns:88px minmax(0,1fr)}.sidebar{padding:24px 10px 18px}.brand.app-name{font-size:21px;text-align:center;padding:0 0 28px}.app-name span{font-size:10px;letter-spacing:.5px}.project-mini,.side-bottom>.small,.profile .user,nav .count{display:none}.profile{padding:18px 10px 0}.sidebar nav button{flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:10px 2px;min-height:82px}.sidebar nav .label{display:block;text-align:center;font-size:10px;max-width:64px;line-height:1.4}.partner-logos{gap:22px}.partner-logos span{display:none}.partner-logos .proxton-logo{width:135px}.top-actions select{width:180px}.content{padding-top:22px}.hero{grid-template-columns:minmax(0,1fr) 240px}.hero-graphic svg{width:220px}.asset-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.metrics{gap:14px}.metric{padding:17px}.agv-workspace{grid-template-columns:292px minmax(0,1fr);gap:20px}.work-heading{gap:12px}.work-heading h1{font-size:25px}.work-heading-actions{gap:9px}.work-heading-actions>.pill{font-size:10px}.work-heading-actions button{font-size:11px}.viewer-heading{flex-direction:column;align-items:flex-start;gap:5px}.task-panel{padding:22px}.detail-layout{grid-template-columns:minmax(240px,.8fr) minmax(340px,1.15fr)}}
@media(max-width:900px){.partner-logos{gap:19px}.partner-logos .proxton-logo{width:126px}.partner-logos img{width:100px}.partner-logos>div:last-child img{width:38px;height:38px}.top-actions{gap:8px}.top-actions select{width:172px;font-size:13px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{grid-template-columns:minmax(0,1fr) 180px}.hero-body{padding:24px}.hero-graphic svg{width:175px}.lower{grid-template-columns:1fr}.asset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section-head{align-items:flex-start}.section-head h2>.small{display:block;margin-left:0;margin-top:4px}.toolbar input[type=search]{width:230px}.toolbar select{width:205px}.detail-layout{grid-template-columns:1fr}.detail-left{position:static}.model{height:330px}.task-panel{max-width:800px}.view-switch{display:flex}.detail-layout[data-view="task"] .model-pane{display:none}.detail-layout[data-view="model"] .task-panel{display:none}.workspace-tools>.small{display:none}.agv-workspace{grid-template-columns:278px minmax(0,1fr);gap:16px}.work-heading h1 .small{display:none}.work-heading-actions{gap:8px}.work-heading-actions button{font-size:10px;padding:9px 10px}.work-heading-actions>.pill{font-size:9px}.work-list-header{padding:16px 12px 12px}.workspace-checklist .task-list{padding:0 7px 16px}.task-row{font-size:13px;padding:12px 7px}.task-row .code{font-size:11px}.viewer-heading .pill{font-size:10px}.viewer-heading>.small{font-size:9px;white-space:normal}.viewer-toolbar>div{gap:6px}.viewer-toolbar button{font-size:10px;padding:9px}.table-wrap thead{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.table-wrap table,.table-wrap tbody{display:block}.table-wrap tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px 22px;padding:20px 0;border-bottom:1px solid var(--line)}.table-wrap tbody tr:first-child{padding-top:0}.table-wrap tbody tr:last-child{border-bottom:0;padding-bottom:0}.table-wrap td{display:block;width:auto;min-width:0;padding:0;border:0;order:1}.table-wrap td:nth-child(3){grid-column:1/-1;order:2}.table-wrap td:nth-child(4){grid-column:1/-1;order:3}.table-wrap td:before{content:attr(data-label);display:block;margin-bottom:6px;font-size:10px;color:var(--muted);letter-spacing:.4px}.table-wrap td button{padding:0;justify-content:flex-start;min-height:28px}.table-wrap td select{width:100%;max-width:280px}.asset-toolbar>.small{display:none}}
@media(max-width:700px){:root{--page-pad:18px}.topbar{flex-wrap:wrap;gap:12px;padding-top:14px;padding-bottom:14px}.partner-logos{width:100%;justify-content:space-between;gap:16px}.top-actions{width:100%;justify-content:space-between}.heading{flex-wrap:wrap;gap:14px}.heading h1{font-size:27px}.hero{grid-template-columns:1fr}.hero-graphic{display:none}.section-head{flex-wrap:wrap;gap:12px}.asset-toolbar .toolbar{width:100%}.toolbar input[type=search],.toolbar select{flex:1;width:auto;min-width:180px}.asset-grid{gap:12px}.asset{padding:15px;min-height:185px}.asset-top .pill{font-size:9px}.asset-foot{flex-direction:column;gap:4px}.work-heading{flex-wrap:wrap;gap:10px}.work-heading-actions{width:100%;justify-content:space-between}.agv-workspace{display:flex;flex-direction:column;height:auto;min-height:0;gap:20px}.workspace-checklist{height:360px;min-height:0;flex-shrink:0}.work-list-header{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.work-list-header h2,.work-list-header>.small{grid-column:1/-1;margin:0}.work-list-header input,.work-list-header select{margin:0;font-size:14px}.workspace-main{height:420px;flex-shrink:0}.viewer-heading{flex-direction:row}.viewer-toolbar button{font-size:11px}.task-row{font-size:13px}.form-grid{grid-template-columns:1fr}.report{padding:24px}.report-logos{gap:24px}.report-logos img{width:105px;height:38px}.report-logos img:first-child{width:125px}.report-logos img:last-child{width:40px;height:40px}.footerline{flex-direction:column;gap:5px}.workspace-tools{gap:8px;justify-content:space-between}.workspace-tools>button{font-size:12px;padding:9px}.workspace-tools .pill{display:none}.view-switch button{min-width:72px;padding:8px}.save-bar{gap:10px;flex-wrap:wrap}.save-bar>.small{max-width:none}.save-bar>button{margin-left:auto}.procedure-header{padding:18px}.procedure-header h2{font-size:18px}#procedure-content,#result-content{padding-left:18px;padding-right:18px}.procedure-footer{padding:14px 18px}#result-dialog .save-bar{margin-left:-18px;margin-right:-18px;padding-left:18px;padding-right:18px}#result-dialog .status-options{grid-template-columns:repeat(2,minmax(0,1fr))}.procedure-footer button{width:100%}dialog{width:calc(100vw - 32px);max-height:92dvh}#procedure-dialog,#result-dialog{width:calc(100vw - 32px);max-height:92dvh}.report .metrics{gap:10px}.report .metrics .small{font-size:10px}}
@media(max-width:540px){:root{--page-pad:16px}.shell{display:block}.sidebar{position:static;height:auto;display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:8px 12px;border-right:0;border-bottom:1px solid #ffffff80}.brand.app-name{font-size:20px;padding:0;text-align:left;flex-shrink:0}.app-name span{font-size:9px}.sidebar nav{display:flex;gap:1px}.sidebar nav button{width:54px;min-height:66px;gap:4px;padding:5px 1px}.sidebar nav .label{font-size:8px;max-width:52px}.nav-icon,.nav-icon svg{width:23px;height:23px}.nav-icon{flex-basis:23px}.side-bottom{display:none}.partner-logos .proxton-logo{width:126px}.partner-logos img{width:100px}.partner-logos>div:last-child img{width:36px;height:36px}.demo-banner{font-size:9px;padding:6px 12px}.content{padding-top:20px}.metric{padding:15px}.metric-head{font-size:11px}.metric-value{font-size:29px}.asset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.asset{padding:12px}.asset-top{flex-wrap:wrap;justify-content:flex-start}.asset h3{font-size:17px}.hero-body{padding:22px}.hero h2{font-size:23px}.work-list-header{padding:14px 12px}.model{height:300px}.task-panel{padding:18px}.task-title{font-size:19px}.workspace-tools{flex-wrap:wrap}.view-switch{margin-left:auto}.report-logos{gap:16px}.report-logos img{width:90px;height:32px}.report-logos img:first-child{width:115px}.report-logos img:last-child{width:34px;height:34px}.report{padding:20px}.report-header h1{font-size:24px}.save-bar>button{width:100%}.form-actions{flex-wrap:wrap}.form-actions>.primary{margin-left:auto}.model-bottom{justify-content:flex-start}}
@media(max-height:650px) and (min-width:701px){.agv-workspace{min-height:280px}.work-list-header{padding-top:12px;padding-bottom:10px}.work-list-header>.small{display:none}.work-list-header h2{margin-bottom:8px}.work-list-header input,.work-list-header select{min-height:44px;padding-top:8px;padding-bottom:8px}.drawer-head{padding-top:12px;padding-bottom:12px}.checklist-controls{padding-top:10px;padding-bottom:10px}.checklist-controls>.small{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.glass,.workspace-checklist,.sidebar,dialog{background:#e4eef8}.procedure-header,.procedure-footer,.save-bar,.task-group h3{background:#e2edf7}input,select,textarea{background:#f3f8fd}}
@media print{html{scrollbar-gutter:auto}body{background:#fff;color:#111}.shell{display:block}.sidebar,.topbar,.demo-banner,.heading,.footerline,.no-print,.workspace-checklist,.interactive-model,.work-heading,dialog{display:none!important}.content{padding:0;max-width:none}.glass,.report{background:#fff!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}.report{padding:0;max-width:none}.report-header{break-inside:avoid}.report-logos{display:flex}.report .pill{background:none;border:1px solid #bbb;color:#333}.activity,tr{break-inside:avoid}button{display:none!important}.metrics{display:grid}.report-header .eyebrow{display:none}}
/* v0.8 — summary dashboard, model-only device detail, clean collapsible tasks. */
.metric-progress{overflow:hidden}.completion-fill{position:absolute;left:0;top:0;bottom:0;width:var(--completion,0%);background:linear-gradient(110deg,rgba(65,175,120,.43),rgba(107,208,154,.30));border-right:1px solid rgba(30,127,79,.18);pointer-events:none;transition:width .4s ease}.metric-progress>.metric-head,.metric-progress>.metric-value,.metric-progress>.small{position:relative;z-index:1}
.overview-summary{display:grid;grid-template-columns:1fr 1fr;gap:20px}.summary-counts{margin-top:16px}.summary-count-row{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:48px;border-bottom:1px solid var(--line);font-size:13px}.summary-count-row:last-child{border-bottom:0}.summary-count-row>.pill{min-width:40px;justify-content:center;font-variant-numeric:tabular-nums}.overview-summary .section-head{margin:0;min-height:28px}.overview-summary .section-head button{min-height:36px;padding:4px 8px;font-size:12px}
.device-model-stage{height:var(--workspace-height,600px);min-height:320px}.device-model-page .work-heading h1{margin-top:0}.button-counter{display:inline-block;margin-left:7px;font-size:11px;color:#ffffffd9;font-weight:500}.device-model-page .viewer-heading{top:6px}
.work-list-header h2{display:flex;align-items:center;justify-content:space-between;gap:10px}.work-list-header h2>.pill{font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums}.category-actions{display:flex;align-items:center;justify-content:space-between;gap:5px;grid-column:1/-1}.category-actions button{padding:6px 3px;min-height:40px;font-size:11px;color:#305d87}
.task-group{margin:10px 0 0;border:1px solid #ffffff73;border-radius:12px;background:#f0f8ff18;overflow:hidden}.task-group-heading{position:static;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 10px;min-height:48px;border:0;border-radius:11px;background:rgba(230,242,254,.35);font-size:12px;line-height:1.5;font-weight:650;color:#284966;cursor:pointer;list-style:none}.task-group-heading::-webkit-details-marker{display:none}.task-group[open]>.task-group-heading{border-bottom:1px solid #ffffff70}.group-heading-meta{display:flex;align-items:center;gap:5px;flex-shrink:0}.group-count{font-size:10px;font-weight:650;font-variant-numeric:tabular-nums;color:#365872;white-space:nowrap}.group-chevron{display:block;width:18px;height:18px;transform:rotate(-90deg);transition:transform .15s}.task-group[open]>.task-group-heading .group-chevron{transform:rotate(0)}.task-group-body{padding:0 5px 4px}.task-group-body>.task-entry:last-child{border-bottom:0}.task-group-body>.task-entry{border-radius:9px;margin-top:4px;min-height:96px}.task-entry[data-result-state="2"]{background:linear-gradient(110deg,rgba(108,205,158,.30),rgba(166,229,192,.23))}.task-entry[data-result-state="3"]{background:rgba(231,149,157,.22)}.task-entry[data-result-state="1"]{background:#b1d4f52b}.task-entry[data-result-state="4"]{background:#f5d99832}.task-entry[data-result-state="5"]{background:#d9e4ef24}.task-title-text{display:block;min-width:0}.task-outcome{display:block;margin-top:7px;font-size:11px;line-height:1.4;font-weight:550;color:var(--muted)}[data-result-state="2"] .task-outcome{color:#0c6246}[data-result-state="3"] .task-outcome{color:#9b263b}[data-result-state="1"] .task-outcome{color:#235c94}[data-result-state="4"] .task-outcome{color:#7b5314}.task-row.selected{background:#ffffff1c;border-color:#ffffffb3;box-shadow:inset 3px 0 0 #3780ca}.task-row{font-size:13px}.workspace-checklist .task-list{padding-bottom:12px}
@media(max-width:900px){.overview-summary{grid-template-columns:1fr}.device-model-page .work-heading-actions{flex-wrap:wrap}.device-model-page .work-heading-actions button{font-size:11px}.work-list-header h2{font-size:15px}}
@media(max-width:700px){.device-model-stage{height:440px;min-height:0}.work-list-header h2,.work-list-header>input,.category-actions{grid-column:1/-1}.category-actions{justify-content:flex-start;gap:18px}.work-list-header>input{font-size:16px}.work-heading-actions{flex-wrap:wrap}.overview-summary{gap:16px}.summary-count-row{font-size:12px}}
/* v0.9 — private account login concept. */
.login-mode .sidebar,.login-mode .topbar,.login-mode .demo-banner{display:none}.login-mode .shell{display:block}.login-mode .content{max-width:none;padding:0}.login-page{max-width:1240px;margin:0 auto;min-height:100dvh;display:flex;flex-direction:column;padding:34px 52px 24px}.login-brandbar{display:flex;align-items:center;justify-content:space-between;gap:20px}.login-brandbar>img{display:block;width:174px;height:44px;object-fit:contain}.login-brandbar>.pill{font-size:12px;padding:7px 12px}.login-layout{flex:1;display:grid;grid-template-columns:minmax(0,1fr) 440px;gap:90px;align-items:center;padding:52px 0}.login-intro{padding:10px 0;min-width:0}.login-intro>.eyebrow{font-size:11px}.login-intro h1{font-size:46px;line-height:1.17;letter-spacing:-1.6px;margin:20px 0 22px}.login-intro>p{max-width:370px;color:var(--muted);font-size:16px;line-height:1.9}.login-project{display:flex;align-items:center;gap:9px;margin:29px 0 40px;font-size:12px;color:#2d5474}.login-project .dot{color:#248467}.login-partners{display:flex;align-items:flex-end;gap:35px}.login-partners>div{display:flex;flex-direction:column;gap:13px}.login-partners span{font-size:10px;color:var(--muted)}.login-partners img{width:125px;height:42px;object-fit:contain;object-position:left center}.login-partners>div:last-child img{width:44px;height:44px}.login-card{padding:30px 32px;min-width:0}.login-card-heading{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:13px;row-gap:4px}.login-card-heading h2{font-size:26px;letter-spacing:-.7px;margin:0}.login-lock{grid-row:1/3;align-self:center}.login-card-heading p{font-size:13px;color:var(--muted);margin:0}.login-lock{display:grid;place-items:center;width:44px;height:44px;border:1px solid #ffffff94;border-radius:12px;background:#f4fbff4d;color:#295d8c}.login-lock svg{width:24px;height:24px}.login-card input{display:block;width:100%;height:50px}.login-card .form-label{font-size:13px;margin-top:23px}.login-password-label{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px}.login-password-label .form-label{margin:0}.login-recovery{font-size:11px;padding:6px 0;min-height:44px;color:#1e578d}.login-password-field{position:relative}.login-password-field input{padding-right:56px}.login-password-field>button{position:absolute;right:3px;top:3px;display:grid;place-items:center;width:44px;height:44px;padding:0;background:transparent;border-color:transparent;box-shadow:none;color:#365b7c;backdrop-filter:none;-webkit-backdrop-filter:none}.login-password-field svg{width:21px;height:21px}.eye-slash{display:none}[aria-pressed="true"] .eye-slash{display:block}.login-submit{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:50px;margin-top:24px;font-size:14px}.login-submit>span{font-size:19px}.login-feedback{margin-top:16px;padding:11px 13px;border:1px solid #ffffff90;border-radius:10px;background:#e5f1ff70;font-size:12px;line-height:1.7;color:#234f79}.login-demo-note{padding-top:21px;margin-top:23px;border-top:1px solid var(--line)}.login-demo-note .pill{font-size:10px}.login-demo-note p{margin-top:8px;font-size:11px;color:var(--muted)}.login-demo{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:10px;padding:9px 0;font-size:12px;color:#265d92}.login-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:18px;font-size:10px;color:var(--muted)}.login-nav{display:flex;align-items:center;gap:10px;width:100%;font-size:12px;text-align:left;margin-bottom:12px;padding:10px 6px}.login-nav>span:first-child{font-size:20px}
@media(max-width:1200px){.login-page{padding:28px 40px 22px}.login-layout{grid-template-columns:minmax(0,1fr) 410px;gap:45px;padding:36px 0}.login-intro h1{font-size:40px}.login-intro>p{font-size:15px}.login-card{padding:28px}.login-nav{flex-direction:column;gap:4px;font-size:9px;text-align:center;padding:6px 0}.login-nav>span:first-child{font-size:21px}}
@media(max-width:900px){.login-page{max-width:680px;padding:28px 36px 22px}.login-layout{grid-template-columns:1fr;gap:24px;padding:28px 0;align-content:center}.login-intro h1{font-size:31px;line-height:1.25;margin:10px 0}.login-intro h1 br{display:none}.login-intro>p{max-width:none;font-size:14px;line-height:1.7}.login-project{margin:16px 0 0}.login-partners{display:none}.login-card{width:100%;max-width:480px;margin:0 auto;padding:26px 30px}.login-card-heading{grid-template-columns:1fr}.login-card-heading h2{font-size:25px;margin:0}.login-lock{display:none}.login-brandbar>img{width:158px;height:40px}.login-footer{font-size:9px}.login-intro{padding:0}.login-card .form-label{margin-top:20px}.login-password-label .form-label{margin:0}}
@media(max-width:540px){.login-page{padding:22px 20px 18px}.login-brandbar>img{width:144px;height:36px}.login-layout{padding:26px 0;gap:22px;align-content:start}.login-intro>.eyebrow{font-size:9px}.login-intro h1{font-size:28px;letter-spacing:-1px}.login-intro>p{font-size:13px}.login-project{font-size:11px;margin-top:12px}.login-card{padding:23px 22px}.login-card-heading h2{font-size:24px;margin:0}.login-footer{align-items:flex-start;flex-direction:column;gap:5px}.login-nav{display:none}.login-password-label{gap:8px}.login-recovery{font-size:10px}}
@media(max-height:700px) and (min-width:901px){.login-page{padding-top:24px;padding-bottom:18px}.login-layout{padding:24px 0}.login-card{padding:23px 28px}.login-lock{display:none}.login-card-heading h2{margin-top:0}.login-intro h1{font-size:38px}.login-project{margin:20px 0 25px}}

.login-footer-copy{display:flex;justify-content:space-between;gap:20px;width:100%;min-width:0}.login-footer-partners{display:none;flex-shrink:0;align-items:center;gap:20px}.login-footer-partners img{display:block;width:84px;height:30px;object-fit:contain}.login-footer-partners img:last-child{width:30px;height:30px}
@media(max-width:900px){.login-footer-copy{flex-direction:column;gap:3px;width:auto;flex:1}.login-footer-partners{display:flex}}
@media(max-width:540px){.login-footer{flex-direction:row;align-items:center;gap:12px}.login-footer-copy{line-height:1.6}.login-footer-partners{gap:14px}.login-footer-partners img{width:78px;height:28px}.login-footer-partners img:last-child{width:28px;height:28px}}

@media(max-width:900px){.login-intro{width:100%;max-width:480px;margin-left:auto;margin-right:auto}}
/* v0.10 — company-aware project portal. */
.portal-mode .sidebar,.portal-mode .topbar,.portal-mode .demo-banner{display:none}.portal-mode .shell{display:block}.portal-mode .content{padding:0;max-width:none}.portal-page{max-width:1200px;min-height:100dvh;margin:0 auto;padding:30px 36px 22px;display:flex;flex-direction:column}.portal-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:26px;border-bottom:1px solid var(--line)}.portal-brand{display:flex;align-items:center;gap:20px}.portal-brand>img{width:167px;height:42px;object-fit:contain}.portal-brand>span{font-size:11px;color:var(--muted)}.portal-account{display:flex;align-items:center;gap:11px}.portal-account>div:not(.avatar){display:flex;flex-direction:column;gap:3px;max-width:210px}.portal-account b{font-size:12px}.portal-account span{font-size:11px;color:var(--muted)}.portal-account button{margin-left:12px;font-size:12px}.portal-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:36px 0 28px}.portal-heading h1{font-size:31px;margin:7px 0 9px}.portal-heading h1 .pill{font-size:13px;letter-spacing:0;margin-left:8px}.portal-heading p{font-size:14px;color:var(--muted)}.portal-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:auto;padding-top:34px;font-size:10px;color:var(--muted)}.portal-footer>.pill{font-size:10px}.portal-project-grid>.empty{grid-column:1/-1}.login-demo-account{display:flex;align-items:center;gap:8px;margin-top:12px}.login-demo-account>select{min-width:0;flex:1;font-size:16px;width:100%;height:48px}.login-demo-account>.login-demo{display:grid;place-items:center;flex:0 0 44px;min-height:48px;width:44px;height:48px;margin:0;padding:0;border:1px solid #ffffff80;background:#edf7ff50;font-size:22px}.login-demo-note{padding-top:17px;margin-top:20px}.login-nav{margin-bottom:4px}.logout-nav{margin-bottom:12px}.account-role{white-space:nowrap}
@media(max-width:900px){.portal-page{padding:26px 28px 22px}.portal-brand{align-items:flex-start;flex-direction:column;gap:6px}.portal-brand>img{width:150px;height:38px}.portal-account>div:not(.avatar){max-width:165px}.portal-account button{margin-left:4px}.portal-heading{padding:30px 0 24px}.portal-heading h1{font-size:28px}.portal-account b{font-size:11px}.login-demo-account>select{font-size:16px}}
@media(max-width:540px){.portal-page{padding:22px 20px 18px}.portal-header{flex-direction:column;align-items:flex-start;gap:20px;padding-bottom:22px}.portal-brand{flex-direction:row;align-items:center;gap:17px}.portal-brand>img{width:142px;height:36px}.portal-account{width:100%}.portal-account>div:not(.avatar){flex:1;max-width:none}.portal-account button{margin-left:auto;font-size:11px}.portal-account .avatar{width:32px;height:32px;font-size:10px}.portal-heading{flex-wrap:wrap;gap:12px;padding:24px 0 20px}.portal-heading h1{font-size:27px}.portal-heading p{font-size:13px}.portal-footer{flex-direction:column;align-items:flex-start;gap:10px}.login-demo-account>select{font-size:16px}}

/* Compact project cards — v0.11 */
.portal-project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,310px),340px));gap:18px;align-items:start;max-width:none}
.portal-project{display:flex;flex-direction:column;padding:20px;min-width:0}
.portal-project-title{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:42px}
.portal-project-title h2{font-size:19px;line-height:1.3;letter-spacing:-.4px}
.portal-project-title img{width:38px;height:38px;object-fit:contain;flex-shrink:0}
.portal-project .portal-project-caption{font-size:11px;line-height:1.6;color:var(--muted);margin-top:9px}
.portal-project-progress{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;margin:21px 0 9px;color:var(--muted)}
.portal-project-progress>b{color:#19624c}.portal-project .progress{height:4px}.portal-project .progress span{background:#26906b}
.portal-project-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:6px;font-size:10px;color:var(--muted)}
.portal-project-bottom>button{display:flex;align-items:center;gap:12px;min-height:44px;padding:6px 0 6px 12px;font-size:12px;color:#185ba8}

/* Offline delivery: real model and complete reports. */
.interactive-model{position:relative}
.model-fallback:not([hidden]){position:absolute;inset:55px 14px auto;padding:14px 18px;border-radius:14px;background:rgba(240,246,252,.93);color:#36516b;z-index:2;font-size:13px;line-height:1.6}
.viewer-heading{gap:12px;flex-wrap:wrap}
.viewer-heading>.small{max-width:230px;text-align:right}
.report-device{margin-top:32px;break-before:auto}
.report-results{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px}
.report-results th:first-child,.report-results td:first-child{width:48%}
.report-results td,.report-results th{padding:10px 12px;vertical-align:top;overflow-wrap:anywhere;border-bottom:1px solid #cbd5df;text-align:left}
.report-results p{margin:4px 0;line-height:1.45;white-space:pre-wrap}
.report-device>h2{margin-bottom:14px}
@media(max-width:700px){.top-actions{flex-wrap:wrap}.viewer-heading>.small{text-align:left}.report-results td,.report-results th{padding:8px 5px;font-size:11px}.report-results td{display:table-cell!important}.report-results td:before{display:none!important}}
@media print{.report-results thead{display:table-header-group}.report-results tr{break-inside:avoid}.report-device>h2{break-after:avoid}.report-device+.report-device{break-before:page}.report-results{font-size:9pt}.report-results td,.report-results th{padding:7px 8px}.report-results .small{font-size:8pt}.report .metrics{display:grid!important}.report{overflow:visible!important}.report-results td{display:table-cell!important}.report-results td:before{display:none!important}}

/* Task focus: opaque blue selection and a faint silhouette for context. */
.model-selection-legend{position:absolute;left:16px;bottom:74px;display:flex;align-items:flex-start;gap:9px;max-width:calc(100% - 32px);padding:10px 14px;background:rgba(241,247,255,.93);border:1px solid #ffffffa0;border-radius:12px;color:#134f8f;font-size:12px;line-height:1.45;pointer-events:none;box-shadow:0 4px 20px #314f7210}
.model-selection-legend[hidden]{display:none}.model-selection-legend small{display:block;color:#526b82;font-size:11px;margin-top:3px}.focus-dot{flex:0 0 10px;width:10px;height:10px;border-radius:50%;background:#087dff;margin-top:4px;box-shadow:0 0 0 3px #087dff20}.viewer-toolbar>div{flex-wrap:wrap;justify-content:flex-end}
@media(max-width:850px){.model-selection-legend{left:8px;bottom:112px;max-width:calc(100% - 16px);padding:8px 10px;font-size:11px}.viewer-toolbar>div{gap:6px}}
.viewer-toolbar>div>.viewer-icon{display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0}.viewer-toolbar .viewer-icon svg{display:block;width:22px;height:22px}

/* Compact workspace: one completion counter, more room for tasks and the model. */
.content:has(.task-workspace-page){padding-top:12px}
.task-workspace-page>.work-heading{justify-content:flex-start;gap:16px;min-height:44px;margin-bottom:12px}
.task-workspace-page>.work-heading .breadcrumb{flex-shrink:0}
.task-workspace-page>.work-heading .breadcrumb button{min-height:44px;padding:8px 0;font-size:12px}
.task-workspace-page>.work-heading h1{font-size:24px;margin:0}
.task-workspace-page .work-list-header{padding:14px 12px 8px}
.task-workspace-page .work-list-header h2{margin-bottom:10px}
.task-workspace-page .work-list-header input{margin-bottom:4px}
.task-workspace-page .category-actions button{min-height:44px}
.content:has(.task-workspace-page)>.footerline{margin-top:12px}
.task-workspace-page .model-selection-legend{bottom:64px;max-width:min(340px,calc(100% - 32px))}
@media(max-width:850px){.task-workspace-page>.work-heading{gap:12px}.task-workspace-page>.work-heading h1{font-size:22px}.task-workspace-page .model-selection-legend{bottom:64px;max-width:calc(100% - 16px)}}
@media(max-width:700px){.task-workspace-page>.work-heading{flex-wrap:nowrap}.task-workspace-page .work-list-header{padding:12px}.task-workspace-page .work-list-header h2{margin:0}.task-workspace-page .work-list-header input{margin:0}}

/* Keep the selection explanation next to its group name. */
.viewer-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;align-items:start}
.viewer-heading>.pill{grid-column:1;grid-row:1;justify-self:start}
.viewer-heading>.small{grid-column:2;grid-row:1;align-self:center}
.viewer-heading .model-selection-legend{position:static;grid-column:1/-1;grid-row:2;justify-self:start;max-width:100%;margin:0;padding:8px 11px;font-size:11px;box-shadow:none;background:rgba(241,247,255,.65)}
@media(max-width:1100px){.viewer-heading{grid-template-columns:minmax(0,1fr)}.viewer-heading>.small{grid-column:1;grid-row:3;text-align:left;max-width:none}}

/* Compact dropdowns and disclosure headers share the same visual rhythm. */
select,.login-demo-account>select{height:40px;min-height:40px;padding:7px 12px;line-height:1.4;border-radius:9px}
.toolbar input[type="search"],.checklist-controls input[type="search"],.work-list-header input[type="search"]{height:40px;min-height:40px;padding:7px 12px;border-radius:9px}
.task-group-heading{min-height:40px;padding:8px 10px}
.instruction summary,.procedure-rules summary{min-height:40px}
.catalog-task summary{min-height:56px;padding:10px 8px}

/* Reports: compact filter panel instead of the general 22 px card padding. */
.report-controls{padding:12px 16px}
.report-controls .toolbar{gap:8px 12px;align-items:center}
.report-controls #report-scope{height:40px;min-height:40px;width:180px;min-width:140px;flex:0 1 180px;padding:7px 12px;border-radius:9px;font-size:16px}
.report-controls .toolbar>.small{flex:1 1 260px;line-height:1.5}
@media(max-width:540px){.report-controls{padding:10px 12px}.report-controls #report-scope{flex:1 1 140px}.report-controls .toolbar>.small{flex-basis:100%}}
