/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-font-weight:initial}}}@layer theme{:root,:host{--color-zinc-50:oklch(98.5% 0 0);--color-zinc-300:oklch(87.1% .006 286.286);--color-zinc-500:oklch(55.2% .016 285.938);--color-zinc-800:oklch(27.4% .006 286.033);--color-zinc-900:oklch(21% .006 285.885);--color-white:#fff;--spacing:.25rem;--container-md:28rem;--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--font-weight-medium:500;--font-weight-semibold:600;--radius-lg:.5rem;--radius-2xl:1rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-geist-sans);--default-mono-font-family:var(--font-geist-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.static{position:static}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-6{margin-top:calc(var(--spacing) * 6)}.flex{display:flex}.inline-flex{display:inline-flex}.min-h-dvh{min-height:100dvh}.w-full{width:100%}.max-w-md{max-width:var(--container-md)}.items-center{align-items:center}.justify-center{justify-content:center}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-lg{border-radius:var(--radius-lg)}.border{border-style:var(--tw-border-style);border-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-zinc-300{border-color:var(--color-zinc-300)}.bg-white{background-color:var(--color-white)}.bg-zinc-50{background-color:var(--color-zinc-50)}.bg-zinc-900{background-color:var(--color-zinc-900)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-8{padding-inline:calc(var(--spacing) * 8)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-14{padding-block:calc(var(--spacing) * 14)}.text-center{text-align:center}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-white{color:var(--color-white)}.text-zinc-500{color:var(--color-zinc-500)}.text-zinc-900{color:var(--color-zinc-900)}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}@media (hover:hover){.hover\:bg-zinc-800:hover{background-color:var(--color-zinc-800)}}}:root{--background:#fff;--foreground:#171717;--font-geist-sans:ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--font-geist-mono:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;--font-newsreader:Georgia, "Times New Roman", serif;--cq-bg:#f4f6f8;--cq-surface:#fff;--cq-ink:#14181f;--cq-muted:#5a6472;--cq-line:#d9dee5;--cq-brand:#0f4c81;--cq-brand-soft:#e6eff8;--cq-ok:#0b7a3e;--cq-ok-soft:#e3f5ea;--cq-bad:#b42318;--cq-bad-soft:#fdeceb;--cq-warn:#96590a;--cq-warn-soft:#fdf1dc;--cq-radius:10px;--cq-touch:44px}body{font-family:var(--font-geist-sans);color:var(--cq-ink);background:var(--cq-bg);min-height:100dvh;margin:0;font-size:15px;line-height:1.45}h1,h2,h3,p{margin:0}small{color:var(--cq-muted);font-size:12px}:focus-visible{outline:3px solid var(--cq-brand);outline-offset:2px}.cq-app{flex-direction:column;min-height:100dvh;display:flex}.cq-app>main{box-sizing:border-box;flex:1;align-content:start;gap:16px;width:100%;max-width:1240px;margin:0 auto;padding:20px 16px 40px;display:grid}.topbar{background:var(--cq-surface);border-bottom:1px solid var(--cq-line);z-index:5;flex-wrap:wrap;align-items:center;gap:14px;padding:10px 16px;display:flex;position:sticky;top:0}.brand-mark{background:var(--cq-brand);color:#fff;border-radius:10px;place-items:center;width:40px;height:40px;display:grid}.brand{line-height:1.1;display:grid}.brand strong{font-size:18px}.brand strong span{color:var(--cq-brand)}.brand small{letter-spacing:.08em;font-size:12px}.topbar nav{flex-wrap:wrap;flex:1;gap:4px;display:flex}.topbar nav button{min-height:var(--cq-touch);font:inherit;color:var(--cq-muted);cursor:pointer;background:0 0;border:0;border-radius:8px;padding:0 14px;font-weight:600}.topbar nav button[aria-current=page]{background:var(--cq-brand-soft);color:var(--cq-brand)}.topbar .user{color:var(--cq-muted);font-size:13px}.app-footer{color:var(--cq-muted);border-top:1px solid var(--cq-line);justify-content:space-between;gap:12px;padding:12px 16px;font-size:12px;display:flex}.loading{text-align:center;color:var(--cq-muted);padding:40px}.page-heading{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.page-heading h1{font-size:26px;line-height:1.15}.page-heading p:not(.eyebrow){color:var(--cq-muted);margin-top:4px}.eyebrow{letter-spacing:.1em;color:var(--cq-brand);margin-bottom:4px;font-size:12px;font-weight:700}.actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}button{font:inherit}button,.upload{min-height:var(--cq-touch);border:1px solid var(--cq-line);background:var(--cq-surface);color:var(--cq-ink);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:0 16px;font-weight:600;display:inline-flex}button:disabled,.upload.disabled{opacity:.5;cursor:not-allowed}button.primary{background:var(--cq-brand);border-color:var(--cq-brand);color:#fff}button.plain{color:var(--cq-brand);background:0 0;border-color:#0000}button.ok{background:var(--cq-ok);border-color:var(--cq-ok);color:#fff}button.bad{background:var(--cq-bad);border-color:var(--cq-bad);color:#fff}.upload input{opacity:0;width:1px;height:1px;position:absolute;overflow:hidden}.upload{position:relative}input,select,textarea{font:inherit;color:inherit;min-height:var(--cq-touch);border:1px solid var(--cq-line);background:var(--cq-surface);box-sizing:border-box;border-radius:8px;width:100%;padding:8px 12px}textarea{resize:vertical;min-height:88px}input:disabled,textarea:disabled{background:var(--cq-bg);color:var(--cq-muted)}label{gap:4px;font-size:13px;font-weight:600;display:grid}label small{font-weight:400}.check-line{align-items:flex-start;gap:10px;font-size:14px;font-weight:500;display:flex}.check-line input{flex:none;width:22px;height:22px;min-height:22px;margin-top:2px}.panel{background:var(--cq-surface);border:1px solid var(--cq-line);border-radius:var(--cq-radius);gap:12px;padding:16px;display:grid}.panel h2{font-size:18px}.notice{border-radius:8px;padding:12px 14px;font-size:14px}.notice.error{background:var(--cq-bad-soft);color:var(--cq-bad);border:1px solid var(--cq-bad)}.notice.warning{background:var(--cq-warn-soft);color:var(--cq-warn);border:1px solid var(--cq-warn);gap:8px;display:grid}.empty{text-align:center;color:var(--cq-muted);justify-items:center;gap:6px;padding:40px 16px;display:grid}.empty h1,.empty h2{color:var(--cq-ink);font-size:18px}.empty-mark{background:var(--cq-ok-soft);width:44px;height:44px;color:var(--cq-ok);border-radius:50%;place-items:center;font-weight:700;display:grid}.badge{white-space:nowrap;background:var(--cq-bg);min-height:24px;color:var(--cq-muted);border-radius:999px;align-items:center;padding:0 10px;font-size:12px;font-weight:700;display:inline-flex}.badge.ok{background:var(--cq-ok-soft);color:var(--cq-ok)}.badge.bad{background:var(--cq-bad-soft);color:var(--cq-bad)}.badge.warning{background:var(--cq-warn-soft);color:var(--cq-warn)}.badge.active{background:var(--cq-brand-soft);color:var(--cq-brand)}.workspace-grid{grid-template-columns:240px minmax(0,1fr);align-items:start;gap:16px;display:grid}.model-sidebar{background:var(--cq-surface);border:1px solid var(--cq-line);border-radius:var(--cq-radius);gap:4px;padding:10px;display:grid}.model-sidebar button{text-align:left;border-color:#0000;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:0;padding:8px 12px}.model-sidebar button.selected{background:var(--cq-brand-soft);color:var(--cq-brand)}.aside-title{letter-spacing:.08em;color:var(--cq-muted);align-items:center;gap:6px;padding:4px 8px;font-size:12px;font-weight:700;display:flex}.list-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.search{align-items:center;gap:8px;display:flex}.search input{width:220px}.new-order{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));align-items:end}.order-list{gap:8px;display:grid}.order-row{text-align:left;justify-content:flex-start;gap:12px;width:100%;min-height:64px;padding:12px 14px;font-weight:400}.order-row>span:nth-child(2),.order-row>span:first-child:not(.of-icon){flex:1;display:grid}.order-row strong{font-weight:700}.of-icon{background:var(--cq-brand-soft);width:40px;height:40px;color:var(--cq-brand);border-radius:10px;flex:none;place-items:center;display:grid}.row-date{color:var(--cq-muted);font-size:13px}.load-more{justify-self:center}.editor{gap:16px;display:grid}.editor-toolbar{grid-template-columns:1fr auto;align-items:center}.import-bar{grid-template-columns:auto 1fr auto auto;align-items:center}.metadata{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.attachments{flex-wrap:wrap;gap:10px;display:flex}.attachments a{width:132px;color:var(--cq-ink);gap:4px;font-size:12px;text-decoration:none;display:grid}.attachments img{object-fit:cover;border:1px solid var(--cq-line);border-radius:8px;width:132px;height:96px}.document-icon{background:var(--cq-bg);border:1px dashed var(--cq-line);width:132px;height:96px;color:var(--cq-muted);border-radius:8px;place-items:center;font-weight:700;display:grid}.stage-tabs{flex-wrap:wrap;gap:8px;display:flex}.stage-tabs button{flex-direction:column;align-items:flex-start;gap:0;min-width:170px;padding:8px 16px}.stage-tabs button small{font-weight:500}.stage-tabs button.selected{background:var(--cq-brand);border-color:var(--cq-brand);color:#fff}.stage-tabs button.selected small{color:var(--cq-brand-soft)}.definition-heading{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;display:grid}.model-item{border:1px solid var(--cq-line);border-radius:8px}.model-item summary{cursor:pointer;min-height:var(--cq-touch);align-items:center;gap:12px;padding:10px 12px;display:flex}.model-item summary strong{flex:1}.model-item-body{border-top:1px solid var(--cq-line);gap:12px;padding:12px;display:grid}.criterion-editor{background:var(--cq-bg);border-radius:8px;gap:8px;padding:10px;display:grid}.measures-editor{gap:8px;display:grid}.measure-row{grid-template-columns:2fr 1fr repeat(3,1fr) auto;align-items:end;gap:8px;display:grid}.json-editor{min-height:320px;font-family:var(--font-geist-mono);font-size:13px}.publish{grid-template-columns:auto 1fr auto;align-items:center}.item-number{background:var(--cq-brand-soft);min-width:34px;height:28px;color:var(--cq-brand);border-radius:6px;flex:none;place-items:center;padding:0 8px;font-size:13px;font-weight:700;display:inline-grid}.order-screen{gap:16px;display:grid}.back{justify-self:start}.run-panel{gap:16px}.run-summary{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.run-summary p{color:var(--cq-muted);flex-wrap:wrap;align-items:center;gap:8px;margin-top:4px;display:flex}.progress{gap:4px;min-width:260px;display:grid}.progress .track{background:var(--cq-line);border-radius:999px;height:8px;overflow:hidden}.progress .track>div{background:var(--cq-ok);height:100%}.progress span{color:var(--cq-muted);font-size:12px}.run-actions{background:var(--cq-bg);border-radius:8px;flex-wrap:wrap;align-items:center;gap:10px;padding:12px;display:flex}.references summary{cursor:pointer;min-height:var(--cq-touch);align-items:center;font-weight:600;display:flex}.area h3{letter-spacing:.08em;text-transform:uppercase;color:var(--cq-muted);margin-bottom:8px;font-size:13px}.check-item{border:1px solid var(--cq-line);border-radius:var(--cq-radius);margin-bottom:12px;overflow:hidden}.check-item>header{background:var(--cq-bg);align-items:center;gap:10px;padding:10px 14px;display:flex}.criterion{border-top:1px solid var(--cq-line);border-left:5px solid var(--cq-line);gap:10px;padding:12px 14px;display:grid}.criterion.ok{border-left-color:var(--cq-ok)}.criterion.nc{border-left-color:var(--cq-bad);background:var(--cq-bad-soft)}.criterion.accepted{border-left-color:var(--cq-warn);background:var(--cq-warn-soft)}.criterion-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.measure-fields{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;display:grid}.measure-input{align-items:center;gap:6px;display:flex}.measure-input input{text-align:right;font-size:20px;font-weight:700}.measure-input em{color:var(--cq-muted);font-style:normal}.photo-row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.criterion-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.criterion-actions button.ok,.criterion-actions button.bad{min-width:168px;min-height:56px;font-size:17px}.criterion-actions button.bad{background:var(--cq-surface);color:var(--cq-bad);border-width:2px}.criterion-actions button.bad:hover:not(:disabled){background:var(--cq-bad-soft)}.criterion-actions button.bad.solid{background:var(--cq-bad);color:#fff}.issue{color:var(--cq-bad);font-weight:600}button.big{min-height:56px;padding:0 28px;font-size:17px}.guided{gap:14px;display:grid}.area-chips{gap:8px;padding-bottom:4px;display:flex;overflow-x:auto}.chip{min-height:var(--cq-touch);border-radius:999px;flex-direction:column;flex:none;align-items:flex-start;gap:0;padding:6px 14px}.chip small{font-weight:500}.chip.done{background:var(--cq-ok-soft);color:var(--cq-ok);border-color:#0000}.chip.done small{color:var(--cq-ok)}.chip.current{background:var(--cq-brand);border-color:var(--cq-brand);color:#fff}.chip.current small{color:var(--cq-brand-soft)}.guided-card{border:1px solid var(--cq-line);border-radius:var(--cq-radius);background:var(--cq-surface);gap:12px;padding:16px;display:grid}.guided-head{align-items:flex-start;gap:12px;display:flex}.guided-head strong{font-size:18px;line-height:1.3}.guided-head small{margin-top:2px;display:block}.guided .criterion{background:var(--cq-bg);border:0;border-left-width:5px;border-radius:8px;padding:14px}.guided .criterion.ok{background:var(--cq-ok-soft)}.guided .measure-input input{min-height:60px;font-size:30px}.guided .measure-fields{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.guided-nav{background:linear-gradient(to top, var(--cq-surface) 70%, transparent);justify-content:space-between;gap:12px;padding:10px 0 2px;display:flex;position:sticky;bottom:0}.guided-done{text-align:center;border:1px dashed var(--cq-ok);border-radius:var(--cq-radius);background:var(--cq-ok-soft);color:var(--cq-ok);justify-items:center;gap:10px;padding:32px 16px;display:grid}.guided-done h3{color:var(--cq-ink);font-size:22px}.guided-done p{color:var(--cq-muted)}.attention{border-radius:var(--cq-radius);background:var(--cq-warn-soft);border:1px solid var(--cq-warn);color:var(--cq-warn);text-align:left;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:12px 16px;font-weight:600;display:flex}.criterion-result{justify-items:start;gap:6px;display:grid}.deviations{gap:10px;display:grid}.deviation{border:1px solid var(--cq-line);border-radius:var(--cq-radius);gap:8px;padding:12px;display:grid}.deviation.approved{border-color:var(--cq-warn);background:var(--cq-warn-soft)}.deviation.rejected,.deviation.superseded{opacity:.75}.deviation>div:first-child{flex-wrap:wrap;justify-content:space-between;gap:8px;display:flex}.deviation ul{margin:0;padding-left:18px;list-style:outside}.decision{gap:10px;display:grid}.signature-pad{aspect-ratio:3;background:var(--cq-surface);border:2px dashed var(--cq-line);cursor:crosshair;border-radius:8px;width:100%;max-width:600px}.signature-view{aspect-ratio:3;background:var(--cq-surface);border:1px solid var(--cq-line);width:100%;max-width:300px;color:var(--cq-ink);border-radius:8px}.history ol{gap:8px;margin:0;padding:0;list-style:none;display:grid}.history li{border-left:3px solid var(--cq-line);gap:2px;padding:8px 12px;display:grid}@media (width<=860px){.workspace-grid,.editor-toolbar,.import-bar,.publish{grid-template-columns:1fr}.measure-row{grid-template-columns:1fr 1fr}.criterion-actions button.ok,.criterion-actions button.bad{flex:1}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}
