@font-face{font-family:'ODJ Kanit';font-style:normal;font-weight:400;font-display:swap;src:url('kanit-400.woff2') format('woff2')}@font-face{font-family:'ODJ Kanit';font-style:normal;font-weight:500 700;font-display:swap;src:url('kanit-500.woff2') format('woff2')}
:root{--ink:#122528;--paper:#f5f6f0;--line:#d9dfd5;--lime:#8bffda;--muted:#637475;--orange:#aa5b36;font-family:'ODJ Kanit',sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;background:#fff;border:1px solid var(--line);border-radius:7px;padding:9px 12px;font-weight:600;font-size:12px;min-height:36px;transition:transform 120ms ease-out,background-color 160ms ease-out,border-color 160ms ease-out,box-shadow 120ms ease-out,filter 120ms ease-out,opacity 120ms ease-out}button:disabled{cursor:default;opacity:.4}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #81a638;outline-offset:2px}button.primary{background:var(--lime);border-color:var(--lime);color:var(--ink)}button[aria-pressed=true]{background:var(--ink);color:#fff}header{height:86px;padding:0 30px;display:flex;align-items:center;justify-content:space-between;background:var(--ink);color:#fff;gap:20px}.brand{font-family:'ODJ Kanit',sans-serif;font-weight:700;font-size:26px;letter-spacing:-1.5px;text-decoration:none;color:#fff;line-height:1}.brand span{color:var(--lime)}.brand small{display:block;font-family:'ODJ Kanit',sans-serif;font-size:9px;letter-spacing:3px;margin-top:8px;font-weight:500}.header-actions{display:flex;align-items:center;gap:8px}.header-actions>span{font-size:11px;color:#c1d0c9;margin-right:12px}.header-actions button{background:transparent;color:white;border-color:#526867}.header-actions .primary{color:var(--ink)}main{display:grid;grid-template-columns:minmax(0,1fr) 280px;max-width:1800px;margin:auto;min-height:calc(100vh - 86px)}.workspace{padding:28px 28px 32px;min-width:0}h2{font-family:'ODJ Kanit',sans-serif;letter-spacing:-.5px;font-weight:600;font-size:17px;margin:0 0 12px}p{font-size:13px;line-height:1.5}.muted{color:var(--muted);font-size:11px;line-height:1.6}.titlebar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.titlebar input{background:transparent;border:0;font-family:'ODJ Kanit',sans-serif;font-size:29px;font-weight:500;letter-spacing:-1px;padding:0;width:100%;min-width:100px}.titlebar p{font-size:12px;color:var(--muted);margin:8px 0 0}.stats{display:flex;gap:23px;white-space:nowrap}.stat strong{display:block;font-family:'ODJ Kanit',sans-serif;font-size:24px;font-weight:500}.stat span{font-size:10px;color:var(--muted)}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px}.edit-controls,.zoom-controls{display:flex;align-items:center;gap:6px}.toolbar button{font-size:11px;padding:7px 10px}.check{display:flex;align-items:center;gap:4px;font-size:10px;white-space:nowrap;margin:0 5px}.check input{width:auto;accent-color:var(--ink)}#zoom-label{font-size:10px;width:38px;text-align:center}.canvas-wrap{background:#e6eadf;border:1px solid #d5ddcf;border-radius:12px;overflow:hidden;position:relative}#plan{display:block;width:100%;height:560px;touch-action:none;user-select:none;outline:none}#plan text{font-family:'ODJ Kanit',sans-serif;pointer-events:none}.canvas-caption{display:flex;justify-content:space-between;gap:10px;padding:11px 15px;font-size:10px;background:#f1f3e9;color:#66786b;border-top:1px solid #d6dece}.below-plan{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 0;font-size:11px}.legend{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--muted)}.dot{display:inline-block;width:9px;height:9px;border-radius:2px;margin-left:8px}.dot:first-child{margin-left:0}.furniture{background:#e2cbae}.canopy{background:#abc4b6}.clear{background:#d4e8a7}.blocked{background:#ad9b91}#status{color:var(--muted);text-align:right}.warnings{border-top:1px solid var(--line);padding-top:18px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.section-head h2{margin:0}.section-head button{font-size:10px;min-height:28px;padding:5px 9px}.warnings>.muted{margin:10px 0}#issues{display:grid;gap:5px}.issue{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px;border-left:3px solid #b46b45;padding:8px 10px;background:#efe6dc}.issue.ack{opacity:.65;border-left-color:#768776;background:#e9edde}.issue button{font-size:10px;padding:3px 7px;min-height:26px}.all-clear{font-size:12px;color:#597142}aside{border-left:1px solid var(--line);background:#fcfcf7;padding:28px 20px}aside section{border-bottom:1px solid var(--line);padding:0 0 22px;margin-bottom:24px}aside section:last-child{border-bottom:0}.fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}label{display:block;font-size:11px;font-weight:600;margin:12px 0}input,textarea,select{display:block;border:1px solid var(--line);background:white;border-radius:6px;padding:9px 10px;width:100%;margin-top:6px;font-size:12px}textarea{resize:vertical}.fields label{margin:5px 0 10px}#catalog{display:grid;grid-template-columns:1fr 1fr;gap:7px}#catalog button{text-align:left;min-height:55px;padding:9px;font-size:11px;font-weight:500}#catalog button span,.preset span{display:block;margin-top:5px;color:var(--muted);font-size:9px;font-weight:400}.wide{width:100%;margin-top:7px}.preset{text-align:left}.button-row{display:flex;gap:7px;margin:10px 0}.button-row button{flex:1}.danger{color:#a8442d}details{font-size:11px;margin-top:14px}summary{cursor:pointer;padding:5px 0}dialog{width:460px;max-width:calc(100% - 28px);border:1px solid var(--line);border-radius:12px;padding:24px;box-shadow:0 20px 80px #12252833}dialog::backdrop{background:#12252866;backdrop-filter:blur(3px)}.layout-row{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line);gap:12px}.layout-row strong{display:block;font-size:13px}.layout-row small{color:var(--muted);font-size:10px}.import-label{border:1px dashed var(--line);border-radius:6px;padding:10px}.import-label input{border:0;padding:0;font-size:10px}#print-summary{display:none}body.viewer .edit-controls,body.viewer .editor-section,body.viewer #selected-panel,body.viewer #save,body.viewer #share,body.viewer #library,body.viewer #toggle-warnings,body.viewer #ack-all,body.viewer .issue button{display:none!important}body.viewer #notes,body.viewer #layout-name{pointer-events:none}body.viewer aside{padding-top:28px}body.viewer #plan{cursor:grab}body.viewer main{grid-template-columns:minmax(0,1fr) 260px}@media(min-width:1500px){#plan{height:660px}.workspace{padding:36px 40px}aside{padding:36px 24px}main{grid-template-columns:minmax(0,1fr) 310px}}@media(max-width:1000px){header{padding:0 20px}.header-actions>span{display:none}.workspace{padding:22px 18px}main{grid-template-columns:minmax(0,1fr) 240px}.stats{gap:12px}.titlebar{align-items:flex-start}.titlebar input{font-size:24px}.toolbar{flex-wrap:wrap}.canvas-caption{font-size:9px}.canvas-caption>span:first-child{max-width:65%}#plan{height:510px}aside{padding:24px 16px}}@media(max-width:720px){header{height:auto;min-height:112px;padding:17px 16px;align-items:flex-start;flex-wrap:wrap;gap:15px}.brand{font-size:24px}.header-actions{width:100%;gap:6px}.header-actions button{flex:1;padding:8px 4px;font-size:10px}.brand small{font-size:8px}.workspace{padding:22px 12px 18px}main,body.viewer main{display:flex;flex-direction:column}.titlebar{flex-direction:column;gap:16px;margin-bottom:16px}.titlebar>div:first-child{width:100%}.titlebar input{font-size:26px}.stats{width:100%;gap:28px}.stat strong{font-size:22px}#plan{height:420px}.toolbar{gap:10px}.edit-controls{flex-wrap:wrap;gap:5px}.toolbar button{min-height:37px;padding:8px 9px}.zoom-controls{margin-left:auto}.canvas-caption{padding:10px}.canvas-caption>span:last-child{max-width:80px;text-align:right}.below-plan{align-items:flex-start;flex-direction:column;padding:12px 2px;gap:10px}#status{text-align:left}.section-head{align-items:flex-start}.section-head>div{display:flex;gap:5px}.section-head h2{font-size:16px}aside{border-left:0;border-top:1px solid var(--line);padding:24px 18px;display:grid;grid-template-columns:1fr;gap:0}#catalog button{min-height:62px}body.viewer aside{display:none}.warnings>.muted{font-size:11px}.issue{line-height:1.5}.issue button{min-width:84px}}
@media print{@page{size:A4 landscape;margin:10mm}body{background:white;font-size:10px}header{height:auto;background:white;color:var(--ink);padding:0 0 10px;border-bottom:1px solid var(--ink)}.brand,.brand span{color:var(--ink)}.brand{font-size:20px}.header-actions,.toolbar,.canvas-caption,.below-plan,aside,.warnings,dialog{display:none!important}main,body.viewer main{display:block;min-height:0}.workspace{padding:15px 0 0}.titlebar{margin-bottom:8px}.titlebar input{font-size:22px}.titlebar p{display:none}.stats{gap:20px}.stat strong{font-size:18px}.canvas-wrap{border:0;background:white;border-radius:0}#plan{height:135mm;width:100%;break-inside:avoid}#print-summary{display:block;break-inside:avoid;margin-top:8px}#print-summary h2{font-size:13px;margin-bottom:4px}#print-details{font-size:10px;line-height:1.5}#print-details table{border-collapse:collapse;margin:6px 0;width:100%}#print-details th,#print-details td{text-align:left;border-bottom:1px solid #ddd;padding:3px 6px}#print-details p{font-size:10px;margin:4px 0}}
.header-actions button.primary{background:var(--lime);border-color:var(--lime);color:var(--ink)}#admin-dialog{width:650px}#admin-users .layout-row>div{display:flex;gap:6px;align-items:center}#admin-users select{width:90px;margin:0}.brand{font-weight:500}body.viewer #canvas-hint{font-size:0}body.viewer #canvas-hint::after{content:'View-only plan · Drag to pan · Pinch or scroll to zoom';font-size:10px}
.view-switch{display:flex;align-items:center;gap:6px;margin:0 0 14px}.view-switch button{font-size:12px;padding:8px 16px}.view-switch span{font-size:11px;color:var(--muted);margin-left:10px}.three-toolbar{display:none;align-items:center;gap:7px;margin:0 0 10px}.three-toolbar button{font-size:11px}.three-toolbar label{margin:0 0 0 auto}.mode-3d .three-toolbar{display:flex}.mode-3d #plan{display:none}.mode-3d #three-space{display:block}.mode-3d #boundary-mode,.mode-3d .toolbar .check,.mode-3d #zoom-label{display:none}#three-space{display:none;width:100%;height:560px;touch-action:none}#three-space canvas{display:block;width:100%;height:100%;touch-action:none}#three-fallback{min-height:300px;padding:60px 30px;text-align:center;background:#f1f4ea}.mode-3d #three-space[hidden]{display:none}#three-fallback[hidden]{display:none}.mode-3d #three-fallback:not([hidden])~#plan{display:none}.mode-3d #fit{margin-left:3px}@media(min-width:1500px){#three-space{height:660px}}@media(max-width:1000px){#three-space{height:510px}}@media(max-width:720px){#three-space{height:420px}.view-switch{flex-wrap:wrap;gap:6px}.view-switch span{font-size:10px;margin:0}.three-toolbar .check{font-size:10px}.mode-3d #canvas-hint{font-size:9px}body.viewer #canvas-hint::after{content:'View-only plan · Drag to explore · Pinch to zoom'}}@media print{.view-switch,.three-toolbar,#three-space,#three-fallback{display:none!important}#plan,.mode-3d #plan{display:block!important}.mode-3d .canvas-wrap{display:block}.printing #plan{display:block!important}}

body:not(.mode-3d) #three-fallback{display:none}
/* Room-first workspace, with the arranging tools kept close to the scene. */
button{font-size:14px;min-height:42px}input,select,textarea{font-size:14px}.muted{font-size:12px}.toolbar button{font-size:13px;min-height:40px}.view-switch{gap:7px;flex-wrap:wrap}.view-switch button{font-size:14px}.view-switch span{font-size:12px}.event-name-label{font-size:11px;letter-spacing:.5px;color:var(--muted);margin:0 0 4px}.titlebar input{border-bottom:1px dashed #bdcabe;padding-bottom:4px}.titlebar p{font-size:12px}#catalog button{font-size:13px;min-height:70px}#catalog button span{font-size:11px}.three-toolbar{justify-content:flex-end}.mode-3d .three-toolbar{height:24px;margin-bottom:7px}.three-toolbar label{font-size:12px}.mode-3d #three-space{height:610px}.route-error{font-size:12px;line-height:1.6;color:#a54b31;background:#f5e9df;padding:10px;border-radius:6px}.waypoint-row{display:grid;grid-template-columns:18px 1fr 1fr 62px;gap:5px;align-items:center}.waypoint-row input{font-size:12px;margin:4px 0;padding:6px}.waypoint-row button{font-size:10px;padding:5px;min-height:32px}#waypoint-list{max-height:200px;overflow:auto}.route-edit-control button{font-size:11px;padding:7px;min-height:37px}#walk-panel{position:absolute;left:14px;right:14px;bottom:55px;z-index:4;padding:12px;background:#f9fcf0ee;border:1px solid #cfdbcd;backdrop-filter:blur(8px);border-radius:9px;box-shadow:0 3px 20px #12252822}.walk-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.walk-actions label{display:flex;align-items:center;gap:8px;margin:0 0 0 auto;font-size:11px}.walk-actions select{width:95px;font-size:12px;margin:0;padding:7px}#walk-status{font-size:12px;margin:8px 0 0}.walk-pad{display:flex;gap:5px;position:absolute;right:12px;bottom:10px}.walk-pad button{width:34px;min-height:30px;padding:4px;background:#e5ecdf;font-size:16px;touch-action:none;user-select:none}#walk-panel[hidden]{display:none}.viewer .route-edit-control{display:none!important}body.viewer #route-section{display:block}body.viewer #route-section>p:first-of-type{display:none}body.viewer .event-name-label{display:none}body.viewer #layout-name{border:0}.mode-3d #canvas-hint{font-size:11px}@media(max-width:720px){.mode-3d #three-space{height:500px}.view-switch span{display:none}.view-switch button{flex:1;padding:8px 7px;font-size:12px}.titlebar input{font-size:24px}.walk-actions button{font-size:11px;padding:7px;min-height:38px}.walk-actions label{margin-left:0;font-size:10px}#walk-panel{left:8px;right:8px;padding:10px;bottom:65px}#walk-status{max-width:55%;font-size:10px}.walk-pad button{width:29px}#catalog button{font-size:12px}body.viewer #route-section{padding:18px 0}.mode-3d .canvas-caption{font-size:10px}}@media(min-width:1500px){.mode-3d #three-space{height:680px}}@media print{#walk-panel,.three-toolbar,.view-switch{display:none!important}.titlebar input{border:0}.event-name-label{display:none}.printing #plan{display:block!important}}

/* Official current ODJTECH-only artwork: original pixels, colors and proportions. */
.brand{display:block;flex-shrink:0;letter-spacing:normal}.brand img{display:block;width:150px;height:auto;max-width:100%;object-fit:contain}.brand small{letter-spacing:3px;margin-top:5px;font-size:9px}
@media(max-width:720px){.brand img{width:125px}.brand small{font-size:8px;letter-spacing:2.5px}}
@media print{.brand{display:inline-block;background:var(--ink);color:#fff;padding:6px 10px;-webkit-print-color-adjust:exact;print-color-adjust:exact}.brand img{width:120px}.brand small{color:#fff}}
/* Entry and editor controls */
[hidden]{display:none!important}.header-actions #editor-actions{display:flex}.welcome button,.stage-actions button,#account-access{min-height:44px}.text-button{border:0;background:transparent;color:#b2c6c2;padding-left:0;text-decoration:underline}.stage-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:14px 0}.stage-actions>div{display:flex;align-items:center;gap:12px}.stage-actions span{font-size:12px;color:#53655b;max-width:360px}.layout-locked #layout-lock{background:#24443a;color:#fff}.editor-expanded #editor-stage,#editor-stage:fullscreen{position:fixed;inset:0;z-index:50;background:#f5f6f0;padding:12px 20px;display:flex;flex-direction:column;overflow:auto}.editor-expanded .canvas-wrap,#editor-stage:fullscreen .canvas-wrap{flex:1;min-height:260px}.editor-expanded #plan,.editor-expanded #three-space,#editor-stage:fullscreen #plan,#editor-stage:fullscreen #three-space{height:100%;min-height:260px}.editor-expanded .stage-actions{margin-top:0}.walk-navigation{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-top:12px}.walk-navigation>label{display:grid;gap:6px;font-size:12px}.walk-navigation select{min-height:44px;min-width:120px}.walk-pad{position:static!important;display:flex;gap:8px;flex-shrink:0}.walk-pad button{width:44px!important;min-width:44px;min-height:44px!important}#walk-status{max-width:none!important;margin:10px 0}.walk-actions button{min-height:44px}.walk-actions{gap:8px}.walk-actions label{margin:0}#walk-panel{padding:12px!important}.viewer #account-access{display:none}.viewer #layout-lock-status{color:#53655b}
@media(max-width:720px){.stage-actions{align-items:start}.stage-actions>div{display:grid;gap:6px;flex:1}.stage-actions span{max-width:230px}.stage-actions button{font-size:12px}.walk-navigation{flex-direction:column;align-items:stretch;gap:14px}.walk-navigation>label{grid-template-columns:1fr 130px;align-items:center}.walk-pad{justify-content:center}.walk-actions{display:grid;grid-template-columns:1fr 1fr}.editor-expanded #editor-stage{padding:8px}.header-actions{gap:6px}header .header-actions button{min-height:44px}.header-actions #editor-actions{flex-wrap:wrap;justify-content:inherit}#editor-stage .view-switch{flex-wrap:wrap}}
@media print{#welcome,.stage-actions,#owner-setup-dialog,#account-access{display:none!important}.editor-expanded #editor-stage,#editor-stage:fullscreen{position:static;inset:auto;padding:0;display:block;overflow:visible}.editor-expanded #plan{height:135mm;min-height:0}}
body:has(#welcome:not([hidden])){background:#122528;min-height:100vh}
/* Readable typography and official logo caption */
.brand{display:block;text-align:center}.brand small{font-size:13px;letter-spacing:1.3px;text-transform:none;text-align:center;margin-top:7px;font-weight:400}.brand img{margin:auto}button{font-size:14px;min-height:44px}label,input,select,textarea{font-size:15px}.muted,.section-head+p,.canvas-caption,#canvas-hint,.stage-actions span,.stat span,.legend,#status,#route-status,#selection-note,#table-size-note,.preset span,#catalog button span,.layout-row small{font-size:14px;line-height:1.5}.header-actions>span{font-size:13px}h2{font-size:20px}.view-switch button,.stage-actions button{font-size:14px}.walk-navigation>label{font-size:14px}.owner-steps{padding-left:24px;line-height:1.65}.owner-steps li{margin:12px 0}#owner-account{overflow-wrap:anywhere}dialog{max-height:90vh;overflow:auto}.event-name-label{font-size:14px}.header-actions{flex-wrap:wrap}header{height:auto;min-height:86px;padding-top:16px;padding-bottom:16px}.header-actions #editor-actions{flex-wrap:wrap}#editor-stage .view-switch{flex-wrap:wrap}.toolbar{flex-wrap:wrap}.walk-actions button{font-size:14px}#walk-status{font-size:14px}.walk-pad button{font-size:18px}#view-note{font-size:14px}
@media(max-width:720px){.brand small{font-size:12px;letter-spacing:1px}header .header-actions{width:100%;justify-content:flex-start}.header-actions #editor-actions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#mode-label{grid-column:1/-1}.stage-actions{flex-wrap:wrap}.stage-actions>div{min-width:180px}.stage-actions span{max-width:none}.stage-actions button{font-size:14px}.walk-navigation>label{grid-template-columns:minmax(0,1fr) minmax(90px,130px)}.canvas-caption{flex-wrap:wrap;gap:4px}.canvas-caption span{font-size:12px}.header-actions button{font-size:14px}}
@media print{.brand small{font-size:10px}.canvas-caption span{font-size:11px}}
@media screen{.canvas-caption span,#canvas-hint{font-size:14px;line-height:1.5}}
@media screen{.mode-3d #canvas-hint,.mode-3d .canvas-caption{font-size:14px}body.viewer #canvas-hint::after{font-size:14px}.canvas-wrap{display:flex;flex-direction:column}.visual-wrap{position:relative;flex:1;min-height:0}#walk-panel{bottom:12px}.canvas-caption>span:first-child{max-width:100%;flex:1 1 210px}.canvas-caption>span:last-child{max-width:100%;flex:0 1 150px}}
.button-row{flex-wrap:wrap}.button-row>button{flex:1 1 110px;min-width:0;white-space:normal;overflow-wrap:anywhere}.layout-row strong,#mode-label{overflow-wrap:anywhere}.fields input,.fields select{min-width:0}
.stats{flex-wrap:wrap;white-space:normal}.legend{flex-wrap:wrap}.section-head{flex-wrap:wrap}.section-head>div{display:flex;flex-wrap:wrap;gap:6px;max-width:100%}.section-head>h2{min-width:0}.issue{flex-wrap:wrap}.issue>span{flex:1 1 180px}.issue button{white-space:normal}.edit-controls,.zoom-controls{flex-wrap:wrap}#status{overflow-wrap:anywhere}

.owner-actions{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0 12px}#owner-activation-form .check{font-size:14px;line-height:1.5;white-space:normal;align-items:center;gap:8px;min-height:44px;margin:8px 0}#owner-activation-form .check input{flex-shrink:0}

/* Public introduction; editor styles remain independent. */
.welcome{display:block;max-width:1440px;margin:0 auto;padding:32px 32px 48px;color:#f5f6f0}
.welcome-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);border-radius:20px;overflow:hidden;background:#f5f6f0}
.welcome-copy{min-width:0;padding:54px 48px;display:flex;flex-direction:column;justify-content:center;color:#122528}
.welcome h1{font-size:clamp(44px,4.5vw,66px);font-weight:600;line-height:1.08;letter-spacing:-1.4px;margin:0 0 24px}
.welcome-intro{font-size:18px;font-weight:400;line-height:1.65;margin:0;max-width:470px;color:#405859}
.welcome-buttons{display:flex;flex-wrap:wrap;gap:12px;margin:30px 0 12px}
.welcome-buttons button{min-height:48px;padding:12px 18px;font-size:16px;font-weight:500;background:#fff;border-color:#bccbc4;color:#122528}
.welcome-buttons .primary{background:#8bffda;border-color:#8bffda}.welcome-buttons button:hover{background:#e2eee5}.welcome-buttons .primary:hover{background:#72ebc4}
.welcome-account{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:0 0 18px;font-size:14px;font-weight:400;color:#536868}
.welcome-account .text-button{display:inline-flex;align-items:center;min-height:44px;padding:8px 0;color:#234e45;font-size:14px;font-weight:500;text-underline-offset:3px}
.welcome-note{font-size:14px;font-weight:400;line-height:1.6;max-width:410px;margin:0;color:#637475}
.welcome-visual{min-width:0;margin:0;display:flex;flex-direction:column;background:#c4ced1}
.welcome-photo{display:block;flex:1;min-height:0;aspect-ratio:8/5}
.welcome-photo img{display:block;width:100%;height:100%;object-fit:contain}
.welcome-visual figcaption{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:16px 24px;background:#e9eee7;color:#122528}
.welcome-visual figcaption strong{display:block;font-size:16px;font-weight:500;line-height:1.5}.welcome-visual figcaption span{display:block;font-size:14px;font-weight:400;color:#536868}
.welcome-visual figcaption a{display:inline-flex;align-items:center;min-height:44px;color:#234e45;font-size:14px;font-weight:500;text-underline-offset:3px}
.welcome-visual a:focus-visible{outline:3px solid #2e7964;outline-offset:-4px}
.welcome-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;padding:32px 16px 0}.welcome-features article{min-width:0}.welcome-features h2{font-size:20px;font-weight:500;margin:0 0 10px;color:#8bffda}.welcome-features p{font-size:15px;font-weight:400;line-height:1.65;margin:0;max-width:350px;color:#c0d0cb}
body:has(#welcome:not([hidden])) header{max-width:1440px;margin:0 auto;background:transparent}
@media(max-width:1100px){.welcome-copy{padding:40px 32px}.welcome h1{font-size:48px}.welcome-buttons{gap:10px}.welcome-buttons button{padding:12px 14px;font-size:15px}.welcome-features{gap:24px;padding-left:0;padding-right:0}}
@media(max-width:850px){.welcome{padding:20px 24px 40px}.welcome-hero{grid-template-columns:minmax(0,1fr)}.welcome-visual{grid-row:1}.welcome-copy{padding:36px}.welcome-photo{flex:auto}.welcome-visual figcaption{padding:12px 20px}.welcome-features{gap:24px}.welcome-features h2{font-size:18px}}
@media(max-width:600px){body:has(#welcome:not([hidden])) header{flex-direction:row;align-items:center;gap:16px;padding:18px 20px}body:has(#welcome:not([hidden])) header .header-actions{width:auto}.welcome{padding:12px 16px 32px}.welcome-hero{border-radius:14px}.welcome-copy{padding:28px 24px}.welcome h1{font-size:44px;letter-spacing:-1px;margin-bottom:20px}.welcome-intro{font-size:16px;line-height:1.6}.welcome-buttons{display:grid;grid-template-columns:minmax(0,1fr);margin-top:24px}.welcome-buttons button{width:100%;font-size:16px}.welcome-account{margin-bottom:14px}.welcome-note{font-size:14px}.welcome-visual figcaption{gap:4px 12px;padding:10px 16px}.welcome-visual figcaption strong{font-size:15px}.welcome-visual figcaption span,.welcome-visual figcaption a{font-size:14px}.welcome-features{grid-template-columns:minmax(0,1fr);gap:22px;padding:28px 8px 0}.welcome-features h2{font-size:18px;margin-bottom:6px}.welcome-features p{font-size:15px;max-width:none}}
@media print{.welcome{display:none!important}}

.save-message:empty{display:none}.save-message{font-size:14px;line-height:1.4;max-width:38ch}
#save[data-result="success"],#save-new[data-result="success"]{background:#c2f4ce;border-color:#6eb283;color:#153e27}
#save[data-result="error"],#save-new[data-result="error"]{background:#ffe4cf;color:#5c2b14}
@media(prefers-reduced-motion:reduce){#save,#save-new{transition:none}}
#editor-actions .save-message:not(:empty){display:block;grid-column:1/-1;font-size:14px;color:#fff;overflow-wrap:anywhere}

/* Tactile feedback stays within each control, without shifting nearby content. */
@media (hover:hover) and (pointer:fine){
 button:enabled:hover{filter:brightness(.97);box-shadow:0 1px 4px #12252818}
}
button:enabled:active,button:enabled.is-pressing{transform:translateY(1px) scale(.98);filter:brightness(.94);box-shadow:inset 0 1px 2px #12252826}
@media (prefers-reduced-motion:reduce){
 button{transition:none!important}
 button:enabled:active,button:enabled.is-pressing{transform:none}
}
