:root{font-family:system-ui,sans-serif;color:#203341;background:#f3f5f8;font-size:15px}*{box-sizing:border-box}body{margin:0}header{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:18px 28px;background:#fff;border-bottom:1px solid #d6e0ec}header strong{font-size:23px;color:#306cb3}header span{font-size:15px}main{max-width:1250px;margin:20px auto;padding:0 20px}section{background:white;padding:22px;border:1px solid #d6e0ec;border-radius:9px}nav{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:15px}h1{font-size:26px;margin:0 0 12px}h2{font-size:18px;margin:23px 0 10px}p{line-height:1.5}label{display:flex;flex-direction:column;gap:5px;font-size:13px}input,select,button{font:inherit;padding:9px 12px;border:1px solid #b8cce0;border-radius:5px;min-width:0}button{cursor:pointer;background:#326fb7;color:white}button:disabled{opacity:.5;cursor:default}input,select{background:white;color:#203341}input:not([type=checkbox]){width:100%}input[type=checkbox]{align-self:flex-start}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:15px 0}.toolbar{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:14px 0}.toolbar>input{flex:1;min-width:220px}.toolbar>label{flex:1}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%}th,td{text-align:left;padding:12px;border-bottom:1px solid #e0e8f2;vertical-align:top}th{background:#f2f6fb;font-size:13px}td:first-child{min-width:300px}td button{background:none;color:#2864a9;border:0;text-align:left;padding:0;overflow-wrap:anywhere}.code{font-weight:650;font-size:18px;overflow-wrap:anywhere;background:#eef5ff;padding:12px}details{border:1px solid #d6e0ec;border-radius:6px;padding:12px;margin:13px 0}summary{cursor:pointer;font-weight:600}li{margin:7px 0;overflow-wrap:anywhere}#message{padding:0;margin:10px 0;color:#9b3a0b}#login{max-width:470px;margin:50px auto}#login label{margin:14px 0}footer{text-align:center;font-size:12px;color:#536577;padding:24px}fieldset{border:1px solid #d6e0ec}svg{width:100%;max-width:650px}svg g[tabindex]{cursor:pointer}a{color:#2864a9}[hidden]{display:none!important}@media(max-width:650px){.grid{grid-template-columns:1fr}header{padding:12px}main{padding:0 10px}section{padding:15px}h1{font-size:22px}}

.family-row{grid-column:1/-1;display:grid;grid-template-columns:minmax(180px,1.25fr) minmax(150px,1fr) auto;gap:12px;align-items:end}.family-row button{white-space:nowrap}.scheme-panel{margin:18px 0;padding:16px;background:#fff}.scheme-header{display:flex;gap:15px;justify-content:space-between;align-items:start}.scheme-header h2{margin:0 0 5px}.scheme-header p,.scheme-note{font-size:12px;color:#526b83;margin:5px 0 10px}.scheme-tools>span{font-size:13px;background:#edf5ff;padding:8px 10px;border-radius:5px;max-width:300px}.exploded-scheme svg{width:100%;max-width:none;display:block;height:auto}.exploded-scheme [data-group]{cursor:pointer;outline:none}.exploded-scheme [data-group]:hover{filter:drop-shadow(0 0 3px #669fd0)}.exploded-scheme [data-group].selected polygon,.exploded-scheme [data-group].selected rect{stroke:#176bc4;fill:#dceeff}.exploded-scheme [data-group]:focus-visible{filter:drop-shadow(0 0 4px #175db0)}.scheme-extras{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.scheme-extras button{background:#fff;color:#2864a9}.scheme-panel .scheme-note{margin-top:12px}nav button[aria-current=page]{background:#164c8c;box-shadow:0 0 0 2px #b9d3ef}#workspace>#create>p{max-width:850px}@media(max-width:700px){.family-row{grid-template-columns:1fr 1fr}.family-row button{grid-column:1/-1}.scheme-header{flex-direction:column}.scheme-panel{padding:8px}.exploded-scheme{overflow-x:auto}.exploded-scheme svg{min-width:0}.scheme-tools>span{max-width:none}}

.scheme-tools{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.scheme-tools a{font-size:12px}.scheme-tools>span{display:block}.family-row input{text-transform:uppercase}

.exploded-scheme .hotspot polygon,.exploded-scheme .hotspot rect{fill:transparent;stroke:transparent;pointer-events:all}.exploded-scheme .hotspot path{fill:none;stroke:transparent;pointer-events:stroke}.exploded-scheme .hotspot.selected polygon,.exploded-scheme .hotspot.selected rect,.exploded-scheme .hotspot:hover polygon,.exploded-scheme .hotspot:hover rect,.exploded-scheme .hotspot:focus-visible polygon,.exploded-scheme .hotspot:focus-visible rect{fill:#4d98ee;fill-opacity:.12;stroke:#2876c7;stroke-width:2}.exploded-scheme .hotspot.selected path,.exploded-scheme .hotspot:hover path,.exploded-scheme .hotspot:focus-visible path{stroke:#2876c7;stroke-opacity:.32}.exploded-scheme .hotspot:hover,.exploded-scheme .hotspot:focus-visible{filter:none}

/* Quick issuance: the approved diagram stays intact, while the form leads. */
main{max-width:1600px}.create-intro{margin:5px 0 18px;color:#52677c}#create h1{margin-bottom:5px}.issuance-layout{display:grid;grid-template-columns:minmax(360px, .43fr) minmax(0,.57fr);gap:16px;align-items:start}.issuance-left{border:1px solid #d6e0ec;border-radius:8px;padding:16px}.family-picker{display:flex;gap:12px;align-items:end;margin-bottom:12px}.family-picker>label{flex:1;min-width:0}.text-button{border:0;background:none;color:#2864a9;padding:7px 0;white-space:nowrap}.new-family-inline{display:flex;gap:8px;align-items:end;margin-bottom:12px}.new-family-inline>label{flex:1}.new-family-inline button{font-size:12px}.compact-grid{margin:10px 0;gap:10px}.dimensions{border-radius:6px;padding:10px 12px;margin:12px 0}.dimensions legend{font-size:14px;font-weight:650}.dimension-inputs{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:10px}.size-preview{font-size:12px;background:#eef4fb;padding:7px 9px;border-radius:4px;margin:10px 0 5px;overflow-wrap:anywhere}.compact-details{padding:6px 0;border:0;margin:4px 0;font-size:12px}.compact-details summary{font-weight:500}.axis-choices{display:flex;gap:12px;flex-wrap:wrap;margin:10px 0}.axis-choices label,.check-label{display:flex;flex-direction:row;align-items:center;gap:5px}.axis-choices input,.check-label input{margin:0}.revision-line{display:flex;justify-content:space-between;align-items:center;font-size:13px;gap:10px;margin:8px 0}.optional-name{margin:9px 0}.eskd-details{border:1px solid #d6e0ec;background:#f2f6fc;border-radius:5px;padding:9px 11px;margin:12px 0}.eskd-details p{font-size:12px;margin-bottom:2px}.issue-button,.next-issue{width:100%;font-weight:650;margin-top:2px}.issued-result{background:#f1fbf5;border:1px solid #b5dec6;border-radius:7px;margin-top:13px;padding:12px}.issued-status{font-size:13px;font-weight:650;color:#247441;margin:0 0 7px}.issued-code-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.issued-code{font-size:19px;font-weight:750;overflow-wrap:anywhere;line-height:1.45;color:#19364f;user-select:all}.issued-code-row button{background:#fff;color:#2864a9;padding:9px 10px;font-size:13px;white-space:nowrap}.copy-status{font-size:12px;color:#247441;margin:5px 0 0}.next-issue{background:#edf4fd;color:#2864a9;margin-top:10px;border-color:#8bb0da}.context-note{font-size:12px;color:#526b83;margin:10px 0 0}.issuance-layout>.scheme-panel{margin:0;padding:16px;min-width:0}.selection-badge{display:inline-block;background:#edf5ff;color:#245e9c;border-radius:5px;padding:7px 10px;font-size:13px;margin:2px 0 12px}.issuance-layout .scheme-header h2{font-size:19px}.issuance-layout .scheme-header p{font-size:13px}.issuance-layout .scheme-extras{gap:6px}.issuance-layout .scheme-extras button{font-size:12px;padding:7px 9px}.issuance-left input,.issuance-left select{padding:7px 9px;font-size:14px}.issuance-left label{font-size:12px}.issuance-layout .scheme-note{font-size:11px}.issued-result[hidden]{display:none}
@media(max-width:1000px){.issuance-layout{grid-template-columns:minmax(330px,.45fr) minmax(0,.55fr)}.issued-code-row{grid-template-columns:1fr}.issued-code-row button{justify-self:start}.issuance-left{padding:12px}.issuance-layout>.scheme-panel{padding:12px}.scheme-header{flex-wrap:wrap}}
@media(max-width:760px){.issuance-layout{display:flex;flex-direction:column}.issuance-left,.issuance-layout>.scheme-panel{width:100%}.issuance-layout>.scheme-panel{order:2}.issuance-layout .scheme-header{flex-direction:row}.issued-code-row{grid-template-columns:minmax(0,1fr) auto}.issued-code{font-size:16px}.new-family-inline{flex-direction:column;align-items:stretch}.scheme-header>div{min-width:0}.issuance-left{padding:12px}}

.revision-input{margin:10px 0}.revision-input input{text-transform:uppercase;font-weight:600;letter-spacing:.03em}

.registry-table td:first-child{min-width:180px;max-width:290px;overflow-wrap:anywhere}.registry-table td:nth-child(2){min-width:270px}.registry-table small{display:block;margin-top:5px;color:#526b83;line-height:1.4}.registry-table .remove-number,.remove-number{background:#fff;color:#aa3131;border:1px solid #d6a3a3;padding:7px 9px}.registry-table .restore-number{background:#fff;color:#2864a9;border:1px solid #b8cce0;padding:7px 9px}.registry-table td{font-size:13px}.registry-table th{font-size:12px}#search-form select{max-width:260px}

body{min-height:100vh;display:flex;flex-direction:column}body>main{flex:1 0 auto;width:100%}.brand{display:inline-flex;flex-direction:column;align-items:flex-end;text-decoration:none;line-height:1;color:#172b3b;flex:none}.brand-wordmark{display:block;line-height:0}.brand-wordmark img{display:block;width:210px;height:auto}.brand .brand-product{font:700 16px/1.1 Arial,sans-serif;margin-top:1px}.system-footer{display:flex;align-items:center;flex-wrap:wrap;gap:10px;width:100%;max-width:1600px;margin:0 auto;text-align:left;padding:24px 20px;font:12px/1.5 system-ui,sans-serif;color:#637682}.system-footer-signature{display:inline-flex;align-items:center;gap:9px;white-space:nowrap}.system-footer-signature svg{display:block;flex:none;width:28px;height:28px}@media(max-width:650px){.brand-wordmark img{width:170px}.brand .brand-product{font-size:14px}.system-footer{padding:20px 10px}}

.brand-wordmark{height:34px;overflow:hidden}@media(max-width:650px){.brand-wordmark{height:27px}}

#rules{max-width:1100px}#rules p{max-width:90ch}#rules code{overflow-wrap:anywhere;background:#eef4fb;padding:2px 4px}#rules summary{line-height:1.5}#rules h3{font-size:16px}#rules td:first-child{min-width:100px}#rules-quick{background:#f1f6fc;padding:14px;border-radius:6px;margin:16px 0}
