/* Ductify UI — quiet surfaces, consistent type and 48 px touch controls. */
:root{--bg:light-dark(#f3f5f7,#10161c);--panel:light-dark(#fff,#19222c);--card:light-dark(#fff,#141d26);--chip:light-dark(#edf1f5,#25313d);--line:light-dark(#dde3e9,#334150);--ink:light-dark(#202e3b,#edf2f7);--mute:light-dark(#5c6b79,#acbac8);--acc:light-dark(#ed8a30,#f5a04c);--sel:light-dark(#215eb5,#90baff);--radius:12px;--gutter:clamp(16px,2.5vw,32px)}
body{font-family:"Atkinson Hyperlegible Next",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.55;letter-spacing:0}
h1,h2,h3,.brand b,.irow b,.srow .id{font-family:inherit}
h1,h2,h3{letter-spacing:-.02em;line-height:1.3}h2{font-size:24px}h3{font-size:18px}
button,.btn{min-height:48px;gap:8px;border-radius:8px;font-size:15px;line-height:1.3;padding:10px 14px}
select,input,textarea{min-height:48px;line-height:1.4;border-radius:8px;font-size:16px}
label{font-size:14px;line-height:1.45;font-weight:500}label>input,label>select{margin-top:6px}
button.on{background:light-dark(#eaf0f8,#293d54);color:var(--sel);border-color:light-dark(#aec5e2,#557ca5)}
button:disabled{opacity:.45}.primary{background:var(--acc);color:#202a33;border-color:var(--acc)}
.top{padding:12px var(--gutter);gap:12px 20px;background:var(--panel);box-shadow:0 1px 0 rgba(20,40,60,.02)}
.brand b{font-size:21px;letter-spacing:-.04em}.brand .tag{display:none}.ttl{max-width:260px;overflow:hidden;text-overflow:ellipsis}
.steps{background:transparent;padding:0;gap:4px}.steps button{min-height:48px;padding:8px 12px;font-size:14px}
.steps button.on{background:var(--chip);box-shadow:none;color:var(--ink)}.steps i{background:var(--chip);color:var(--mute)}
.savest{font-size:13px}.menu{margin-top:0}.menu summary{width:48px;height:48px;background:var(--panel)}
main{padding:24px var(--gutter) 48px;max-width:1680px}.lead{align-items:center;gap:8px;margin-bottom:20px}.lead p{flex-basis:100%;max-width:78ch;font-size:15px;line-height:1.55}.crumb{margin-bottom:12px;font-size:13px}
.work{gap:20px;grid-template-columns:minmax(0,1fr) 340px}.workarea{min-width:0}
.side{border-radius:var(--radius);padding:20px;background:var(--panel);border:1px solid var(--line)}
.side>h2+p{font-size:15px;line-height:1.55}.grid2{gap:16px 12px}.row{gap:8px;margin-top:16px}
.tools,.viewbar{gap:8px;margin:0 0 12px;padding:10px;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius)}
.tools{align-items:center}.tools .sep{margin:0 2px;height:28px}.tools .lg{display:none}
.tools button,.viewbar button{background:transparent;border-color:transparent}.tools button.on,.viewbar button.on{background:var(--chip);color:var(--sel)}
.tools .primary{background:var(--acc);color:#202a33}.tools .btn{background:var(--chip);border:0}.tools .chk{font-size:14px}
.viewbar select{font-size:14px;min-width:0;flex:1 1 180px;max-width:270px}.seg2{border:0;background:var(--chip);padding:3px;border-radius:8px}.seg2 button{border-radius:8px;padding:8px 12px}.seg2 button.on{background:var(--panel);box-shadow:0 1px 3px #0001}
.zoom{gap:4px}.zoom button{min-width:48px}.zoom span,.padzoom span{font-variant-numeric:tabular-nums;font-size:14px;min-width:50px}
.paper,.pad{border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 3px 16px -12px #14283855}
#paper2{background:#fff}.note{line-height:1.5}.sample{font-size:13px}
.selp{border:0;background:var(--chip);padding:16px;border-radius:8px}.selp h3{font-size:18px}.selp h3 small{display:block;margin-top:4px;font-size:14px;font-weight:400;letter-spacing:0}
.srow{gap:10px;padding:12px;border-radius:8px}.srow .x{min-width:48px;min-height:48px}.srow .wide{gap:10px}.list{gap:8px}.irow{padding:12px;min-height:56px}.irow span:not(.dot){font-size:14px}.irow em{font-size:13px}
.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.panel-heading b{font-size:15px}.panel-heading button{min-width:48px;padding:0;border:0;background:var(--chip)}
.panel-section{border-top:1px solid var(--line);margin:20px 0 0;padding-top:4px}.panel-section summary{min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;font-size:15px;font-weight:600}.panel-section summary::-webkit-details-marker{display:none}.panel-section summary::after{content:'⌄';font-size:18px;color:var(--mute)}.panel-section[open] summary::after{transform:rotate(180deg)}.panel-section-body{padding:8px 0 4px}
.workbench{position:relative}.workspace-bar{grid-column:1/-1;display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:-8px}.workspace-title{font-weight:600;font-size:14px;color:var(--mute)}.workspace-switches{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.workspace-switches button{font-size:14px;background:transparent;border-color:transparent}.workspace-switches button:hover,.workspace-switches button[aria-expanded=true]{background:var(--chip)}
.workbench.panel-hidden{grid-template-columns:minmax(0,1fr)}.workbench.tools-hidden .workarea>.tools,.workbench.tools-hidden .workarea>.viewbar{display:none}
body.workspace-focused{overflow:hidden}.workbench.focus-mode{position:fixed;inset:0;z-index:60;background:var(--bg);padding:max(12px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));grid-template-rows:auto minmax(0,1fr);gap:12px 20px}
.focus-mode .workarea{display:flex;flex-direction:column;min-height:0}.focus-mode .workarea>.paper,.focus-mode .workarea>.pad{flex:1;min-height:0;height:0!important;max-height:none}.focus-mode .workarea>.sample{display:none}.focus-mode>.side{max-height:100%;overflow:auto}.focus-mode .workspace-bar{margin:0}.focus-mode .note:empty{display:none}
.focus-mode .pad canvas{height:100%!important}.focus-mode .padzoom{bottom:12px;right:12px}
.workbench #selPanel.has{position:static;max-height:none;box-shadow:none;border-radius:8px;padding:16px}.workbench #selPanel .selx{display:none}
.ph button{width:44px;min-height:44px;height:44px}.ph input{min-height:44px;font-size:14px}.ptabs button{min-height:48px}
.home{grid-template-columns:280px minmax(0,1fr);gap:24px}.quick{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:24px;gap:20px;margin-bottom:28px}.quick button{min-height:52px;font-size:16px}.quick p{font-size:15px}.card{padding:18px;gap:14px;border-radius:12px}.card .meta{font-size:14px}.thumb{border-radius:8px}.crow{border-color:transparent;background:transparent}.crow.on{background:var(--chip);border-color:transparent;box-shadow:none}.crow b{font-size:15px}.phead{margin-bottom:20px}.empty{padding:32px;border-radius:12px}
.auth{max-width:440px;padding:32px;box-shadow:0 12px 40px -24px #14283844;border-radius:16px}.auth h2{font-size:28px;margin-bottom:12px}.auth label{margin-top:16px}.auth .msg{line-height:1.5}.auth p{font-size:15px}

#toast{box-shadow:0 4px 20px #0002;line-height:1.45;z-index:100}dialog.sheet{z-index:90;padding:24px;border-radius:16px}.tiles{gap:10px}.tiles button{padding:14px;min-height:76px;border-radius:8px}.tiles b{font-family:inherit;font-size:18px}.shead{margin-bottom:16px}
@media(max-width:1100px){
 .top{gap:8px 12px}.top .brand{flex:1}.top .steps{order:3;width:100%;justify-content:center}.top .steps button{flex:1}.top .savest{min-width:0}
 .workbench{grid-template-columns:minmax(0,1fr)}.workbench>.side{position:fixed;z-index:50;right:16px;bottom:16px;width:min(380px,calc(100vw - 32px));max-height:65vh;max-height:65dvh;overflow:auto;box-shadow:0 12px 50px -10px #14283855;border:1px solid var(--line)}
 .focus-mode>.side{z-index:65;bottom:max(16px,env(safe-area-inset-bottom))}.panel-heading{position:sticky;top:-20px;margin:-20px -20px 16px;padding:12px 16px;background:var(--panel);z-index:2;border-bottom:1px solid var(--line)}
 .workbench #selPanel:not(.has){display:none}.workspace-title{display:none}.workspace-bar{justify-content:flex-end}.workspace-switches{justify-content:flex-end}
 #paper2{height:clamp(300px,60svh,780px)}
}
@media(max-width:760px){
 main{padding:16px 12px calc(var(--nav) + 24px + env(safe-area-inset-bottom))}.top{padding:8px 12px}.top .steps{background:var(--panel);padding:4px 4px calc(4px + env(safe-area-inset-bottom));width:auto}.steps button{font-size:12px;padding:4px 2px;min-height:52px}.top .steps button{gap:2px}.steps i{width:20px;height:20px;font-size:12px}
 .brand svg{width:28px;height:28px}.ttl{font-size:13px;max-width:160px}.savest{display:none}
 .workspace-switches{gap:2px;width:100%;justify-content:space-between}.workspace-switches button{font-size:13px;padding:8px;gap:5px;min-height:48px}.workspace-bar{margin-bottom:-8px}
 .tools{margin:0 0 10px;padding:6px;overflow-x:auto;flex-wrap:nowrap}.viewbar{padding:6px;gap:8px}.tools button,.tools .btn{font-size:14px;padding:8px 10px}.tools .sep{display:none}.viewbar select{max-width:none}.zoom{margin-left:auto}.zoom button{padding:8px}.seg2 button{padding:8px 10px;font-size:14px}
 #paper2{height:clamp(260px,calc(100svh - 355px),640px)}.grid2{grid-template-columns:1fr}.home{grid-template-columns:1fr}.quick{padding:20px}.quick p{font-size:14px}.auth{padding:24px;margin-top:24px}
 .workbench>.side{left:8px;right:8px;width:auto;bottom:calc(var(--nav) + 8px + env(safe-area-inset-bottom));max-height:52vh;max-height:52dvh;border-radius:16px}.focus-mode>.side{bottom:max(8px,env(safe-area-inset-bottom))}
 .workbench.focus-mode{padding:8px;gap:10px}.focus-mode .workarea>.paper{min-height:0}.workbench .selp{padding:12px}.panel-heading{top:-20px}.workspace-title{display:none}.workbench .selp h3{font-size:18px}
}
@media(prefers-reduced-motion:no-preference){button,.btn{transition:background .12s,border-color .12s}}

/* Lucide SVG subset; source and license: icons/lucide/LICENSE. */
:is([data-pt="pen"],[data-pt="eraser"],[data-pt="pan"],[data-tool="pan"],[data-tool="select"],[data-ptool="select"],#pUndo,#eUndo,#pRedo,#pClear,#bRmImg,#bRotImg,[data-act="delitem"],[data-act="delseg"],[data-del],[data-delph],[data-delfb],#bDelProto,#bDelClient,#bAdd,#bAddSeg,#bAddClient,#bNewProj,#bNewProj2,#bQuick,[data-newp],#zFit,#padFit,#zOut,#padZOut,#pzOut,#bPDF,#bSVG,#bProtoPDF,#bSave,.btn:has(#fImg),[data-cam],[data-ptool="photo"],[data-gal],.btn:has(#fImport),.btn:has(#fLogo),[data-ui="tools"],[data-ui="panel"][aria-expanded="true"],[data-ui="panel"][aria-expanded="false"],[data-ui="focus"][aria-pressed="false"],[data-ui="focus"][aria-pressed="true"],[data-ui="close"],button[data-close],.selx,[data-open],#zIn,#padZIn,#pzIn)::before{content:"";display:inline-block;width:20px;height:20px;flex:0 0 20px;background:currentColor;-webkit-mask:var(--ui-icon) center/contain no-repeat;mask:var(--ui-icon) center/contain no-repeat}
:is([data-pt="pen"]){--ui-icon:url("data:image/svg+xml,%3Csvg%0A%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20width%3D%2224%22%0A%20%20height%3D%2224%22%0A%20%20viewBox%3D%220%200%2024%2024%22%0A%20%20fill%3D%22none%22%0A%20%20stroke%3D%22currentColor%22%0A%20%20stroke-width%3D%222%22%0A%20%20stroke-linecap%3D%22round%22%0A%20%20stroke-linejoin%3D%22round%22%0A%3E%0A%20%20%3Cpath%20d%3D%22M21.174%206.812a1%201%200%200%200-3.986-3.987L3.842%2016.174a2%202%200%200%200-.5.83l-1.321%204.352a.5.5%200%200%200%20.623.622l4.353-1.32a2%202%200%200%200%20.83-.497z%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22m15%205%204%204%22%20%2F%3E%0A%3C%2Fsvg%3E%0A")}
:is([data-pt="eraser"]){--ui-icon:url("data:image/svg+xml,%3Csvg%0A%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20width%3D%2224%22%0A%20%20height%3D%2224%22%0A%20%20viewBox%3D%220%200%2024%2024%22%0A%20%20fill%3D%22none%22%0A%20%20stroke%3D%22currentColor%22%0A%20%20stroke-width%3D%222%22%0A%20%20stroke-linecap%3D%22round%22%0A%20%20stroke-linejoin%3D%22round%22%0A%3E%0A%20%20%3Cpath%20d%3D%22M21%2021H8a2%202%200%200%201-1.42-.587l-3.994-3.999a2%202%200%200%201%200-2.828l10-10a2%202%200%200%201%202.829%200l5.999%206a2%202%200%200%201%200%202.828L12.834%2021%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22m5.082%2011.09%208.828%208.828%22%20%2F%3E%0A%3C%2Fsvg%3E%0A")}
:is([data-pt="pan"],[data-tool="pan"]){--ui-icon:url("data:image/svg+xml,%3Csvg%0A%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20width%3D%2224%22%0A%20%20height%3D%2224%22%0A%20%20viewBox%3D%220%200%2024%2024%22%0A%20%20fill%3D%22none%22%0A%20%20stroke%3D%22currentColor%22%0A%20%20stroke-width%3D%222%22%0A%20%20stroke-linecap%3D%22round%22%0A%20%20stroke-linejoin%3D%22round%22%0A%3E%0A%20%20%3Cpath%20d%3D%22M18%2011V6a2%202%200%200%200-2-2a2%202%200%200%200-2%202%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22M14%2010V4a2%202%200%200%200-2-2a2%202%200%200%200-2%202v2%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22M10%2010.5V6a2%202%200%200%200-2-2a2%202%200%200%200-2%202v8%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22M18%208a2%202%200%201%201%204%200v6a8%208%200%200%201-8%208h-2c-2.8%200-4.5-.86-5.99-2.34l-3.6-3.6a2%202%200%200%201%202.83-2.82L7%2015%22%20%2F%3E%0A%3C%2Fsvg%3E%0A")}
:is([data-tool="select"],[data-ptool="select"]){--ui-icon:url("data:image/svg+xml,%3Csvg%0A%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20width%3D%2224%22%0A%20%20height%3D%2224%22%0A%20%20viewBox%3D%220%200%2024%2024%22%0A%20%20fill%3D%22none%22%0A%20%20stroke%3D%22currentColor%22%0A%20%20stroke-width%3D%222%22%0A%20%20stroke-linecap%3D%22round%22%0A%20%20stroke-linejoin%3D%22round%22%0A%3E%0A%20%20%3Cpath%20d%3D%22M4.037%204.688a.495.495%200%200%201%20.651-.651l16%206.5a.5.5%200%200%201-.063.947l-6.124%201.58a2%202%200%200%200-1.438%201.435l-1.579%206.126a.5.5%200%200%201-.947.063z%22%20%2F%3E%0A%3C%2Fsvg%3E%0A")}
:is(#pUndo,#eUndo){--ui-icon:url("data:image/svg+xml,%3Csvg%0A%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20width%3D%2224%22%0A%20%20height%3D%2224%22%0A%20%20viewBox%3D%220%200%2024%2024%22%0A%20%20fill%3D%22none%22%0A%20%20stroke%3D%22currentColor%22%0A%20%20stroke-width%3D%222%22%0A%20%20stroke-linecap%3D%22round%22%0A%20%20stroke-linejoin%3D%22round%22%0A%3E%0A%20%20%3Cpath%20d%3D%22M9%2014%204%209l5-5%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22M4%209h10.5a5.5%205.5%200%200%201%205.5%205.5a5.5%205.5%200%200%201-5.5%205.5H11%22%20%2F%3E%0A%3C%2Fsvg%3E%0A")}
:is(#pRedo){--ui-icon:url("data:image/svg+xml,%3Csvg%0A%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20width%3D%2224%22%0A%20%20height%3D%2224%22%0A%20%20viewBox%3D%220%200%2024%2024%22%0A%20%20fill%3D%22none%22%0A%20%20stroke%3D%22currentColor%22%0A%20%20stroke-width%3D%222%22%0A%20%20stroke-linecap%3D%22round%22%0A%20%20stroke-linejoin%3D%22round%22%0A%3E%0A%20%20%3Cpath%20d%3D%22m15%2014%205-5-5-5%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22M20%209H9.5A5.5%205.5%200%200%200%204%2014.5A5.5%205.5%200%200%200%209.5%2020H13%22%20%2F%3E%0A%3C%2Fsvg%3E%0A")}
#bRotImg{--ui-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M21%2012a9%209%200%201%201-9-9c2.52%200%204.93%201%206.74%202.74L21%208%22%2F%3E%3Cpath%20d%3D%22M21%203v5h-5%22%2F%3E%3C%2Fsvg%3E")}
:is(#pClear,#bRmImg,[data-act="delitem"],[data-act="delseg"],[data-del],[data-delph],[data-delfb],#bDelProto,#bDelClient){--ui-icon:url("data:image/svg+xml,%3Csvg%0A%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20width%3D%2224%22%0A%20%20height%3D%2224%22%0A%20%20viewBox%3D%220%200%2024%2024%22%0A%20%20fill%3D%22none%22%0A%20%20stroke%3D%22currentColor%22%0A%20%20stroke-width%3D%222%22%0A%20%20stroke-linecap%3D%22round%22%0A%20%20stroke-linejoin%3D%22round%22%0A%3E%0A%20%20%3Cpath%20d%3D%22M10%2011v6%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22M14%2011v6%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22M19%206v14a2%202%200%200%201-2%202H7a2%202%200%200%201-2-2V6%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22M3%206h18%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22M8%206V4a2%202%200%200%201%202-2h4a2%202%200%200%201%202%202v2%22%20%2F%3E%0A%3C%2Fsvg%3E%0A")}
:is(#bAdd,#bAddSeg,#bAddClient,#bNewProj,#bNewProj2,#bQuick,[data-newp]){--ui-icon:url("data:image/svg+xml,%3Csvg%0A%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20width%3D%2224%22%0A%20%20height%3D%2224%22%0A%20%20viewBox%3D%220%200%2024%2024%22%0A%20%20fill%3D%22none%22%0A%20%20stroke%3D%22currentColor%22%0A%20%20stroke-width%3D%222%22%0A%20%20stroke-linecap%3D%22round%22%0A%20%20stroke-linejoin%3D%22round%22%0A%3E%0A%20%20%3Cpath%20d%3D%22M5%2012h14%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22M12%205v14%22%20%2F%3E%0A%3C%2Fsvg%3E%0A")}
:is(#zFit,#padFit){--ui-icon:url("data:image/svg+xml,%3Csvg%0A%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20width%3D%2224%22%0A%20%20height%3D%2224%22%0A%20%20viewBox%3D%220%200%2024%2024%22%0A%20%20fill%3D%22none%22%0A%20%20stroke%3D%22currentColor%22%0A%20%20stroke-width%3D%222%22%0A%20%20stroke-linecap%3D%22round%22%0A%20%20stroke-linejoin%3D%22round%22%0A%3E%0A%20%20%3Cpath%20d%3D%22M3%207V5a2%202%200%200%201%202-2h2%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22M17%203h2a2%202%200%200%201%202%202v2%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22M21%2017v2a2%202%200%200%201-2%202h-2%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22M7%2021H5a2%202%200%200%201-2-2v-2%22%20%2F%3E%0A%3C%2Fsvg%3E%0A")}
:is(#zOut,#padZOut,#pzOut){--ui-icon:url("data:image/svg+xml,%3Csvg%0A%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20width%3D%2224%22%0A%20%20height%3D%2224%22%0A%20%20viewBox%3D%220%200%2024%2024%22%0A%20%20fill%3D%22none%22%0A%20%20stroke%3D%22currentColor%22%0A%20%20stroke-width%3D%222%22%0A%20%20stroke-linecap%3D%22round%22%0A%20%20stroke-linejoin%3D%22round%22%0A%3E%0A%20%20%3Cpath%20d%3D%22M5%2012h14%22%20%2F%3E%0A%3C%2Fsvg%3E%0A")}
:is(#bPDF,#bSVG,#bProtoPDF,#bSave){--ui-icon:url("data:image/svg+xml,%3Csvg%0A%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20width%3D%2224%22%0A%20%20height%3D%2224%22%0A%20%20viewBox%3D%220%200%2024%2024%22%0A%20%20fill%3D%22none%22%0A%20%20stroke%3D%22currentColor%22%0A%20%20stroke-width%3D%222%22%0A%20%20stroke-linecap%3D%22round%22%0A%20%20stroke-linejoin%3D%22round%22%0A%3E%0A%20%20%3Cpath%20d%3D%22M12%2015V3%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22M21%2015v4a2%202%200%200%201-2%202H5a2%202%200%200%201-2-2v-4%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22m7%2010%205%205%205-5%22%20%2F%3E%0A%3C%2Fsvg%3E%0A")}
:is(.btn:has(#fImg)){--ui-icon:url("data:image/svg+xml,%3Csvg%0A%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20width%3D%2224%22%0A%20%20height%3D%2224%22%0A%20%20viewBox%3D%220%200%2024%2024%22%0A%20%20fill%3D%22none%22%0A%20%20stroke%3D%22currentColor%22%0A%20%20stroke-width%3D%222%22%0A%20%20stroke-linecap%3D%22round%22%0A%20%20stroke-linejoin%3D%22round%22%0A%3E%0A%20%20%3Crect%20width%3D%2218%22%20height%3D%2218%22%20x%3D%223%22%20y%3D%223%22%20rx%3D%222%22%20ry%3D%222%22%20%2F%3E%0A%20%20%3Ccircle%20cx%3D%229%22%20cy%3D%229%22%20r%3D%222%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22m21%2015-3.086-3.086a2%202%200%200%200-2.828%200L6%2021%22%20%2F%3E%0A%3C%2Fsvg%3E%0A")}
:is([data-cam],[data-ptool="photo"]){--ui-icon:url("data:image/svg+xml,%3Csvg%0A%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20width%3D%2224%22%0A%20%20height%3D%2224%22%0A%20%20viewBox%3D%220%200%2024%2024%22%0A%20%20fill%3D%22none%22%0A%20%20stroke%3D%22currentColor%22%0A%20%20stroke-width%3D%222%22%0A%20%20stroke-linecap%3D%22round%22%0A%20%20stroke-linejoin%3D%22round%22%0A%3E%0A%20%20%3Cpath%20d%3D%22M13.997%204a2%202%200%200%201%201.76%201.05l.486.9A2%202%200%200%200%2018.003%207H20a2%202%200%200%201%202%202v9a2%202%200%200%201-2%202H4a2%202%200%200%201-2-2V9a2%202%200%200%201%202-2h1.997a2%202%200%200%200%201.759-1.048l.489-.904A2%202%200%200%201%2010.004%204z%22%20%2F%3E%0A%20%20%3Ccircle%20cx%3D%2212%22%20cy%3D%2213%22%20r%3D%223%22%20%2F%3E%0A%3C%2Fsvg%3E%0A")}
:is([data-gal],.btn:has(#fImport),.btn:has(#fLogo)){--ui-icon:url("data:image/svg+xml,%3Csvg%0A%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20width%3D%2224%22%0A%20%20height%3D%2224%22%0A%20%20viewBox%3D%220%200%2024%2024%22%0A%20%20fill%3D%22none%22%0A%20%20stroke%3D%22currentColor%22%0A%20%20stroke-width%3D%222%22%0A%20%20stroke-linecap%3D%22round%22%0A%20%20stroke-linejoin%3D%22round%22%0A%3E%0A%20%20%3Cpath%20d%3D%22M12%203v12%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22m17%208-5-5-5%205%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22M21%2015v4a2%202%200%200%201-2%202H5a2%202%200%200%201-2-2v-4%22%20%2F%3E%0A%3C%2Fsvg%3E%0A")}
:is([data-ui="tools"]){--ui-icon:url("data:image/svg+xml,%3Csvg%0A%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20width%3D%2224%22%0A%20%20height%3D%2224%22%0A%20%20viewBox%3D%220%200%2024%2024%22%0A%20%20fill%3D%22none%22%0A%20%20stroke%3D%22currentColor%22%0A%20%20stroke-width%3D%222%22%0A%20%20stroke-linecap%3D%22round%22%0A%20%20stroke-linejoin%3D%22round%22%0A%3E%0A%20%20%3Cpath%20d%3D%22M14%2017H5%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22M19%207h-9%22%20%2F%3E%0A%20%20%3Ccircle%20cx%3D%2217%22%20cy%3D%2217%22%20r%3D%223%22%20%2F%3E%0A%20%20%3Ccircle%20cx%3D%227%22%20cy%3D%227%22%20r%3D%223%22%20%2F%3E%0A%3C%2Fsvg%3E%0A")}
:is([data-ui="panel"][aria-expanded="true"]){--ui-icon:url("data:image/svg+xml,%3Csvg%0A%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20width%3D%2224%22%0A%20%20height%3D%2224%22%0A%20%20viewBox%3D%220%200%2024%2024%22%0A%20%20fill%3D%22none%22%0A%20%20stroke%3D%22currentColor%22%0A%20%20stroke-width%3D%222%22%0A%20%20stroke-linecap%3D%22round%22%0A%20%20stroke-linejoin%3D%22round%22%0A%3E%0A%20%20%3Crect%20width%3D%2218%22%20height%3D%2218%22%20x%3D%223%22%20y%3D%223%22%20rx%3D%222%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22M15%203v18%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22m8%209%203%203-3%203%22%20%2F%3E%0A%3C%2Fsvg%3E%0A")}
:is([data-ui="panel"][aria-expanded="false"]){--ui-icon:url("data:image/svg+xml,%3Csvg%0A%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20width%3D%2224%22%0A%20%20height%3D%2224%22%0A%20%20viewBox%3D%220%200%2024%2024%22%0A%20%20fill%3D%22none%22%0A%20%20stroke%3D%22currentColor%22%0A%20%20stroke-width%3D%222%22%0A%20%20stroke-linecap%3D%22round%22%0A%20%20stroke-linejoin%3D%22round%22%0A%3E%0A%20%20%3Crect%20width%3D%2218%22%20height%3D%2218%22%20x%3D%223%22%20y%3D%223%22%20rx%3D%222%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22M15%203v18%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22m10%2015-3-3%203-3%22%20%2F%3E%0A%3C%2Fsvg%3E%0A")}
:is([data-ui="focus"][aria-pressed="false"]){--ui-icon:url("data:image/svg+xml,%3Csvg%0A%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20width%3D%2224%22%0A%20%20height%3D%2224%22%0A%20%20viewBox%3D%220%200%2024%2024%22%0A%20%20fill%3D%22none%22%0A%20%20stroke%3D%22currentColor%22%0A%20%20stroke-width%3D%222%22%0A%20%20stroke-linecap%3D%22round%22%0A%20%20stroke-linejoin%3D%22round%22%0A%3E%0A%20%20%3Cpath%20d%3D%22M8%203H5a2%202%200%200%200-2%202v3%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22M21%208V5a2%202%200%200%200-2-2h-3%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22M3%2016v3a2%202%200%200%200%202%202h3%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22M16%2021h3a2%202%200%200%200%202-2v-3%22%20%2F%3E%0A%3C%2Fsvg%3E%0A")}
:is([data-ui="focus"][aria-pressed="true"]){--ui-icon:url("data:image/svg+xml,%3Csvg%0A%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20width%3D%2224%22%0A%20%20height%3D%2224%22%0A%20%20viewBox%3D%220%200%2024%2024%22%0A%20%20fill%3D%22none%22%0A%20%20stroke%3D%22currentColor%22%0A%20%20stroke-width%3D%222%22%0A%20%20stroke-linecap%3D%22round%22%0A%20%20stroke-linejoin%3D%22round%22%0A%3E%0A%20%20%3Cpath%20d%3D%22M8%203v3a2%202%200%200%201-2%202H3%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22M21%208h-3a2%202%200%200%201-2-2V3%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22M3%2016h3a2%202%200%200%201%202%202v3%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22M16%2021v-3a2%202%200%200%201%202-2h3%22%20%2F%3E%0A%3C%2Fsvg%3E%0A")}
:is([data-ui="close"],button[data-close],.selx){--ui-icon:url("data:image/svg+xml,%3Csvg%0A%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20width%3D%2224%22%0A%20%20height%3D%2224%22%0A%20%20viewBox%3D%220%200%2024%2024%22%0A%20%20fill%3D%22none%22%0A%20%20stroke%3D%22currentColor%22%0A%20%20stroke-width%3D%222%22%0A%20%20stroke-linecap%3D%22round%22%0A%20%20stroke-linejoin%3D%22round%22%0A%3E%0A%20%20%3Cpath%20d%3D%22M18%206%206%2018%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22m6%206%2012%2012%22%20%2F%3E%0A%3C%2Fsvg%3E%0A")}
:is([data-open]){--ui-icon:url("data:image/svg+xml,%3Csvg%0A%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20width%3D%2224%22%0A%20%20height%3D%2224%22%0A%20%20viewBox%3D%220%200%2024%2024%22%0A%20%20fill%3D%22none%22%0A%20%20stroke%3D%22currentColor%22%0A%20%20stroke-width%3D%222%22%0A%20%20stroke-linecap%3D%22round%22%0A%20%20stroke-linejoin%3D%22round%22%0A%3E%0A%20%20%3Cpath%20d%3D%22m6%2014%201.5-2.9A2%202%200%200%201%209.24%2010H20a2%202%200%200%201%201.94%202.5l-1.54%206a2%202%200%200%201-1.95%201.5H4a2%202%200%200%201-2-2V5a2%202%200%200%201%202-2h3.9a2%202%200%200%201%201.69.9l.81%201.2a2%202%200%200%200%201.67.9H18a2%202%200%200%201%202%202v2%22%20%2F%3E%0A%3C%2Fsvg%3E%0A")}
:is(#zIn,#padZIn,#pzIn){--ui-icon:url("data:image/svg+xml,%3Csvg%0A%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20width%3D%2224%22%0A%20%20height%3D%2224%22%0A%20%20viewBox%3D%220%200%2024%2024%22%0A%20%20fill%3D%22none%22%0A%20%20stroke%3D%22currentColor%22%0A%20%20stroke-width%3D%222%22%0A%20%20stroke-linecap%3D%22round%22%0A%20%20stroke-linejoin%3D%22round%22%0A%3E%0A%20%20%3Cpath%20d%3D%22M5%2012h14%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22M12%205v14%22%20%2F%3E%0A%3C%2Fsvg%3E%0A")}
:is(#zIn,#zOut,#padZIn,#padZOut,#pzIn,#pzOut,[data-delph],.srow [data-act="delseg"],button[data-close]){font-size:0;gap:0;min-width:48px}button[data-close]::before{margin:auto}
.focus-mode .workarea{align-self:stretch}.focus-mode>.side{align-self:stretch}
button[data-armed]{font-size:14px!important;gap:8px}
@media(min-width:761px){#st2 .lead{margin-bottom:12px}#st2 .lead p{font-size:14px}}

/* Shared application rhythm, matching the approved home design. */
:root{--space-1:4px;--space-2:8px;--space-3:16px;--space-4:24px;--space-5:32px;--control:48px;--gutter:clamp(16px,2.5vw,32px)}
body{font-family:"Atkinson Hyperlegible Next",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.5}
button,.btn{min-height:var(--control);border-radius:8px;padding:12px 16px;line-height:22px;font-weight:500}
button.primary,.btn.primary{font-weight:600}.primary:hover{filter:brightness(.98)}
input,select,textarea{border-radius:8px;padding:11px 12px;line-height:24px}textarea{resize:vertical;min-height:112px}
input[type=checkbox],input[type=radio]{min-height:0;width:22px;height:22px;flex:none;accent-color:var(--sel)}
input[type=color]{padding:4px;cursor:pointer}input[type=file]{padding:0}
label{font-size:14px;font-weight:500;line-height:20px}label>input,label>select,label>textarea{margin-top:8px}
.chk{min-height:48px;gap:8px;line-height:24px;margin:0 16px 0 0}.chk input{margin:0}
h2{font-size:24px;line-height:32px;font-weight:650}h3{font-size:18px;line-height:24px;margin:24px 0 16px;font-weight:600}
.lead{gap:8px 24px;margin-bottom:24px}.lead h2{font-size:28px;line-height:36px}.lead p{font-size:15px;line-height:24px;margin:0}
.crumb{font-size:13px;line-height:20px;margin:0 0 16px;overflow-wrap:anywhere}.crumb .link{font-size:13px}
.work{gap:16px 24px;grid-template-columns:minmax(0,1fr) 360px}.side{padding:24px;box-shadow:none}.side>h2{font-size:24px;line-height:32px}.side>p{margin:8px 0 24px;color:var(--mute);font-size:14px;line-height:24px}
.grid2{gap:16px}.row{gap:8px;margin-top:16px}.row>button{white-space:normal}.row .btn{white-space:normal;text-align:center}
.tools,.viewbar{gap:8px;margin:0 0 16px;padding:8px;border-radius:12px}.tools .sep{margin:0 4px;height:24px}.tools .chk{margin:0 8px}
.tools button,.viewbar button{padding:12px}.tools .seg2{padding:0;background:transparent}.seg2 button{min-height:48px}.seg2 button.on{box-shadow:none}
.workspace-bar{margin-bottom:0;min-height:48px}.workspace-switches{gap:8px}.workspace-switches button{font-size:14px;line-height:20px;padding:12px}.workspace-title{font-size:14px;line-height:24px}
.panel-heading{margin-bottom:24px;gap:16px}.panel-heading b{font-size:15px;line-height:24px}.panel-heading button{min-width:48px}
.panel-section{margin-top:24px;padding-top:0}.panel-section summary{min-height:56px;font-size:15px;line-height:24px}.panel-section-body{padding:8px 0 0}.panel-section summary::after{content:"";width:16px;height:16px;flex:none;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat}
.side details:not(.panel-section)>summary{min-height:48px;padding:12px 0;font-size:14px;line-height:24px}.side details:not(.panel-section){margin-top:24px;border-top:1px solid var(--line)}
.panel-section-body>.grid2+.grid2{margin-top:16px}.list{gap:8px}.srow{padding:16px;gap:8px}.srow .wide{gap:8px}.irow{padding:12px 16px;min-height:64px}.irow b{font-size:15px}.selp h3,.workbench .selp h3{margin:0 0 16px;font-size:18px;line-height:24px}.selp h3 small{margin-top:8px;line-height:20px}
.note,.status,.warn{font-size:14px;line-height:24px}.note:empty,.status:empty,.warn:empty{display:none}.warn{padding:16px 16px 16px 32px;margin:16px 0}.warn li+li{margin-top:8px}
.sample{margin:16px 0;font-size:13px;line-height:20px}.codes td{padding:8px 0;font-size:13px;line-height:20px;border-bottom:1px solid var(--line)}.codes td+td{padding-left:16px}.codes tr:last-child td{border-bottom:0}
.padzoom{right:16px;bottom:16px;padding:4px;gap:4px;box-shadow:0 2px 12px #0001}.padzoom button{min-height:48px}.hint{line-height:24px;max-width:560px;margin:auto;padding:0 24px;font-size:14px}
.ptabs{gap:8px;margin:0 0 24px}.ptabs button{min-height:48px;gap:8px;white-space:normal;text-align:left}.ptabs .newp{border-style:solid;background:transparent}.exp{gap:8px}.exp button{min-height:48px}
.empty{padding:32px;display:grid;justify-items:center;gap:16px}.empty h3,.empty p,.empty .row{margin:0}.empty p{max-width:60ch;font-size:15px;line-height:24px}.formbox{padding:24px;margin:16px 0;border-radius:12px}.formbox>label+label{margin-top:16px!important}
dialog.sheet{padding:24px;border-radius:16px;max-height:calc(100dvh - 32px);border:1px solid var(--line);box-shadow:0 24px 80px #0003}dialog::backdrop{background:#10161c80;backdrop-filter:blur(3px)}.shead{align-items:center;gap:16px;margin-bottom:24px}.shead h2{font-size:24px;line-height:32px}.shead .x{width:48px;height:48px;padding:0;flex:none}.sheet>p{line-height:24px;margin:0 0 24px}.sheet label+label{margin-top:16px}.sheet .grid2>label+label{margin-top:0}
.tiles{gap:8px}.tiles button{padding:16px 12px;min-height:88px;gap:8px;font-size:14px;white-space:normal;line-height:20px}.tiles b{font-size:18px;line-height:24px;font-weight:600;color:var(--sel)}
.auth{padding:32px;border-radius:16px}.auth h2{font-size:28px;line-height:36px;margin-bottom:16px}.auth p{font-size:15px;line-height:24px}.auth label{margin-top:24px}.auth .row{margin-top:24px}.auth .row button{flex:1}.auth .langsel{margin-top:0}.auth .auth-tabs{margin-bottom:24px}
.menupop{padding:8px;min-width:260px;border-radius:12px}.menupop button{justify-content:flex-start;min-height:48px;padding:12px 16px;border-radius:8px}.menupop>span{padding:16px;line-height:20px;overflow-wrap:anywhere}.menupop .langsel{padding:16px;border-top:1px solid var(--line);margin-top:8px}
.adm{max-width:1120px;margin:auto}.ulist{gap:16px}.urow{padding:24px;gap:16px;background:var(--panel)}.urow .meta{line-height:24px;margin-top:8px}.urow .row{margin:0}.urow .tag.ok{color:light-dark(#286b2c,#9bd39d)}
@media(min-width:1101px){.workbench>.side{max-height:max(400px,calc(100dvh - 280px));overflow:auto;align-self:start;scrollbar-gutter:stable}.workbench .panel-heading{position:sticky;top:-24px;z-index:2;background:var(--panel);margin:-24px -24px 24px;padding:16px 24px;border-bottom:1px solid var(--line)}.workbench.focus-mode>.side{max-height:100%;align-self:stretch}}
@media(min-width:761px) and (max-width:1280px){.top .brand{flex:1}.top .steps{order:3;width:100%;justify-content:center}.top .steps button{flex:1}}
@media(min-width:761px){#st2 .lead{margin-bottom:24px}#st2 .lead p{font-size:15px}}
@media(max-width:1100px){.workbench{grid-template-columns:minmax(0,1fr)}.panel-heading{top:-24px;margin:-24px -24px 24px;padding:12px 16px}.workbench>.side{max-height:65dvh;width:min(400px,calc(100vw - 32px))}.workspace-bar{justify-content:flex-end}}
@media(max-width:760px){main{padding:16px 12px calc(var(--nav) + 24px + env(safe-area-inset-bottom))}.top{gap:8px;padding:8px 12px}.top .brand{gap:8px}.ttl{max-width:120px}.top .steps button{font-size:12px}.top .steps i{margin:0}.work{gap:12px}.workspace-switches{gap:0;flex-wrap:nowrap}.workspace-switches button{font-size:12px;padding:12px 8px;gap:4px}.tools,.viewbar{margin-bottom:12px}.viewbar{flex-wrap:wrap}.tools button{padding:12px}.tools .seg2{flex-wrap:nowrap}.side{padding:24px}.workbench>.side{width:auto;max-height:55dvh}.home .side{position:static}.grid2{gap:16px}.padzoom{right:8px;bottom:8px}.hint{font-size:13px;line-height:20px;padding:0 16px}.empty,.formbox{padding:24px}.ptabs{margin-bottom:16px;flex-wrap:nowrap;overflow:auto}.ptabs button{flex:none;max-width:240px}.shead h2{font-size:24px}.sheet .grid2{grid-template-columns:1fr}.tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.auth{padding:24px}.urow{padding:24px}.steps button{min-height:56px}.brand-home{gap:4px}.theme-field{height:48px}.workbench.focus-mode{gap:8px;padding:8px}.focus-mode .workspace-switches button{font-size:12px}}

#authLang{min-height:48px;top:24px;right:24px;padding:8px 12px}#auth h2{padding-right:112px;min-height:48px}
@media(min-width:761px){.step:not(#st0)>.lead{display:grid;gap:8px}.step:not(#st0)>.lead p{max-width:78ch}}


/* Recognition is modal even in the expanded sketch workspace. */
body.ai-working { overflow: hidden; }
#aiOverlay { padding: 0; border: 0; border-radius: 16px; width: min(420px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); color: var(--ink, #17212b); background: var(--panel, #fff); box-shadow: 0 24px 80px #0005; }
#aiOverlay::backdrop { background: rgba(70, 76, 84, .65); backdrop-filter: grayscale(1); }
#aiOverlay .ai-progress { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 32px 24px; text-align: center; }
#aiOverlay h2 { margin: 0; font-size: 22px; line-height: 1.35; }
#aiOverlay p { margin: 0; line-height: 1.5; }
#aiCancel { min-height: 48px; min-width: 140px; font-size: 16px; }
#aiOverlay .ai-spinner { display: block; width: 56px; height: 56px; border: 5px solid #94a3b855; border-top-color: #c8321f; border-radius: 50%; animation: ai-rotate 1s linear infinite; }
@keyframes ai-rotate { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { #aiOverlay .ai-spinner { animation: none; } }
.menupop .themesel{border-top:0;margin-top:0;padding-top:0}#who.guest .menupop>:not(.themesel,#bNews){display:none}
.workspace-bar{flex-wrap:wrap}.workspace-switches{margin-left:auto}.workspace-bar>.status{flex-basis:100%;margin:0;text-align:right}
@media(max-width:760px){.workspace-bar>.primary{width:100%}}

/* Skeleton: šedý blok tam, kde se obsah teprve načítá (třída .skel; fotka bez adresy sama) */
.skel,.ph:has(>img[data-ref]:not([src]):not([data-miss])){position:relative;overflow:hidden;background:var(--chip)!important;border-color:transparent!important}
.skel{color:transparent!important}.skel>*{visibility:hidden}
:is(.skel,.ph:has(>img[data-ref]:not([src]):not([data-miss])))::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,transparent,light-dark(#ffffffa6,#ffffff14),transparent);transform:translateX(-100%)}
@media(prefers-reduced-motion:no-preference){:is(.skel,.ph:has(>img[data-ref]:not([src]):not([data-miss])))::after{animation:skel 1.4s ease-in-out infinite}}
@keyframes skel{to{transform:translateX(100%)}}
.skel-card{height:200px;border-radius:12px}
/* start aplikace: tvar přihlašovací karty, u přihlášeného (#boot.app) tvar Přehledu */
#boot{display:none}body.boot #boot{display:grid;gap:16px;max-width:440px;margin:6vh auto 0}
#boot>div{border-radius:12px}.boot-a{height:44px;width:60%}.boot-b{height:300px}.boot-c{height:48px}
body.boot #boot.app{max-width:1100px;margin:24px auto}#boot.app .boot-b{height:200px}#boot.app .boot-c{height:208px}
.skel-list{height:208px;border-radius:12px;background:repeating-linear-gradient(var(--chip) 0 64px,transparent 64px 72px)!important}
