:root{--bg:#f4f6fa;--panel:#fff;--panel2:#eef2f7;--text:#14253e;--muted:#526176;--line:#dce3ec;--gold:#9b7433;--gold2:#76521e;--shadow:0 12px 35px #14253e08}
body{background:var(--bg)}.shell{max-width:1120px}.topbar{background:#101d32;color:#f6f3ec}.brand{color:#f6f3ec}.brand em{color:#e9bd76}.nav__btn{color:#c3cddd}.nav__btn:hover,.nav__btn.is-active{color:#e9bd76;background:#ffffff12}.topbar__inner{height:auto;min-height:84px;flex-wrap:wrap;padding:16px 0}.nav{flex-wrap:wrap}.view{padding-top:28px}
#home{background:#101d32;border-radius:24px;padding:44px 44px 30px;color:#f6f3ec;overflow:hidden}body.consumer-mode #home .hero,#home .hero{display:grid;grid-template-columns:1.05fr 1fr;gap:28px;padding:0;align-items:center}#home .eyebrow{color:#e9bd76;font-size:12px;letter-spacing:2.5px}#home h1{font-family:Georgia,serif;font-size:clamp(46px,6vw,74px);font-weight:400;line-height:1.06;margin:14px 0 22px}#home h1 em{color:#e9bd76}#home p{color:#c3cddd;font-size:17px;line-height:1.7}#home .value-question{color:#f6f3ec;font-weight:600}#home button.primary{background:#e9bd76;color:#14253e;border:0;border-radius:14px;min-height:60px;padding:16px 24px;font:700 17px system-ui;cursor:pointer}#home .art{position:relative;border-radius:20px;overflow:hidden}#home .art img{display:block;width:100%;height:390px;object-fit:cover}#home .art-caption{position:absolute;bottom:0;left:0;right:0;padding:30px 20px 18px;background:linear-gradient(transparent,#101d32e8)}#home .steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:30px;padding-top:24px;border-top:1px solid #ffffff24}#home .step{background:transparent;border:0}#home .steps h3{font-size:22px;color:#f6f3ec}#home .num{color:#e9bd76}#home .steps p{font-size:15px}#home .notice{margin-top:24px;padding:15px;border:1px solid #ffffff25;border-radius:12px;color:#c3cddd;line-height:1.6;font-size:14px}
.modern-surface h2{font:400 38px Georgia,serif}.modern-surface h3{font-size:23px}.modern-surface p{color:var(--muted);line-height:1.7}.modern-surface .card{background:#fff;padding:26px;border:1px solid var(--line);border-radius:20px;margin:15px 0}.price-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.price-grid.passes{grid-template-columns:repeat(3,minmax(0,1fr))}.price{font-size:34px;font-weight:700}.price small{font-size:14px}.modern-surface .actions{display:flex;gap:12px;flex-wrap:wrap}.modern-surface button{border:1px solid var(--line);border-radius:12px;padding:14px 20px;background:white;color:var(--text);cursor:pointer;font:600 15px system-ui}.modern-surface button.primary{background:#14253e;color:white}.modern-surface .notice{background:#fff8e9;border:1px solid #e9d4ad;padding:18px;border-radius:14px;color:#76521e}.modern-surface details{padding:16px 0;border-bottom:1px solid var(--line)}.modern-surface summary{font-weight:600;cursor:pointer}
.upload-card,.genealogy span,.message--neutral{background:#f8fafc;color:#526176}.upload-card__placeholder{color:#526176}.message--warning{color:#76521e}.message--success{color:#226449}.message--error{color:#a33b3b}.btn--ghost{color:#526176;border-color:var(--line)}.status--idle{background:#eef2f7;color:#526176;border-color:var(--line)}.collection-photo-grid img{background:#eef2f7}.checklist li.is-done{color:#226449}.truthbar span{color:#526176}.evidence--support b{color:#226449}.evidence--conflict b{color:#a33b3b}.evidence--unknown b{color:#76521e}
@media(max-width:760px){#home{padding:28px 22px}body.consumer-mode #home .hero,#home .hero{grid-template-columns:1fr}#home .art img{height:280px}#home .steps{grid-template-columns:1fr;gap:8px}.price-grid,.price-grid.passes{grid-template-columns:1fr}.nav__btn{font-size:12px}.modern-surface h2{font-size:30px}}
/* Compact porcelain-inspired surfaces for the working guide. */
body{background:radial-gradient(ellipse at 12% 12%,#b6c9dd80,transparent 48%),radial-gradient(ellipse at 92% 65%,#dfcda650,transparent 50%),linear-gradient(135deg,#e1e8f0,#d5e0ec 55%,#e8e4dc);background-attachment:fixed}
body.consumer-mode .simple-home{max-width:780px;margin:8px auto;padding:22px 26px;background:linear-gradient(145deg,#f2f5f9f5,#e7eef6f5);border-color:#c2cfde;box-shadow:0 18px 48px #14253e12}
.simple-hero{padding:0;max-width:100%}.simple-hero h2{font-size:clamp(1.65rem,3vw,2.35rem);line-height:1.14;margin:8px 0}.simple-hero p{font-size:.94rem;line-height:1.55;margin:10px 0}.simple-hero-actions{margin-top:12px}.simple-hero-actions .btn--primary{font-size:.94rem;padding:11px 22px;min-width:120px;width:auto}
.simple-steps{margin-top:16px;gap:8px}.simple-steps>div{padding:11px;border-radius:12px;background:#ffffff60}.simple-steps b{width:25px;height:25px;margin-bottom:7px}.simple-steps span{font-size:.9rem}.simple-steps small{font-size:.8rem}.simple-result-preview{margin-top:10px;padding:10px 12px;font-size:.85rem;background:#ffffff60}
#simpleHome .simple-result-preview{margin-top:12px;padding:12px;border:1px solid #dfb76c55;border-radius:12px;background:#172d3960;font-size:.78rem}#simpleHome .simple-result-preview>small{color:#e7c68c;font-size:.7rem}#simpleHome .simple-result-preview>strong{margin:3px 0 8px;font-size:.85rem;color:#edf2f4}.simple-result-preview-grid{display:grid;gap:6px}.simple-result-preview-grid>div{display:grid;grid-template-columns:75px minmax(0,1fr);gap:7px;align-items:start}.simple-result-preview-grid span{color:#bacbd2;font-size:.72rem}.simple-result-preview-grid b{font-size:.72rem;line-height:1.4}.simple-result-preview p{margin:8px 0 0;font-size:.7rem;line-height:1.45;color:#bacbd2}
.simple-photo-start{padding:16px 0 6px;margin-top:4px}.simple-photo-start h2{font-size:1.65rem}.simple-photo-start p{font-size:.9rem}.simple-photo-start-kicker{color:#76521e;margin-bottom:5px}.simple-wizard{margin-top:14px;padding-top:14px}.simple-progress{background:#c8d4e2;height:5px}.simple-progress-text{margin:8px 0 14px;font-size:.88rem}.simple-wizard-step h3{font-size:1.2rem;margin:12px 0 6px}.simple-wizard-step>p{font-size:.9rem;margin:8px 0}.simple-upload{padding:15px;margin:12px 0;background:#ffffff70;border-color:#a5b8cf;border-radius:13px}.simple-upload span{font-size:.92rem}.simple-photo-status{font-size:.83rem;margin:0 0 10px}.simple-nav-row{margin-top:12px}.simple-nav-row .btn{width:auto;min-width:145px;padding:11px 22px}.simple-home>.btn{padding:10px 14px;font-size:.83rem}.simple-home .message{padding:10px 13px;font-size:.83rem;border-color:#c2cfde;background:#f6f8fb80}.simple-visible-result span,.simple-pair-card strong.is-ok{color:#226449}.simple-photo-status.is-ok{color:#226449!important}
@media(max-width:650px){body.consumer-mode .simple-home{padding:17px;margin:4px auto}.simple-hero h2{font-size:1.65rem}.simple-steps{gap:6px}.simple-steps>div{padding:9px}.simple-steps>div>b{margin-bottom:5px}.simple-photo-start h2{font-size:1.4rem}}
#simpleHome .simple-result-preview-grid b{display:block;width:auto;height:auto;min-width:0;margin:0;border:0;border-radius:0;overflow-wrap:anywhere}
/* Upload controls live directly in the numbered cards. */
#simpleHome>.simple-steps{margin-top:0;align-items:stretch}#simpleHome>.simple-steps>div{min-width:0;padding:15px;background:linear-gradient(145deg,#ffffff90,#dbe5f170)}#simpleHome>.simple-steps>div>b{background:#14253e;color:#e9bd76;border:0}#simpleHome>.simple-steps>div>span{font-size:1rem;margin-bottom:7px}#simpleHome>.simple-steps>div>small{line-height:1.5;min-height:38px}#simpleHome .simple-steps .simple-upload{padding:12px 8px;margin:12px 0}.simple-steps .simple-upload span{font-size:.82rem}.simple-steps input[type=file]{width:100%;font-size:.75rem}.simple-steps .simple-photo-status{margin-top:8px;font-size:.78rem;overflow-wrap:anywhere}.simple-steps .btn{font-size:.82rem;margin-top:12px;padding:12px 8px}#simpleWizard>.simple-progress,#simpleWizard>.simple-progress-text,#simpleWizard>[data-simple-step="1"],#simpleWizard>[data-simple-step="2"]{display:none}#simpleWizard:has([data-simple-step="3"][hidden]){margin:0;padding:0;border:0}#simpleHome #simplePhotoStart{display:none}#simpleHome:has(#simpleWizard [data-simple-step="3"]:not([hidden]))>.simple-steps>div:last-child{border-color:#9b7433}

/* Camera capture is the first choice; browsing for an existing image is second. */
#simpleHome .simple-upload-actions{display:flex;gap:8px;width:100%}#simpleHome .simple-upload-actions .btn{flex:1;min-width:0;width:auto;margin:0;padding:10px 6px;font-size:.78rem;white-space:nowrap}#simpleHome .simple-upload-actions [data-photo-capture]{background:#e8eef2;color:#203641;border:1px solid #aabcc5}#simpleHome .simple-upload-actions [data-photo-choose]{background:#dfb76c;color:#203641;border:1px solid #dfb76c}
.simple-upload-hint{display:block;margin-top:8px;text-align:center;font-size:.72rem;line-height:1.4;color:var(--muted)}.camera-dialog{background:#f7f4ee;color:#1d2c38;border-color:#d7c59f}.camera-dialog h3{color:#1d2c38}.camera-dialog p{color:#485966}

/* Quiet porcelain linework, confined to the upload page. */
body:has(#view-analyza.is-active){background-color:#cad9e2;background-image:url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201440%20900%22%20fill%3D%22none%22%3E%3Cg%20stroke%3D%22%23365b72%22%20stroke-width%3D%222%22%20opacity%3D%22.18%22%3E%3Cg%20transform%3D%22translate%2835%20240%29%20rotate%28-12%20100%20100%29%22%3E%3Cellipse%20cx%3D%22105%22%20cy%3D%2278%22%20rx%3D%2269%22%20ry%3D%2217%22%2F%3E%3Cpath%20d%3D%22M36%2078Q39%20169%20105%20174Q171%20169%20174%2078M174%2090C222%2075%20229%20147%20179%20143%22%2F%3E%3Cellipse%20cx%3D%22108%22%20cy%3D%22188%22%20rx%3D%2294%22%20ry%3D%2215%22%2F%3E%3Cpath%20d%3D%22M67%20105Q103%20124%20139%20105%22%20stroke%3D%22%239b7433%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%281200%20190%29%20rotate%2812%20100%20170%29%22%3E%3Cpath%20d%3D%22M77%2035H125L120%2077C120%20106%20160%20122%20163%20172Q165%20211%20143%20259H57Q35%20211%2037%20172C40%20122%2082%20106%2082%2077Z%22%2F%3E%3Cellipse%20cx%3D%22101%22%20cy%3D%2235%22%20rx%3D%2224%22%20ry%3D%227%22%2F%3E%3Cpath%20d%3D%22M58%20156Q100%20133%20142%20156M54%20181Q99%20158%20146%20181%22%20stroke%3D%22%239b7433%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%2868%20620%29%22%3E%3Cellipse%20cx%3D%2290%22%20cy%3D%2263%22%20rx%3D%2276%22%20ry%3D%2246%22%2F%3E%3Cellipse%20cx%3D%2290%22%20cy%3D%2263%22%20rx%3D%2258%22%20ry%3D%2233%22%2F%3E%3Cellipse%20cx%3D%2290%22%20cy%3D%2263%22%20rx%3D%2237%22%20ry%3D%2221%22%20stroke%3D%22%239b7433%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%281210%20620%29%20rotate%28-9%2090%2060%29%22%3E%3Cpath%20d%3D%22M30%2042H148Q144%20111%2090%20114Q36%20111%2030%2042Z%22%2F%3E%3Cellipse%20cx%3D%2290%22%20cy%3D%2242%22%20rx%3D%2259%22%20ry%3D%2214%22%2F%3E%3Cpath%20d%3D%22M148%2051C193%2039%20194%2089%20155%2088%22%2F%3E%3Cellipse%20cx%3D%2290%22%20cy%3D%22126%22%20rx%3D%2279%22%20ry%3D%2211%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E'),radial-gradient(ellipse at 18% 20%,#e3e9e870,transparent 55%),linear-gradient(125deg,#c2d5df,#d1dfdf 55%,#dedbd0);background-size:cover,cover,cover;background-position:center top;background-repeat:no-repeat;background-attachment:fixed}
body:has(#view-analyza.is-active) .simple-home{background:linear-gradient(145deg,#eff4f3f5,#e0eaf0f5);border-color:#b7cbd4}
@media(max-width:700px){body:has(#view-analyza.is-active){background-size:auto 850px,cover,cover}}

/* Dark teal upload page with photorealistic porcelain at the edges. */
body:has(#view-analyza.is-active){--text:#edf2f4;--muted:#bacbd2;--line:#49606c;--panel:#203641;--gold:#dfb76c;--gold2:#e7c68c;color:var(--text);background-color:#132832;background-image:linear-gradient(#0e202b20,#0e202b40),url('porcelain-background.png');background-size:cover;background-position:center;background-attachment:fixed}
body:has(#view-analyza.is-active) .simple-home{background:linear-gradient(145deg,#253b46f5,#1b303cf5);border-color:#52677380;box-shadow:0 22px 65px #00000035}
body:has(#view-analyza.is-active) #simpleHome>.simple-steps>div{background:linear-gradient(145deg,#334b57,#263d49);border-color:#5b748255;color:#edf2f4}
body:has(#view-analyza.is-active) .simple-steps .simple-upload{background:#182e3980;border-color:#7893a4;color:#edf2f4}
body:has(#view-analyza.is-active) .simple-steps input[type=file]{color:#d5e1e7}body:has(#view-analyza.is-active) input::file-selector-button{background:#dfb76c;color:#172935;border:0;border-radius:6px;padding:7px 9px;cursor:pointer}
body:has(#view-analyza.is-active) .simple-home .message{background:#172d3980;color:#bacbd2;border-color:#52677380}body:has(#view-analyza.is-active) .btn--primary{background:#dfb76c;color:#172935}body:has(#view-analyza.is-active) .btn--secondary{background:#dfb76c12;color:#e7c68c}body:has(#view-analyza.is-active) .simple-home .panel{background:#263d49;color:#edf2f4}body:has(#view-analyza.is-active) .simple-steps>div>b{background:#142733;color:#dfb76c}body:has(#view-analyza.is-active) .footer{color:#a7bbc6}body:has(#view-analyza.is-active) .btn--ghost{color:#bacbd2}body:has(#view-analyza.is-active) #aiDescription{color:#000;background:#f4f6f8}
@media(max-width:700px){body:has(#view-analyza.is-active){background-position:center;background-size:auto 100vh}}
/* Slightly brighter backdrop while keeping the dark cards readable. */
body:has(#view-analyza.is-active){background-color:#36515d;background-image:linear-gradient(#9eb6bf24,#9eb6bf24),url('porcelain-background.png')}
.collection-primary-actions{display:grid;gap:8px;margin-top:12px}.collection-primary-actions .btn{width:100%;margin:0}
/* Compact, single-line result announcement. */
#simpleVisibleResult{display:flex;align-items:center;gap:10px;padding:11px 14px;margin:14px 0 8px;border-radius:12px;min-width:0}
#simpleVisibleResult[hidden]{display:none!important}
#simpleVisibleResult>span{display:inline;flex:0 0 auto;margin:0;font-size:.68rem;letter-spacing:.1em;color:#a8d4be}
#simpleVisibleResultTitle{margin:0;font:600 clamp(.75rem,1.3vw,.95rem)/1.4 Inter,system-ui,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
@media(max-width:600px){#simpleVisibleResult{gap:7px;padding:10px}#simpleVisibleResult>span{font-size:.6rem}#simpleVisibleResultTitle{font-size:.78rem}}
/* Blue-toned surfaces instead of white across the modern interface. */
:root{--bg:#cad8e2;--panel:#dde7ee;--panel2:#cbdbe7;--surface:#cbdbe7}
body{background:radial-gradient(ellipse at 12% 12%,#8eacc680,transparent 48%),linear-gradient(135deg,#b9ccdc,#cbd9e3 55%,#bdcfdc)}
.panel,.modern-surface .card{background:linear-gradient(145deg,#e0e9f0,#cfdde8)}
.text-input,input[type=search],input[type=text],select,textarea.text-input,#aiDescription,.metadata-form input,.metadata-form textarea{background:#cbdbe7;color:#14253e;caret-color:#14253e;border-color:#8ba7bc}
textarea.text-input::placeholder,#aiDescription::placeholder{color:#486175;opacity:1}
body:has(#view-analyza.is-active) #aiDescription,body:has(#view-analyza.is-active) .text-input{background:linear-gradient(135deg,#bfd0df,#d2dfe9);color:#14253e;caret-color:#14253e;border-color:#809eb5}
.upload-card,.genealogy span,.message--neutral{background:#cfdde8;color:#385269}.modern-surface button{background:#cbdbe7}
/* Deeper slate-blue palette with clear text contrast. */
:root{--bg:#263f50;--panel:#2c4658;--panel2:#355267;--surface:#355267;--text:#edf3f7;--muted:#bed0dd;--line:#68839970;--gold:#dfb76c;--gold2:#e7c68c}
body{background:radial-gradient(ellipse at 12% 12%,#45677b60,transparent 48%),linear-gradient(135deg,#263f50,#304d61 55%,#213b4e);color:var(--text)}
.panel,.modern-surface .card{background:linear-gradient(145deg,#334f62,#294355);border-color:#69849760}
.text-input,input[type=search],input[type=text],select,textarea.text-input,#aiDescription,.metadata-form input,.metadata-form textarea{background:#38566c;color:#f2f6f9;caret-color:#fff;border-color:#7692a8}
.text-input::placeholder,textarea.text-input::placeholder,#aiDescription::placeholder{color:#c2d2df;opacity:1}
body:has(#view-analyza.is-active) #aiDescription,body:has(#view-analyza.is-active) .text-input{background:linear-gradient(135deg,#36536a,#3e6076);color:#f2f6f9;caret-color:#fff;border-color:#7492a8}
.upload-card,.genealogy span,.message--neutral{background:#2c485c;color:#c4d5e1}.upload-card__placeholder,.modern-surface p,.lead,.muted{color:#bed0dd}.modern-surface button{background:#355267;color:#edf3f7}.status--idle{background:#355267;color:#c4d5e1}.btn--ghost{color:#c4d5e1}.footer{color:#adbfcd}

/* Illustrated ceramic vessels at the page edges. */
body{background-image:url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201440%20900%22%20fill%3D%22none%22%3E%3Cg%20stroke%3D%22%23c4cdd1%22%20stroke-width%3D%222.5%22%20stroke-linejoin%3D%22round%22%20opacity%3D%22.55%22%3E%3Cg%20transform%3D%22translate%2835%20180%29%20rotate%28-9%20100%20100%29%22%3E%3Cpath%20fill%3D%22%23ad805c%22%20fill-opacity%3D%22.35%22%20d%3D%22M67%2040H128L118%2080Q153%20102%20153%20169Q153%20200%2098%20207Q44%20201%2044%20168Q44%20109%2077%2080Z%22%2F%3E%3Cpath%20d%3D%22M128%2086Q194%2083%20172%20153L153%20157M66%2040L52%2052L75%2055M62%20132Q99%20145%20139%20132M59%20153Q99%20166%20142%20153%22%2F%3E%3Cellipse%20cx%3D%2298%22%20cy%3D%2240%22%20rx%3D%2230%22%20ry%3D%227%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%281200%20200%29%20rotate%2811%2090%20100%29%22%3E%3Cpath%20fill%3D%22%23668a92%22%20fill-opacity%3D%22.45%22%20d%3D%22M20%2077Q29%20159%2095%20160Q161%20159%20170%2077Z%22%2F%3E%3Cellipse%20cx%3D%2295%22%20cy%3D%2277%22%20rx%3D%2275%22%20ry%3D%2220%22%2F%3E%3Cpath%20d%3D%22M39%20110Q94%20132%20151%20110M56%20135Q94%20146%20135%20135%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%2845%20570%29%20rotate%289%2090%2090%29%22%3E%3Cpath%20fill%3D%22%23c08763%22%20fill-opacity%3D%22.35%22%20d%3D%22M35%2062H146L127%20167H55Z%22%2F%3E%3Cellipse%20cx%3D%2290%22%20cy%3D%2262%22%20rx%3D%2255%22%20ry%3D%2215%22%2F%3E%3Cpath%20d%3D%22M38%2081Q90%2096%20143%2081M55%20112L72%20123L89%20112L106%20123L123%20112M65%20150H117%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%281215%20570%29%20rotate%28-10%2085%2090%29%22%3E%3Cpath%20fill%3D%22%23af9973%22%20fill-opacity%3D%22.4%22%20d%3D%22M57%2030H115L109%2065Q145%2094%20150%20139Q159%20188%2084%20192Q12%20188%2022%20139Q26%2093%2063%2065Z%22%2F%3E%3Cellipse%20cx%3D%2286%22%20cy%3D%2230%22%20rx%3D%2228%22%20ry%3D%228%22%2F%3E%3Cpath%20d%3D%22M44%20115Q83%20134%20130%20115M37%20144Q83%20163%20137%20144M64%2080Q85%2090%20106%2080%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E'),radial-gradient(ellipse at 12% 12%,#45677b60,transparent 48%),linear-gradient(135deg,#263f50,#304d61 55%,#213b4e);background-size:cover;background-position:center top;background-repeat:no-repeat;background-attachment:fixed}
body:has(#view-analyza.is-active){background-image:url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201440%20900%22%20fill%3D%22none%22%3E%3Cg%20stroke%3D%22%23c4cdd1%22%20stroke-width%3D%222.5%22%20stroke-linejoin%3D%22round%22%20opacity%3D%22.55%22%3E%3Cg%20transform%3D%22translate%2835%20180%29%20rotate%28-9%20100%20100%29%22%3E%3Cpath%20fill%3D%22%23ad805c%22%20fill-opacity%3D%22.35%22%20d%3D%22M67%2040H128L118%2080Q153%20102%20153%20169Q153%20200%2098%20207Q44%20201%2044%20168Q44%20109%2077%2080Z%22%2F%3E%3Cpath%20d%3D%22M128%2086Q194%2083%20172%20153L153%20157M66%2040L52%2052L75%2055M62%20132Q99%20145%20139%20132M59%20153Q99%20166%20142%20153%22%2F%3E%3Cellipse%20cx%3D%2298%22%20cy%3D%2240%22%20rx%3D%2230%22%20ry%3D%227%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%281200%20200%29%20rotate%2811%2090%20100%29%22%3E%3Cpath%20fill%3D%22%23668a92%22%20fill-opacity%3D%22.45%22%20d%3D%22M20%2077Q29%20159%2095%20160Q161%20159%20170%2077Z%22%2F%3E%3Cellipse%20cx%3D%2295%22%20cy%3D%2277%22%20rx%3D%2275%22%20ry%3D%2220%22%2F%3E%3Cpath%20d%3D%22M39%20110Q94%20132%20151%20110M56%20135Q94%20146%20135%20135%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%2845%20570%29%20rotate%289%2090%2090%29%22%3E%3Cpath%20fill%3D%22%23c08763%22%20fill-opacity%3D%22.35%22%20d%3D%22M35%2062H146L127%20167H55Z%22%2F%3E%3Cellipse%20cx%3D%2290%22%20cy%3D%2262%22%20rx%3D%2255%22%20ry%3D%2215%22%2F%3E%3Cpath%20d%3D%22M38%2081Q90%2096%20143%2081M55%20112L72%20123L89%20112L106%20123L123%20112M65%20150H117%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%281215%20570%29%20rotate%28-10%2085%2090%29%22%3E%3Cpath%20fill%3D%22%23af9973%22%20fill-opacity%3D%22.4%22%20d%3D%22M57%2030H115L109%2065Q145%2094%20150%20139Q159%20188%2084%20192Q12%20188%2022%20139Q26%2093%2063%2065Z%22%2F%3E%3Cellipse%20cx%3D%2286%22%20cy%3D%2230%22%20rx%3D%2228%22%20ry%3D%228%22%2F%3E%3Cpath%20d%3D%22M44%20115Q83%20134%20130%20115M37%20144Q83%20163%20137%20144M64%2080Q85%2090%20106%2080%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E'),linear-gradient(135deg,#294655,#365563 55%,#293f4b);background-size:cover;background-position:center top}
@media(max-width:700px){body,body:has(#view-analyza.is-active){background-size:auto 900px,cover;background-position:center top}}


/* Small detailed pottery stays within the outside gutters. */
body,body:has(#view-analyza.is-active){background-image:radial-gradient(ellipse at 12% 12%,#45677b60,transparent 48%),linear-gradient(135deg,#263f50,#304d61 55%,#213b4e);background-size:cover;background-attachment:fixed}
body::before,body::after{content:'';position:fixed;top:110px;bottom:20px;width:clamp(55px,calc((100vw - 1120px)/2 - 22px),140px);background:url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20180%20660%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22clay%22%3E%3Cstop%20stop-color%3D%22%23d4b290%22%2F%3E%3Cstop%20offset%3D%22.4%22%20stop-color%3D%22%23b38867%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23775945%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22glaze%22%3E%3Cstop%20stop-color%3D%22%23bdd4d3%22%2F%3E%3Cstop%20offset%3D%22.45%22%20stop-color%3D%22%2380aaaf%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23456a7a%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22ivory%22%3E%3Cstop%20stop-color%3D%22%23e1d8be%22%2F%3E%3Cstop%20offset%3D%22.5%22%20stop-color%3D%22%23c6b797%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%238e8167%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22dots%22%20width%3D%2212%22%20height%3D%2212%22%20patternUnits%3D%22userSpaceOnUse%22%3E%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%221.6%22%20fill%3D%22%23e9d8b7%22%20opacity%3D%22.6%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Cg%20stroke%3D%22%23ced5cc%22%20stroke-width%3D%221.2%22%20stroke-linejoin%3D%22round%22%20opacity%3D%22.82%22%3E%3Cg%20transform%3D%22translate%2820%2028%29%20rotate%28-7%2065%2080%29%22%3E%3Cpath%20d%3D%22M48%2015H90L86%2044Q108%2064%20111%20110Q116%20142%2069%20147Q23%20143%2027%20109Q29%2067%2053%2044Z%22%20fill%3D%22url%28%23clay%29%22%2F%3E%3Cpath%20d%3D%22M88%2047Q137%2041%20126%2087Q123%20100%20108%20100%22%20fill%3D%22none%22%20stroke-width%3D%226%22%20stroke%3D%22%23af8b6c%22%2F%3E%3Cellipse%20cx%3D%2269%22%20cy%3D%2215%22%20rx%3D%2221%22%20ry%3D%225%22%20fill%3D%22%23625344%22%2F%3E%3Cpath%20d%3D%22M49%2015L35%2025L51%2029M38%2075Q69%2087%20100%2075M32%20112Q68%20128%20107%20112%22%20fill%3D%22none%22%20stroke%3D%22%23eed7ab%22%2F%3E%3Cpath%20d%3D%22M36%2089L45%2099L54%2089L63%2099L72%2089L81%2099L90%2089L99%2099%22%20fill%3D%22none%22%20stroke%3D%22%23e2c69a%22%2F%3E%3Cpath%20d%3D%22M48%2058Q36%2082%2039%20106%22%20fill%3D%22none%22%20stroke%3D%22%23fff1d4%22%20opacity%3D%22.35%22%20stroke-width%3D%224%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%2819%20226%29%20rotate%288%2065%2045%29%22%3E%3Cellipse%20cx%3D%2268%22%20cy%3D%2250%22%20rx%3D%2261%22%20ry%3D%2239%22%20fill%3D%22url%28%23ivory%29%22%2F%3E%3Cellipse%20cx%3D%2268%22%20cy%3D%2250%22%20rx%3D%2252%22%20ry%3D%2231%22%20fill%3D%22none%22%20stroke%3D%22%23527d95%22%20stroke-width%3D%223%22%2F%3E%3Cellipse%20cx%3D%2268%22%20cy%3D%2250%22%20rx%3D%2236%22%20ry%3D%2222%22%20fill%3D%22%23e2d9c0%22%2F%3E%3Cpath%20d%3D%22M49%2055Q68%2025%2088%2055M68%2062V37M55%2040Q41%2031%2050%2027Q65%2027%2068%2041M79%2040Q96%2031%2087%2027Q72%2027%2068%2041%22%20fill%3D%22none%22%20stroke%3D%22%23537c94%22%20stroke-width%3D%222%22%2F%3E%3Cellipse%20cx%3D%2268%22%20cy%3D%2250%22%20rx%3D%2257%22%20ry%3D%2235%22%20fill%3D%22none%22%20stroke%3D%22%23d8b876%22%20stroke-dasharray%3D%222%207%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%2825%20360%29%20rotate%28-5%2065%2065%29%22%3E%3Cpath%20d%3D%22M17%2038H117L102%20115H32Z%22%20fill%3D%22url%28%23clay%29%22%2F%3E%3Cpath%20d%3D%22M24%2060H109L105%2081H29Z%22%20fill%3D%22url%28%23dots%29%22%20stroke%3D%22none%22%2F%3E%3Cellipse%20cx%3D%2267%22%20cy%3D%2238%22%20rx%3D%2250%22%20ry%3D%2213%22%20fill%3D%22%23c4a27f%22%2F%3E%3Cellipse%20cx%3D%2267%22%20cy%3D%2238%22%20rx%3D%2241%22%20ry%3D%228%22%20fill%3D%22%23675344%22%2F%3E%3Cpath%20d%3D%22M26%2055Q66%2063%20108%2055M32%2091Q67%20100%20103%2091M38%20108Q67%20113%2098%20108%22%20fill%3D%22none%22%20stroke%3D%22%23e0c5a0%22%2F%3E%3Cpath%20d%3D%22M39%2063L45%20103%22%20stroke%3D%22%23fff0d2%22%20opacity%3D%22.3%22%20stroke-width%3D%224%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%2825%20516%29%20rotate%286%2065%2050%29%22%3E%3Cpath%20d%3D%22M18%2035Q23%2092%2067%2096Q111%2092%20117%2035Z%22%20fill%3D%22url%28%23glaze%29%22%2F%3E%3Cellipse%20cx%3D%2267%22%20cy%3D%2235%22%20rx%3D%2250%22%20ry%3D%2213%22%20fill%3D%22%23b8d2cf%22%2F%3E%3Cellipse%20cx%3D%2267%22%20cy%3D%2235%22%20rx%3D%2241%22%20ry%3D%228%22%20fill%3D%22%23416574%22%2F%3E%3Cpath%20d%3D%22M24%2053Q67%2069%20109%2053M33%2072Q67%2085%2099%2072%22%20fill%3D%22none%22%20stroke%3D%22%23dbc59a%22%20stroke-width%3D%222%22%2F%3E%3Cpath%20d%3D%22M30%2048Q32%2068%2043%2080%22%20stroke%3D%22%23ecf4e7%22%20opacity%3D%22.45%22%20stroke-width%3D%224%22%20fill%3D%22none%22%2F%3E%3Cellipse%20cx%3D%2267%22%20cy%3D%22100%22%20rx%3D%2237%22%20ry%3D%225%22%20fill%3D%22%236b96a0%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E') center top/contain no-repeat;pointer-events:none;opacity:.68;z-index:0}
body::before{left:8px}body::after{right:8px;transform:scaleX(-1)}main.shell,.footer{position:relative;z-index:1}
@media(max-width:900px){body::before,body::after{display:none}}

/* Hand-drawn floral porcelain inspired by the supplied photographs. */
body::before,body::after{background-image:url('drawn-porcelain.png');background-size:contain;background-position:center top;opacity:.9;width:clamp(55px,calc((100vw - 1120px)/2 - 22px),150px)}body::after{transform:none;background-position:center 55px}
/* Monochrome porcelain drawings; the interface retains its colors. */
body::before,body::after{filter:grayscale(1);opacity:.86}
/* Porcelain drawings staggered across the full height of both gutters. */
body::before,body::after{display:none}
.pottery-side{position:fixed;top:105px;bottom:15px;width:clamp(55px,calc((100vw - 1120px)/2 - 22px),150px);display:flex;flex-direction:column;justify-content:space-between;pointer-events:none;z-index:0;filter:grayscale(1);opacity:.83}
.pottery-side--left{left:8px}.pottery-side--right{right:8px}
.pottery-piece{width:90%;height:23%;background-image:url('drawn-porcelain.png');background-size:100% 400%;background-repeat:no-repeat;background-position:center 0;transform:rotate(-9deg);align-self:flex-start}
.pottery-side--right .pottery-piece{background-image:url('drawn-porcelain-right.png')}
.pottery-piece:nth-child(2){background-position:center 33.333%;align-self:flex-end;transform:rotate(8deg);width:82%}.pottery-piece:nth-child(3){background-position:center 66.667%;transform:rotate(-6deg);width:85%}.pottery-piece:nth-child(4){background-position:center 100%;align-self:flex-end;transform:rotate(10deg)}
.pottery-side--right .pottery-piece:nth-child(odd){align-self:flex-end;transform:rotate(7deg)}.pottery-side--right .pottery-piece:nth-child(even){align-self:flex-start;transform:rotate(-8deg)}
@media(max-width:900px){.pottery-side{display:none}}
/* Preserve the original 2:3 asset proportions while spreading the pieces. */
.pottery-piece{height:auto;aspect-ratio:8/3;flex:0 0 auto;background-size:100% 400%}
/* Nine separate square drawings retain their natural proportions. */
.pottery-piece,.pottery-side--right .pottery-piece{background-image:url('porcelain-sketches-v2.png');background-size:300% 300%;aspect-ratio:1;height:auto;max-height:none;width:90%;flex:0 0 auto}
.pottery-piece:nth-child(5){align-self:flex-start;transform:rotate(-5deg);width:86%}
.pottery-side{top:110px;bottom:20px}
/* Sidebar drawings reduced by 20%, preserving their placement and proportions. */
.pottery-piece{scale:.8}
/* Colorful porcelain on the upload page, safely inside its wider side gutters. */
body:has(#view-analyza.is-active) .pottery-side{filter:none;width:clamp(55px,calc((100vw - 780px)/2 - 40px),200px);top:110px;bottom:20px;opacity:.88}
body:has(#view-analyza.is-active) .pottery-side--left{left:12px}body:has(#view-analyza.is-active) .pottery-side--right{right:12px}
body:has(#view-analyza.is-active) .pottery-piece{background-image:url('drawn-porcelain.png');background-size:100% 400%;width:70%;max-height:calc((100vh - 150px)/5);aspect-ratio:8/3;scale:.8;align-self:flex-start}
body:has(#view-analyza.is-active) .pottery-piece:nth-child(even){align-self:flex-end}
body:has(#view-analyza.is-active) .pottery-piece:nth-child(1){background-position:center 66.667%!important;transform:rotate(-8deg)}
body:has(#view-analyza.is-active) .pottery-piece:nth-child(2){background-position:center 0%!important;transform:rotate(9deg)}
body:has(#view-analyza.is-active) .pottery-piece:nth-child(3){background-position:center 100%!important;transform:rotate(-5deg)}
body:has(#view-analyza.is-active) .pottery-piece:nth-child(4){background-position:center 33.333%!important;transform:rotate(7deg)}
body:has(#view-analyza.is-active) .pottery-piece:nth-child(5){background-position:center 0%!important;transform:rotate(-11deg)}
body:has(#view-analyza.is-active) .pottery-side--right .pottery-piece:nth-child(1){background-position:center 33.333%!important}
body:has(#view-analyza.is-active) .pottery-side--right .pottery-piece:nth-child(2){background-position:center 100%!important}
body:has(#view-analyza.is-active) .pottery-side--right .pottery-piece:nth-child(3){background-position:center 0%!important}
body:has(#view-analyza.is-active) .pottery-side--right .pottery-piece:nth-child(4){background-position:center 66.667%!important}
@media(max-width:1000px){body:has(#view-analyza.is-active) .pottery-side{display:none}}
/* Latest reference objects in color, shuffled without changing proportions. */
body:has(#view-analyza.is-active) .pottery-piece{background-image:url('porcelain-sketches-color.png');background-size:300% 300%;aspect-ratio:1;max-height:none;width:min(65%,calc((100vh - 170px)/5));height:auto}
body:has(#view-analyza.is-active) .pottery-side--left .pottery-piece:nth-child(1){background-position:100% 0%!important}
body:has(#view-analyza.is-active) .pottery-side--left .pottery-piece:nth-child(2){background-position:0% 50%!important}
body:has(#view-analyza.is-active) .pottery-side--left .pottery-piece:nth-child(3){background-position:100% 100%!important}
body:has(#view-analyza.is-active) .pottery-side--left .pottery-piece:nth-child(4){background-position:0% 0%!important}
body:has(#view-analyza.is-active) .pottery-side--left .pottery-piece:nth-child(5){background-position:50% 50%!important}
body:has(#view-analyza.is-active) .pottery-side--right .pottery-piece:nth-child(1){background-position:50% 100%!important}
body:has(#view-analyza.is-active) .pottery-side--right .pottery-piece:nth-child(2){background-position:50% 0%!important}
body:has(#view-analyza.is-active) .pottery-side--right .pottery-piece:nth-child(3){background-position:0% 100%!important}
body:has(#view-analyza.is-active) .pottery-side--right .pottery-piece:nth-child(4){background-position:100% 50%!important}
/* Four distinct drawings per side; omit the paired floral vessels. */
body:has(#view-analyza.is-active) .pottery-side--left .pottery-piece:nth-child(1){background-position:0% 0%!important}
body:has(#view-analyza.is-active) .pottery-side--left .pottery-piece:nth-child(2){background-position:0% 50%!important}
body:has(#view-analyza.is-active) .pottery-side--left .pottery-piece:nth-child(3){background-position:100% 100%!important}
body:has(#view-analyza.is-active) .pottery-side--left .pottery-piece:nth-child(4){background-position:50% 50%!important}
body:has(#view-analyza.is-active) .pottery-side--right .pottery-piece:nth-child(1){background-position:100% 0%!important}
body:has(#view-analyza.is-active) .pottery-side--right .pottery-piece:nth-child(2){background-position:50% 0%!important}
body:has(#view-analyza.is-active) .pottery-side--right .pottery-piece:nth-child(3){background-position:50% 100%!important}
body:has(#view-analyza.is-active) .pottery-side--right .pottery-piece:nth-child(4){background-position:100% 50%!important}
.pottery-side--right .pottery-piece:nth-child(1){background-position:100% 0%!important}.pottery-side--right .pottery-piece:nth-child(2){background-position:100% 50%!important}.pottery-side--right .pottery-piece:nth-child(3){background-position:50% 100%!important}.pottery-side--right .pottery-piece:nth-child(4){background-position:100% 100%!important}
/* Layered midnight-blue backdrop with quiet warm highlights and fine texture. */
body,body:has(#view-analyza.is-active){background-color:#263f50;background-image:radial-gradient(ellipse at 3% 26%,#87aabc38,transparent 40%),radial-gradient(ellipse at 97% 72%,#c4a46a22,transparent 42%),radial-gradient(ellipse at 52% 2%,#60849e35,transparent 55%),repeating-linear-gradient(125deg,#ffffff03 0px,#ffffff03 1px,transparent 1px,transparent 5px),linear-gradient(135deg,#1e3546 0%,#355467 42%,#2a4556 68%,#1b3243 100%);background-size:cover;background-position:center;background-repeat:repeat;background-attachment:fixed}

/* Fading warm-yellow waves sit behind the porcelain illustrations. */
.pottery-waves{position:fixed;inset:0;pointer-events:none;z-index:0;background:url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201600%201000%22%20fill%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22fade%22%3E%3Cstop%20stop-color%3D%22%23edc873%22%20stop-opacity%3D%220%22%2F%3E%3Cstop%20offset%3D%22.3%22%20stop-color%3D%22%23edc873%22%20stop-opacity%3D%22.17%22%2F%3E%3Cstop%20offset%3D%22.62%22%20stop-color%3D%22%23edc873%22%20stop-opacity%3D%22.1%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23edc873%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cg%20stroke%3D%22url%28%23fade%29%22%20stroke-width%3D%221.6%22%3E%3Cpath%20d%3D%22M-200%20220C180%2040%20370%20440%20760%20220S1260%2040%201800%20250%22%2F%3E%3Cpath%20d%3D%22M-200%20238C180%2058%20370%20458%20760%20238S1260%2058%201800%20268%22%2F%3E%3Cpath%20d%3D%22M-200%20580C150%20780%20450%20360%20820%20580S1390%20820%201800%20550%22%2F%3E%3Cpath%20d%3D%22M-200%20598C150%20798%20450%20378%20820%20598S1390%20838%201800%20568%22%2F%3E%3Cpath%20d%3D%22M-200%20865C270%20630%20550%201020%20960%20820S1500%20720%201800%20875%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E') center/cover no-repeat}
.pottery-side{z-index:1}main.shell,.footer{z-index:2}


.pottery-waves{background-image:url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201600%201100%22%20fill%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22fade%22%3E%3Cstop%20stop-color%3D%22%23edc873%22%20stop-opacity%3D%220%22%2F%3E%3Cstop%20offset%3D%22.2%22%20stop-color%3D%22%23edc873%22%20stop-opacity%3D%22.42%22%2F%3E%3Cstop%20offset%3D%22.55%22%20stop-color%3D%22%23edc873%22%20stop-opacity%3D%22.28%22%2F%3E%3Cstop%20offset%3D%22.85%22%20stop-color%3D%22%23edc873%22%20stop-opacity%3D%22.38%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23edc873%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cg%20stroke%3D%22url%28%23fade%29%22%20stroke-width%3D%223.5%22%3E%3Cpath%20d%3D%22M-180%2070%20C180%20-50%20380%20200%20760%2070%20S1280%20-50%201780%20105%22%2F%3E%3Cpath%20d%3D%22M-180%20125%20C180%205%20380%20255%20760%20125%20S1280%205%201780%20160%22%2F%3E%3Cpath%20d%3D%22M-180%20180%20C180%2060%20380%20310%20760%20180%20S1280%2060%201780%20215%22%2F%3E%3Cpath%20d%3D%22M-180%20235%20C180%20115%20380%20365%20760%20235%20S1280%20115%201780%20270%22%2F%3E%3Cpath%20d%3D%22M-180%20290%20C180%20170%20380%20420%20760%20290%20S1280%20170%201780%20325%22%2F%3E%3Cpath%20d%3D%22M-180%20345%20C180%20225%20380%20475%20760%20345%20S1280%20225%201780%20380%22%2F%3E%3Cpath%20d%3D%22M-180%20400%20C180%20280%20380%20530%20760%20400%20S1280%20280%201780%20435%22%2F%3E%3Cpath%20d%3D%22M-180%20455%20C180%20335%20380%20585%20760%20455%20S1280%20335%201780%20490%22%2F%3E%3Cpath%20d%3D%22M-180%20510%20C180%20390%20380%20640%20760%20510%20S1280%20390%201780%20545%22%2F%3E%3Cpath%20d%3D%22M-180%20565%20C180%20445%20380%20695%20760%20565%20S1280%20445%201780%20600%22%2F%3E%3Cpath%20d%3D%22M-180%20620%20C180%20500%20380%20750%20760%20620%20S1280%20500%201780%20655%22%2F%3E%3Cpath%20d%3D%22M-180%20675%20C180%20555%20380%20805%20760%20675%20S1280%20555%201780%20710%22%2F%3E%3Cpath%20d%3D%22M-180%20730%20C180%20610%20380%20860%20760%20730%20S1280%20610%201780%20765%22%2F%3E%3Cpath%20d%3D%22M-180%20785%20C180%20665%20380%20915%20760%20785%20S1280%20665%201780%20820%22%2F%3E%3Cpath%20d%3D%22M-180%20840%20C180%20720%20380%20970%20760%20840%20S1280%20720%201780%20875%22%2F%3E%3Cpath%20d%3D%22M-180%20895%20C180%20775%20380%201025%20760%20895%20S1280%20775%201780%20930%22%2F%3E%3Cpath%20d%3D%22M-180%20950%20C180%20830%20380%201080%20760%20950%20S1280%20830%201780%20985%22%2F%3E%3Cpath%20d%3D%22M-180%201005%20C180%20885%20380%201135%20760%201005%20S1280%20885%201780%201040%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E')}


/* Fine, fading contrail-like strokes replace the waves. */
.pottery-waves{background-image:url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201600%201100%22%20fill%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22trail%22%3E%3Cstop%20stop-color%3D%22%23edc873%22%20stop-opacity%3D%220%22%2F%3E%3Cstop%20offset%3D%22.25%22%20stop-color%3D%22%23edc873%22%20stop-opacity%3D%22.3%22%2F%3E%3Cstop%20offset%3D%22.65%22%20stop-color%3D%22%23edc873%22%20stop-opacity%3D%22.23%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23edc873%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cg%20stroke%3D%22url%28%23trail%29%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%3E%3Cpath%20d%3D%22M-120%20410L1490%2020M-120%20418L1490%2028M80%201140L1710%20690M80%201148L1710%20698M-150%20780L1520%20310M-150%20788L1520%20318M350%201160L1740%20790M350%201168L1740%20798%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E')}

/* Modern luminous navy backdrop specifically for the upload screen. */
body:has(#view-analyza.is-active){background-color:#192e42;background-image:radial-gradient(ellipse at 0% 20%,#588ba173,transparent 46%),radial-gradient(ellipse at 100% 75%,#bb966943,transparent 42%),radial-gradient(ellipse at 75% 0%,#526ba54d,transparent 48%),radial-gradient(ellipse at 40% 110%,#3d899c50,transparent 48%),linear-gradient(135deg,#172b40 0%,#29495e 38%,#20394f 68%,#13263c 100%);background-size:cover;background-attachment:fixed}
body:has(#view-analyza.is-active) .pottery-waves{background:none;inset:100px 0 0;overflow:hidden}
body:has(#view-analyza.is-active) .pottery-waves::before{content:'';position:absolute;width:72vw;height:72vw;left:-39vw;top:5vh;border:1px solid #d5b57926;border-radius:50%;box-shadow:0 0 0 35px #d5b57905,0 0 0 70px #d5b57904,0 0 0 105px #d5b57903;transform:rotate(-25deg)}
body:has(#view-analyza.is-active) .pottery-waves::after{content:'';position:absolute;width:65vw;height:65vw;right:-37vw;bottom:-15vh;border:1px solid #9dbbd32e;border-radius:50%;box-shadow:0 0 0 40px #9dbbd305,0 0 0 80px #9dbbd304}
body:has(#view-analyza.is-active) .simple-home{background:linear-gradient(145deg,#2c4556eb,#1d3346f5);border:1px solid #9fb5c238;box-shadow:0 26px 70px #07152155,inset 0 1px 0 #ffffff0d;backdrop-filter:blur(12px)}
body:has(#view-analyza.is-active) #simpleHome>.simple-steps>div{background:linear-gradient(145deg,#426074a6,#2a4255b3);border-color:#91acbe30;box-shadow:inset 0 1px 0 #ffffff08}
/* Trim sprite-cell edges so neighboring objects cannot bleed into a drawing. */
.pottery-piece{clip-path:inset(14% 10% 14% 10%)}
/* Alternative deep petrol-green backdrop for the upload page. */
body:has(#view-analyza.is-active){background-color:#193e3e;background-image:radial-gradient(ellipse at 0% 20%,#65a59b65,transparent 46%),radial-gradient(ellipse at 100% 75%,#c3a16445,transparent 42%),radial-gradient(ellipse at 75% 0%,#658b7945,transparent 48%),radial-gradient(ellipse at 40% 110%,#499b9150,transparent 48%),linear-gradient(135deg,#173332 0%,#315953 38%,#254b48 68%,#142f33 100%)}
body:has(#view-analyza.is-active) .simple-home{background:linear-gradient(145deg,#2d504ceb,#1d3b3af5);border-color:#9fc4b638}
body:has(#view-analyza.is-active) #simpleHome>.simple-steps>div{background:linear-gradient(145deg,#456a61a6,#2a4d48b3);border-color:#a1c2b730}
/* Apply the same clean cell boundary to every decorative illustration. */
body .pottery-side .pottery-piece,body:has(#view-analyza.is-active) .pottery-side .pottery-piece{clip-path:inset(14% 10%);overflow:hidden}
/* Lighter sage-green upload palette. */
body:has(#view-analyza.is-active){--text:#f4f7f3;--muted:#e1eae2;background-color:#527c6e;background-image:radial-gradient(ellipse at 0% 20%,#b5cf9f60,transparent 46%),radial-gradient(ellipse at 100% 75%,#d6c59c45,transparent 42%),radial-gradient(ellipse at 75% 0%,#b5d3b650,transparent 48%),linear-gradient(135deg,#456d61,#719889 45%,#5c8474 75%,#416858)}
body:has(#view-analyza.is-active) .simple-home{background:linear-gradient(145deg,#658b78ed,#4d7564f5);border-color:#c7ddc650}
body:has(#view-analyza.is-active) #simpleHome>.simple-steps>div{background:linear-gradient(145deg,#83a28ca6,#628872b3);border-color:#d0e3c747}
body:has(#view-analyza.is-active) .simple-steps .simple-upload{background:#355a4d80;border-color:#c1d5bb90}
body:has(#view-analyza.is-active) #aiDescription{background:linear-gradient(135deg,#3f695a,#4b7865);border-color:#b9d0bc;color:#fff}
body:has(#view-analyza.is-active) .simple-home .message{background:#355d4e85;color:#e2ece2;border-color:#bbd0bb50}
body:has(#view-analyza.is-active) .simple-photo-status.is-ok,body:has(#view-analyza.is-active) .simple-photo-status strong{color:#efffd9!important}
/* Replace incomplete artwork only on the upload page. */
body:has(#view-analyza.is-active) .pottery-side{display:none}
body:has(#view-analyza.is-active) .pottery-waves{background:radial-gradient(ellipse at 0% 25%,#e4d9a71a,transparent 40%),radial-gradient(ellipse at 100% 75%,#c6e5cd1c,transparent 42%)}
body:has(#view-analyza.is-active) .pottery-waves::before{border-color:#f0d69938;box-shadow:0 0 0 35px #e9d4a208,0 0 0 70px #e9d4a205,0 0 0 105px #e9d4a203}
body:has(#view-analyza.is-active) .pottery-waves::after{border-color:#e2eecf38;box-shadow:0 0 0 40px #e2eecf08,0 0 0 80px #e2eecf05}

/* Complete drawings on home; outline-only decor on the second page. */
body:not(:has(#view-analyza.is-active)) .pottery-piece{background-image:url('porcelain-sketches-complete.png');clip-path:none}
body:has(#view-analyza.is-active)::before,body:has(#view-analyza.is-active)::after{content:'';display:block;position:fixed;top:115px;bottom:20px;width:clamp(60px,calc((100vw - 780px)/2 - 45px),170px);background:url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20180%20700%22%20fill%3D%22none%22%20stroke%3D%22%23ecd7a0%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cg%20transform%3D%22translate%2820%2020%29%20rotate%28-8%2070%2065%29%22%3E%3Cellipse%20cx%3D%2268%22%20cy%3D%2245%22%20rx%3D%2247%22%20ry%3D%2212%22%2F%3E%3Cpath%20d%3D%22M21%2045Q24%20111%2068%20116Q112%20111%20115%2045M115%2057C155%2043%20158%2095%20119%2093%22%2F%3E%3Cellipse%20cx%3D%2268%22%20cy%3D%22127%22%20rx%3D%2263%22%20ry%3D%229%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%2825%20200%29%20rotate%288%2060%2090%29%22%3E%3Cellipse%20cx%3D%2260%22%20cy%3D%2212%22%20rx%3D%2221%22%20ry%3D%225%22%2F%3E%3Cpath%20d%3D%22M39%2012L43%2050Q16%2075%2018%20119Q20%20156%2060%20158Q100%20156%20102%20119Q104%2075%2077%2050L81%2012M28%20101Q59%20111%2092%20101%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%2820%20410%29%20rotate%28-7%2070%2055%29%22%3E%3Cellipse%20cx%3D%2270%22%20cy%3D%2252%22%20rx%3D%2261%22%20ry%3D%2246%22%2F%3E%3Cellipse%20cx%3D%2270%22%20cy%3D%2252%22%20rx%3D%2248%22%20ry%3D%2234%22%2F%3E%3Cellipse%20cx%3D%2270%22%20cy%3D%2252%22%20rx%3D%2232%22%20ry%3D%2223%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%2820%20575%29%20rotate%288%2065%2045%29%22%3E%3Cellipse%20cx%3D%2265%22%20cy%3D%2225%22%20rx%3D%2255%22%20ry%3D%2213%22%2F%3E%3Cpath%20d%3D%22M10%2025Q20%2094%2065%2097Q110%2094%20120%2025%22%2F%3E%3Cpath%20d%3D%22M24%2062Q66%2079%20108%2062%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E') center/contain no-repeat;opacity:.38;filter:none;pointer-events:none;z-index:1}
body:has(#view-analyza.is-active)::before{left:15px}body:has(#view-analyza.is-active)::after{right:15px;transform:scaleX(-1)}
@media(max-width:1000px){body:has(#view-analyza.is-active)::before,body:has(#view-analyza.is-active)::after{display:none}}


/* Brighter outlines staggered left/right down the full upload page. */
body:has(#view-analyza.is-active)::before,body:has(#view-analyza.is-active)::after{background-image:url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20220%20780%22%20fill%3D%22none%22%20stroke%3D%22%23fff0bd%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cg%20transform%3D%22translate%285%2018%29%20rotate%28-7%2060%2065%29%22%3E%3Cellipse%20cx%3D%2260%22%20cy%3D%2238%22%20rx%3D%2241%22%20ry%3D%2210%22%2F%3E%3Cpath%20d%3D%22M19%2038Q23%2099%2060%20103Q97%2099%20101%2038M101%2049C137%2037%20138%2085%20105%2083%22%2F%3E%3Cellipse%20cx%3D%2260%22%20cy%3D%22114%22%20rx%3D%2253%22%20ry%3D%228%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%2890%20210%29%20rotate%287%2048%2065%29%22%3E%3Cellipse%20cx%3D%2248%22%20cy%3D%228%22%20rx%3D%2217%22%20ry%3D%224%22%2F%3E%3Cpath%20d%3D%22M31%208L34%2039Q12%2060%2014%2096Q15%20125%2048%20128Q81%20125%2082%2096Q84%2060%2062%2039L65%208M22%2080Q48%2089%2074%2080%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%280%20410%29%20rotate%28-8%2060%2045%29%22%3E%3Cellipse%20cx%3D%2260%22%20cy%3D%2247%22%20rx%3D%2251%22%20ry%3D%2239%22%2F%3E%3Cellipse%20cx%3D%2260%22%20cy%3D%2247%22%20rx%3D%2240%22%20ry%3D%2229%22%2F%3E%3Cellipse%20cx%3D%2260%22%20cy%3D%2247%22%20rx%3D%2227%22%20ry%3D%2220%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%2890%20605%29%20rotate%289%2048%2040%29%22%3E%3Cellipse%20cx%3D%2248%22%20cy%3D%2221%22%20rx%3D%2243%22%20ry%3D%2210%22%2F%3E%3Cpath%20d%3D%22M5%2021Q13%2075%2048%2077Q83%2075%2091%2021M16%2051Q49%2064%2081%2051%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E');background-size:100% 100%;opacity:.67}


/* Bring the guide closer to wider, staggered side decorations. */
body.consumer-mode:has(#view-analyza.is-active) .simple-home{max-width:900px}
body:has(#view-analyza.is-active)::before,body:has(#view-analyza.is-active)::after{width:clamp(65px,calc((100vw - 900px)/2 - 28px),240px);left:auto;background-image:url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20280%20780%22%20fill%3D%22none%22%20stroke%3D%22%23fff0bd%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cg%20transform%3D%22translate%285%2018%29%20rotate%28-7%2060%2065%29%22%3E%3Cellipse%20cx%3D%2260%22%20cy%3D%2238%22%20rx%3D%2241%22%20ry%3D%2210%22%2F%3E%3Cpath%20d%3D%22M19%2038Q23%2099%2060%20103Q97%2099%20101%2038M101%2049C137%2037%20138%2085%20105%2083%22%2F%3E%3Cellipse%20cx%3D%2260%22%20cy%3D%22114%22%20rx%3D%2253%22%20ry%3D%228%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%28150%20210%29%20rotate%287%2048%2065%29%22%3E%3Cellipse%20cx%3D%2248%22%20cy%3D%228%22%20rx%3D%2217%22%20ry%3D%224%22%2F%3E%3Cpath%20d%3D%22M31%208L34%2039Q12%2060%2014%2096Q15%20125%2048%20128Q81%20125%2082%2096Q84%2060%2062%2039L65%208M22%2080Q48%2089%2074%2080%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%280%20410%29%20rotate%28-8%2060%2045%29%22%3E%3Cellipse%20cx%3D%2260%22%20cy%3D%2247%22%20rx%3D%2251%22%20ry%3D%2239%22%2F%3E%3Cellipse%20cx%3D%2260%22%20cy%3D%2247%22%20rx%3D%2240%22%20ry%3D%2229%22%2F%3E%3Cellipse%20cx%3D%2260%22%20cy%3D%2247%22%20rx%3D%2227%22%20ry%3D%2220%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%28150%20605%29%20rotate%289%2048%2040%29%22%3E%3Cellipse%20cx%3D%2248%22%20cy%3D%2221%22%20rx%3D%2243%22%20ry%3D%2210%22%2F%3E%3Cpath%20d%3D%22M5%2021Q13%2075%2048%2077Q83%2075%2091%2021M16%2051Q49%2064%2081%2051%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E');background-size:100% 100%}
body:has(#view-analyza.is-active)::before{left:10px}body:has(#view-analyza.is-active)::after{right:10px}
@media(max-width:1100px){body.consumer-mode:has(#view-analyza.is-active) .simple-home{max-width:780px}body:has(#view-analyza.is-active)::before,body:has(#view-analyza.is-active)::after{display:none}}

.sale-examples{max-width:780px;margin:24px auto;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
#home .hero-question-line{font-size:17px;line-height:1.4;margin:10px 0 6px}
#home .hero-description{display:block;font-size:16px;font-weight:400;margin-top:7px}
#home .database-coverage{font-size:14px;line-height:1.4;margin:0}
.home-proof-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-width:620px;margin:14px 0 8px}
.home-proof-point{min-width:0;display:grid;grid-template-columns:28px minmax(0,1fr);grid-template-rows:auto auto;column-gap:8px;align-items:center;padding:9px 10px;border:1px solid rgba(233,189,118,.2);border-radius:12px;background:rgba(255,255,255,.025)}
.home-proof-icon{grid-row:1/3;display:grid;place-items:center;width:28px;height:28px;border:1px solid rgba(233,189,118,.38);border-radius:50%;color:#e9bd76;font-size:12px;font-weight:700}
.home-proof-icon--europe{font-size:19px;font-weight:400}
.home-proof-icon--marks{font-size:16px}
.home-proof-point strong{font-size:15px;line-height:1.1;color:#f6f3ec}
.home-proof-point>span:last-child{font-size:10px;line-height:1.2;color:#c3cddd}
@media(max-width:480px){.home-proof-points{gap:6px}.home-proof-point{grid-template-columns:1fr;justify-items:start;padding:8px}.home-proof-icon{grid-row:auto;width:24px;height:24px;margin-bottom:4px}}
#modernHelp .guide-photo-row{display:grid;grid-template-columns:200px minmax(0,1fr);gap:20px;align-items:start;margin:16px 0 20px}
#modernHelp .guide-photo-row figure{margin:0;min-width:0}
#modernHelp .guide-photo-row img{display:block;width:200px;max-width:100%;height:150px;object-fit:contain;background:#eee;border-radius:4px}
#modernHelp .guide-photo-row figcaption{font-size:12px;line-height:1.4;color:var(--muted);margin-top:6px}
#home .art>p,#modernHelp .guide-photo-row figcaption,#home .sale-examples>p:not(.sale-example-note),#home .home-start-action p>span{font-style:italic}
#modernHelp .guide-photo-row p{margin:0;min-width:0}
@media(max-width:550px){#modernHelp .guide-photo-row{grid-template-columns:1fr;gap:12px}}
body:has(#view-uvod.is-active) .topbar .nav > :not([data-view="databaze"]):not([data-view="sbirka"]),
body:has(#view-uvod.is-active) .topbar .profi-entry{display:none}
#view-databaze .db-card a{color:#ffbd59;text-decoration:underline;text-underline-offset:3px}
#view-databaze .db-card a:hover,#view-databaze .db-card a:focus-visible{color:#ffda92}
.db-group-heading{grid-column:1/-1;margin:22px 0 0;padding:0 0 8px;border-bottom:1px solid rgba(239,209,140,.28);font-size:19px;line-height:1.35;color:#f0d9aa}.db-group-heading:first-child{margin-top:4px}.db-group-heading span{display:inline-flex;align-items:center;justify-content:center;min-width:28px;margin-left:6px;padding:2px 8px;border:1px solid rgba(239,209,140,.28);border-radius:999px;color:var(--muted);font-size:13px;font-weight:500}
.upload-photo-example{margin:14px 0 10px}
.upload-photo-example img{display:block;width:50%;height:auto;margin:0 auto;aspect-ratio:4/3;object-fit:contain;border-radius:10px;background:#e8e8e4}
.upload-photo-example figcaption{margin-top:6px;font-size:12px;line-height:1.4}
.home-start-action{margin:16px 0 0;text-align:left}
#home .home-start-action button.primary{min-height:62px;padding:15px 25px;font-size:21px;border-radius:10px;width:auto}
.topbar .profi-entry{margin-left:auto;flex-shrink:0;white-space:nowrap;color:var(--gold2)}
.topbar .profi-entry span{font-size:12px;color:var(--muted)}
#roadmapGrid[hidden]{display:none!important}
@media(max-width:900px){.topbar .profi-entry{align-self:flex-end}}
.home-start-action button{max-width:100%}
#home .home-start-action p{margin:10px 0 0;max-width:600px}
.sale-examples h2{font-size:20px;line-height:1.25;margin:0 0 8px;letter-spacing:0}
#home .sale-examples>p{font-size:13px;line-height:1.5;margin:8px 0}
.sale-examples-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:14px 0}
.sale-examples-grid article{display:grid;grid-template-columns:110px minmax(0,1fr);gap:8px 12px;align-content:start;min-width:0;padding:0;border:0;border-radius:0;background:transparent;overflow-wrap:anywhere}
.sale-examples-grid article>dl,.sale-examples-grid article>a:last-child{grid-column:2;font-size:13px}
.sale-examples-grid h3{font-size:22px;line-height:1.35;margin:8px 0 18px;letter-spacing:0}
.sale-example-caption{grid-column:1 / -1;grid-row:2;display:flex;align-items:baseline;gap:8px;font-style:italic;white-space:nowrap}
.sale-examples-grid .sale-example-name{font-size:14px;font-weight:500;line-height:1.4;margin:0}
.sale-example-photo{grid-column:1;grid-row:1;display:flex;align-items:center;justify-content:center;width:110px;height:110px;margin:0;background:transparent;border-radius:4px;overflow:hidden}
.sale-example-photo img{display:block;width:100%;height:100%;object-fit:contain}
.sale-example-photo img[hidden]{display:none}
.sale-example-photo span{padding:16px;color:var(--muted)}
#home .sale-example-category{color:var(--gold2);font-size:14px;margin:0}
#home .sale-examples-grid .sale-example-price{font-size:14px;font-weight:500;line-height:1.4;color:var(--gold2);margin:0}
.sale-examples-grid dl{margin:0;line-height:1.4}
.sale-examples-grid dt{font-weight:700;margin:0 0 2px}
.sale-examples-grid dt:not(:first-child){margin-top:6px}
.sale-examples-grid dd{margin:0;color:var(--muted)}
#home .sale-examples .sale-example-note{font-size:14px;color:var(--muted);line-height:1.6}
.sale-examples a{color:var(--gold2);text-underline-offset:3px}
@media(max-width:650px){.sale-examples-grid{grid-template-columns:1fr;gap:18px}.sale-examples h2{font-size:20px}}
#simpleAnswer[hidden],.simple-result-head[hidden],#aiExportBtn[hidden]{display:none!important}.needs-attention{outline:2px solid #dfb76c;outline-offset:4px}
.public-app-qr{display:flex;align-items:center;gap:22px;margin:22px 0;padding:22px;border:1px solid var(--line);border-radius:18px;background:var(--panel)}.public-app-qr img{background:#fff;padding:8px;image-rendering:pixelated;border-radius:10px;flex-shrink:0}.public-app-qr h3{margin:0 0 8px}.public-app-qr p{font-size:14px;color:var(--muted)}.public-app-qr a{color:var(--gold2)}@media(max-width:600px){.public-app-qr{flex-direction:column;text-align:center}}

/* Aktualizovaná databáze: značky u názvů */
.db-mark-preview{margin:10px 0}.db-mark-preview summary{cursor:pointer;color:#efd18c;font-weight:600}.db-mark-preview figure{margin:12px 0;padding:14px;border:1px solid rgba(255,255,255,.2);border-radius:12px;max-width:280px;background:rgba(12,32,43,.35)}.db-mark-preview img{display:block;width:100%;height:180px;object-fit:contain;border-radius:8px;background:#f3f1ea}.db-mark-preview figcaption{font-size:.8rem;line-height:1.5;margin-top:10px}
.db-brand-mark{flex:0 0 92px;width:92px;margin:0 14px 0 0;text-align:center}.db-brand-mark img{display:block;width:92px;height:80px;object-fit:contain;background:#f3f1ea;border-radius:10px;padding:6px;box-sizing:border-box}.db-brand-mark figcaption{margin-top:6px;font-size:.78rem}.db-brand-mark a{color:#efd18c}.db-card__top>div{min-width:0;flex:1}.db-card__top{align-items:flex-start}
.db-brand-mark figcaption small{display:block;margin-top:5px;font-size:.66rem;line-height:1.35}
.db-unmarked{margin:12px 0;padding:12px 14px;border:1px solid rgba(239,209,140,.4);border-radius:10px;background:rgba(239,209,140,.08)}.db-unmarked p{font-size:.85rem;margin:6px 0;line-height:1.5}.db-unmarked a{font-size:.8rem}
.db-brand-mark__preview{display:block;width:92px;height:80px;background:#f3f1ea;border-radius:10px;padding:6px;box-sizing:border-box;overflow:hidden}
.db-brand-marks{display:grid;grid-template-columns:repeat(2,minmax(0,118px));gap:14px;flex:0 0 auto;max-width:250px;margin-right:14px}.db-brand-marks:has(>figure:only-child){grid-template-columns:118px}.db-card__top>.db-brand-marks{flex:0 0 auto}.db-brand-marks .db-brand-mark{width:118px;margin:0}.db-brand-marks img,.db-brand-marks .db-brand-mark__preview{margin:0 auto}.db-brand-mark figcaption span{display:block;font-weight:600;line-height:1.4}.db-brand-mark figcaption p{font-size:.72rem;line-height:1.45;margin:6px 0}.db-brand-mark__corroboration{display:block;margin-top:4px}@media(max-width:650px){.db-card__top{flex-wrap:wrap}.db-card__top>.db-brand-marks{order:3;flex-basis:100%;max-width:none;margin:14px 0 0;grid-template-columns:repeat(auto-fit,118px)}}
.db-mark-preview{margin:8px 0}.db-mark-preview summary{cursor:pointer;color:#efd18c;font-size:.86rem}.db-mark-preview figure{margin:8px 0}.db-mark-preview img{display:block;width:130px;height:120px;object-fit:contain;background:#f3f1ea;border-radius:8px}.db-mark-preview figcaption{max-width:260px;font-size:.8rem}.db-mark-preview figcaption a{color:#efd18c}
.db-mark-notes{margin:14px 0;padding:12px 14px;border:1px solid rgba(239,209,140,.25);border-radius:10px}.db-mark-notes p{font-size:.8rem;line-height:1.55;margin:5px 0}.db-mark-notes b{color:#efd18c}
.db-brand-mark__missing{display:flex;align-items:center;justify-content:center;min-height:80px;padding:8px;box-sizing:border-box;border:1px dashed rgba(239,209,140,.55);border-radius:10px;color:#efd18c;font-size:.75rem;line-height:1.5}
.db-product-gallery{margin:16px 0;padding:14px;border:1px solid rgba(239,209,140,.28);border-radius:12px;background:rgba(12,32,43,.25)}.db-product-gallery h4{margin:0 0 12px;color:#efd18c}.db-product-gallery__item h5{margin:0 0 6px}.db-product-gallery__item>p{font-size:.84rem;line-height:1.5;margin:6px 0 10px}.db-product-gallery__images{display:flex;flex-wrap:wrap;gap:12px}.db-product-gallery figure{margin:0;width:min(100%,220px)}.db-product-gallery figure img{display:block;width:100%;height:220px;object-fit:contain;border-radius:8px;background:#f3f1ea}.db-product-gallery figcaption,.db-product-gallery small{display:block;margin-top:5px;font-size:.75rem;color:var(--muted)}.db-product-gallery .muted{font-size:.75rem}.db-product-feature{margin:14px 0 18px;max-width:320px}.db-product-feature img{display:block;width:100%;max-height:280px;object-fit:contain;border-radius:10px;background:#f3f1ea}.db-product-feature figcaption{margin-top:6px;font-size:.82rem;color:var(--muted)}.db-product-feature small,.db-product-feature figcaption>a{display:block;margin-top:4px;font-size:.76rem}

/* Hero image reduced by 25% while keeping it centered in the column. */
#home .art{width:75%;justify-self:center}
#home .art img{height:293px}
@media(max-width:760px){#home .art img{height:210px}}

/* Stable prototype mode: show the professional introduction on the home view only. */
body.professional-mode:has(#view-uvod.is-active) .professional-hero{display:block}
body.professional-mode:has(#view-uvod.is-active) #home>.hero{display:none}
body.consumer-mode:not(.professional-mode) .professional-hero{display:none}
body:has(#view-uvod.is-active) .topbar .profi-entry{display:inline-flex}
.topbar .profi-entry{margin-left:auto;flex-shrink:0;white-space:nowrap;color:var(--gold2)}
@media(max-width:900px){.topbar .profi-entry{align-self:center}}

/* Compact database controls with softer tones and a single-line Czech label. */
.db-country-picker{width:min(50%,440px);min-width:360px;max-width:440px}
.db-country-tab{padding:9px 7px;font-size:14px;white-space:nowrap}
.db-country-tab[data-db-scope="cz"]{background:rgba(203,185,143,.13);border-color:rgba(203,185,143,.25);color:#e1d6be}
.db-country-tab[data-db-scope="europe"]{background:#3b5668;border-color:#5d7482;color:#d6e0e7}
.db-country-tab.is-active{background:#cbb98f;border-color:#cbb98f;color:#28343d}
#dbCzSelectSlot .db-company-select,#dbEuropeSelectSlot .db-company-select{background:#cbb98f;border-color:#bdaa7e;color:#28343d}
@media(max-width:700px){.db-country-picker{width:min(100%,440px);min-width:0;max-width:440px}}
@media(max-width:420px){.db-country-tab{padding-inline:6px;font-size:13px}}

#view-databaze .db-card-more{margin-top:12px;border-top:1px solid rgba(239,209,140,.2)}
#view-databaze .db-card-more>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;padding:11px 2px 2px;color:#efd9a8;font-weight:650}
#view-databaze .db-card-more>summary::-webkit-details-marker{display:none}
#view-databaze .db-card-more>summary::after{content:"＋";color:#cfba8e;font-size:18px;line-height:1}
#view-databaze .db-card-more[open]>summary::after{content:"−"}
#view-databaze .db-card-more>summary:focus-visible{outline:2px solid #cfba8e;outline-offset:3px;border-radius:4px}
#view-databaze .db-card-more__content{padding-top:8px}

#view-databaze .db-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));align-items:start}
#view-databaze .db-logo-card{padding:8px;background:rgba(255,255,255,.018)}
#view-databaze .db-card__logo-trigger{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;width:100%;min-height:120px;padding:8px;border:1px solid transparent;border-radius:12px;background:transparent;cursor:pointer}
#view-databaze .db-card__logo-trigger:hover,#view-databaze .db-card__logo-trigger:focus-visible{border-color:rgba(207,186,142,.48);background:rgba(207,186,142,.055);outline:none}
#view-databaze .db-logo-tile{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;width:100%}
#view-databaze .db-logo-image{display:block;width:100%;max-width:124px;height:100px;object-fit:contain;padding:8px;border:1px solid rgba(207,186,142,.22);border-radius:12px;background:#f7f5ef}
#view-databaze .db-logo-name{display:block;width:100%;color:#e6e1d7;font-size:13px;font-weight:600;line-height:1.35;text-align:center;overflow-wrap:anywhere}
#view-databaze .db-card__logo-trigger:not(:has(.db-logo-image)){min-height:120px;justify-content:center}
#view-databaze .db-card__details[hidden]{display:none!important}
#view-databaze .db-card__details:not([hidden]){padding:8px 2px 0;scroll-margin-top:16px}
#view-databaze .db-logo-card:has(.db-card__details:not([hidden])){grid-column:1/-1}
#view-databaze .db-card__details-close{display:block;width:auto;margin:8px 0 12px;padding:7px 12px;border:1px solid rgba(207,186,142,.32);border-radius:9px;background:rgba(207,186,142,.08);color:#e1d6be;font:500 13px system-ui;cursor:pointer}
#view-databaze .db-card__details-close:hover{background:rgba(207,186,142,.16)}
.sale-examples{max-width:780px;margin:24px auto;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.sale-examples h2{font-size:20px;line-height:1.25;margin:0 0 12px;letter-spacing:0}
.sale-examples-link{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border:1px solid rgba(239,209,140,.35);border-radius:10px;background:rgba(239,209,140,.12);color:var(--gold2);font-size:14px;font-weight:700;text-decoration:none;transition:background-color .18s ease,border-color .18s ease}
.sale-examples-link:hover,.sale-examples-link:focus-visible{background:rgba(239,209,140,.2);border-color:var(--gold2);text-decoration:underline;text-underline-offset:3px}

/* A single plain-language result; research stays in native disclosure. */
#aiResult .result-summary {display:block; padding-left:1.4rem; margin:1rem 0; max-width:65ch;}
#aiResult .result-summary li {display:list-item; margin:.65rem 0; line-height:1.6; overflow-wrap:anywhere;}
#aiResult .result-details {margin-top:1.2rem; padding-top:1rem; border-top:1px solid currentColor;}
#aiResult .result-details summary {cursor:pointer; font-weight:600; padding:.5rem 0;}
#aiResult .result-details p {line-height:1.6; overflow-wrap:anywhere;}

/* Three focused upload cards, inspired by the supplied reference. */
.professional-only-links{display:none!important}
body.professional-mode .professional-only-links{display:block!important}
#simpleHome>.simple-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
#simpleHome>.simple-steps>.photo-entry-card,
body:has(#view-analyza.is-active) #simpleHome>.simple-steps>.photo-entry-card{display:flex;flex-direction:column;min-width:0;padding:22px 18px;background:#fffefb;color:#17271f;border:1px solid #dfe6da;border-radius:19px;box-shadow:0 8px 22px #15332612}
#simpleHome .photo-entry-heading{display:flex;align-items:center;gap:11px;margin-bottom:10px}
#simpleHome .photo-entry-heading h3{font:700 clamp(20px,2vw,25px)/1.15 Inter,Arial,sans-serif;letter-spacing:-.035em;margin:0;color:#17271f}
#simpleHome .photo-entry-number{display:grid;place-items:center;flex:none;width:33px;height:33px;border:1px solid #adc1aa;border-radius:50%;background:linear-gradient(#f2f6eb,#bed0b9);color:#456b56;font-size:20px;font-weight:600}
#simpleHome .photo-entry-instruction{color:#48544b;font-size:14px;line-height:1.45;margin:0 0 18px;min-height:4.35em}
#simpleHome .photo-entry-card .simple-upload,
body:has(#view-analyza.is-active) #simpleHome .photo-entry-card .simple-upload{padding:0;margin:auto 0 0;background:transparent;border:0;border-radius:0}
#simpleHome .photo-entry-card .simple-upload-actions{display:flex;flex-wrap:wrap;gap:9px}
#simpleHome .photo-entry-card .simple-upload-actions [data-photo-capture],
#simpleHome .photo-entry-card .simple-upload-actions [data-photo-choose]{display:flex;align-items:center;justify-content:center;gap:7px;flex:1 1 120px;min-height:42px;background:#fff;color:#233d2d;border:1px solid #b8c5b7;border-radius:8px;font-size:14px;font-weight:600;padding:9px 6px}
:is(#simpleHome .photo-entry-card,.damage-photo-card) svg{width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
:is(#simpleHome .photo-entry-card,.damage-photo-card) .simple-upload-hint{color:#667466;font-size:11px;font-weight:400;line-height:1.45;margin-top:9px}
:is(#simpleHome .photo-entry-card,.damage-photo-card) .simple-upload-preview{width:100%;height:160px;object-fit:contain;margin:0 0 12px;background:#edf1e8;border-radius:9px}
:is(#simpleHome .photo-entry-card,.damage-photo-card) .photo-remove{flex:1 0 100%;min-width:0;background:transparent;border:1px solid #d9c9c3;color:#8d4235;margin:0;font-size:13px}
#simpleHome .photo-entry-card .simple-photo-status{color:#536b59;margin:10px 0 0;font-size:12px}
#simpleHome .photo-entry-card .simple-text-label{margin:0 0 13px}
#simpleHome .photo-entry-note-label{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#simpleHome .photo-entry-card #aiDescription{min-height:85px;width:100%;border:1px solid #cbd3c6;border-radius:9px;background:#f7f8f3;color:#24352b;resize:vertical;font-size:13px;line-height:1.5;padding:10px}
#simpleHome .simple-steps .photo-entry-card [data-simple-next]{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin-top:auto;padding:11px 10px;border:0;border-radius:8px;background:#bd5417;color:#fff;font-size:14px;font-weight:700;white-space:normal}
#simpleHome .simple-steps .photo-entry-card [data-simple-next]:hover{background:#a74710}
#simpleHome .photo-entry-card button:focus-visible{outline:3px solid #63816a;outline-offset:3px}
@media(max-width:760px){#simpleHome>.simple-steps{grid-template-columns:1fr}#simpleHome .photo-entry-instruction{min-height:0}#simpleHome .photo-entry-heading h3{font-size:24px}}

/* Basic assessment starts with the condition question; keep progress and errors visible. */
body:not(.professional-mode) #aiStatus.assessment-complete{display:none!important}
.condition-controls>div{width:100%;min-width:0}
.condition-controls label{display:block;margin-bottom:10px;font-weight:700}
.condition-controls select{width:100%}
.condition-message:empty{display:none}


/* Damage uploads share the appearance of the main upload cards. */
#simpleHome .damage-photo-card{padding:22px 18px;margin:18px 0;background:#fffefb;color:#17271f;border:1px solid #dfe6da;border-radius:19px;box-shadow:0 8px 22px #15332612}
#simpleHome .damage-photo-card[hidden],.damage-photo-card input[hidden]{display:none!important}
#simpleHome .damage-photo-card h3{font:700 25px/1.15 Inter,Arial,sans-serif;letter-spacing:-.035em;margin:0 0 10px;color:#17271f}
#simpleHome .damage-photo-card .photo-entry-instruction{display:block;color:#48544b;font-size:14px;line-height:1.45;margin:0 0 18px}
#simpleHome .damage-photo-card .simple-upload-actions{display:flex;flex-wrap:wrap;gap:9px}
#simpleHome .damage-photo-card .simple-upload-actions button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1 1 120px;min-height:42px;background:#fff;color:#233d2d;border:1px solid #b8c5b7;border-radius:8px;font-size:14px;font-weight:600;padding:9px 6px}
.damage-photo-card .photo-upload-icon{display:flex;order:-1}
.damage-photo-previews{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin:12px 0}
.damage-photo-previews>div{min-width:0}
.damage-photo-previews .photo-remove{width:100%}
#simpleHome .damage-photo-verify{background:#bd5417;color:#fff;border:0;border-radius:8px;padding:11px 10px;white-space:normal}
#simpleHome .damage-photo-card button:focus-visible{outline:3px solid #63816a;outline-offset:3px}
#simpleHome .damage-photo-card [role=status]{color:#536b59;font-size:12px}

/* The basic result contains three facts and two next actions. */
body:not(.professional-mode) #simpleWizard .collection-primary-actions,
body:not(.professional-mode) #simpleWizard .simple-honesty,
body:not(.professional-mode) #simpleWizard .simple-trust-strip,
body:not(.professional-mode) #simpleWizard .simple-outcome-actions,
body:not(.professional-mode) #simpleWizard #simpleOutcomeMessage,
body:not(.professional-mode) #simpleWizard .simple-nav-row{display:none!important}
#aiResult .result-simple-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 0}
#aiResult .result-simple-actions .btn{display:flex;align-items:center;justify-content:center;min-width:0;margin:0;padding:12px 10px;text-decoration:none;white-space:normal}


#aiResult .result-simple-actions{align-items:start}
#aiResult .auction-action-group{display:grid;gap:9px;min-width:0}
#aiResult .auction-inspiration,#aiResult .auction-inspiration:visited{color:#e7bd6b;font-size:13px;font-weight:600;line-height:1.4;text-align:center;overflow-wrap:anywhere;text-underline-offset:3px}
#aiResult .auction-inspiration:hover,#aiResult .auction-inspiration:focus-visible{color:#f0cb85;text-decoration-thickness:2px}
#aiResult .result-next-item{display:block;width:100%;margin-top:20px;min-height:48px;background:#e7bd6b;color:#29495c;font-size:16px;font-weight:700}
#aiResult .result-next-item:hover{background:#f0cb85}


/* Blue upload palette from the user's reference, with distinct panel surfaces. */
#view-analyza #simpleHome{background:#365568!important;border-color:#6f8b9c!important;color:#f3f6f8}
#simpleHome .photo-explanation{color:#eef3f6}
#simpleHome>.simple-steps>.photo-entry-card,
body:has(#view-analyza.is-active) #simpleHome>.simple-steps>.photo-entry-card,
#simpleHome .damage-photo-card{background:#2c495b!important;color:#f3f6f8!important;border:1px solid #7893a3!important;box-shadow:0 8px 22px #102b3b24}
#simpleHome .photo-entry-heading h3,#simpleHome .damage-photo-card h3{color:#f4f3ee!important}
#simpleHome .photo-entry-number{background:#41677e!important;color:#fff!important;border-color:#8ba7b8!important}
#simpleHome .photo-entry-card .photo-entry-instruction,
#simpleHome .damage-photo-card .photo-entry-instruction{color:#d3e0e8!important}
#simpleHome .photo-entry-card .simple-upload-hint,
#simpleHome .photo-entry-card .simple-photo-status,
#simpleHome .damage-photo-card [role=status]{color:#c5d8e4!important}
#simpleHome .photo-entry-card .simple-upload-actions button{background:#3b6077!important;color:#fff!important;border-color:#8ba7b8!important}
#simpleHome .photo-entry-card .simple-upload-actions button:hover{background:#496f87!important}
#simpleHome .photo-entry-card #aiDescription{background:#213c4d!important;color:#f5f7f9!important;caret-color:#fff;border-color:#8ba7b8!important}
#simpleHome .photo-entry-card #aiDescription::placeholder{color:#c0d2de!important;opacity:1}
#simpleHome .simple-steps .photo-entry-card [data-simple-next],
#simpleHome .damage-photo-card .damage-photo-verify{background:#4b7189!important;color:#fff!important;border:1px solid #a3bbc9!important}
#simpleHome .simple-steps .photo-entry-card [data-simple-next]:hover,
#simpleHome .damage-photo-card .damage-photo-verify:hover{background:#5b8199!important}
#simpleHome .photo-entry-card .simple-upload-preview{background:#203b4d}
#simpleHome .photo-entry-card .photo-remove{background:transparent!important;color:#f6d9d5!important;border-color:#c5a6a6!important}
#simpleHome .photo-entry-card button:focus-visible,#simpleHome #aiDescription:focus-visible{outline:3px solid #cee5f2!important;outline-offset:3px}

/* Match the golden plus accent in the supplied photo-documentation reference. */
#simpleHome{--upload-accent:#e7bd6b}
#simpleHome .photo-entry-heading h3,#simpleHome .damage-photo-card h3{font-family:Inter,Arial,sans-serif;font-weight:600;color:var(--upload-accent)!important}
#simpleHome .photo-entry-number{color:var(--upload-accent)!important;background:#2c495b!important;border-color:#b49b6e!important}
#simpleHome .photo-entry-card .simple-upload-actions button,
#simpleHome .simple-steps .photo-entry-card [data-simple-next],
#simpleHome .damage-photo-card .damage-photo-verify{color:var(--upload-accent)!important;background:#29495c!important;border-color:#b49b6e!important;font-family:Inter,Arial,sans-serif}
#simpleHome .photo-entry-card .simple-upload-actions button:hover,
#simpleHome .simple-steps .photo-entry-card [data-simple-next]:hover,
#simpleHome .damage-photo-card .damage-photo-verify:hover{background:#304e61!important}
#simpleHome .photo-entry-card .photo-remove{color:#f6d9d5!important;border-color:#c5a6a6!important}

/* One large valuation action matches the three photo controls beside it. */
#simpleHome>.simple-steps .simple-upload-actions{display:grid;grid-template-columns:1fr;grid-template-rows:repeat(3,46px);gap:9px}
#simpleHome>.simple-steps .simple-upload-actions button{width:100%;height:46px;min-height:46px;margin:0}
#simpleHome>.simple-steps .simple-upload-actions button[hidden]{display:none!important}
#simpleHome>.simple-steps .photo-entry-card [data-simple-next]{width:100%;min-height:156px;margin:16px 0 0;padding:22px 16px;font-size:clamp(18px,1.8vw,23px);line-height:1.35;white-space:normal;text-align:center;border-radius:12px;box-sizing:border-box}
#simpleHome>.simple-steps .photo-entry-card [data-simple-next]{background:#e7bd6b!important;color:#29495c!important;border-color:#e7bd6b!important}
#simpleHome>.simple-steps .photo-entry-card [data-simple-next]:hover{background:#f0cb85!important;color:#29495c!important}


/* Ask about condition before the fourth and final valuation step. */
#simpleConditionStep{min-width:0}
#simpleConditionStep .condition-controls{display:grid;grid-template-columns:minmax(0,1fr);margin:0;padding:0;gap:0}
#simpleConditionStep .condition-controls label{color:#e7bd6b;font-size:14px;line-height:1.45}
#simpleConditionStep .condition-controls select{min-width:0;max-width:100%;background:#213c4d;color:#f3f6f8;border:1px solid #8ba7b8;padding:12px 8px;border-radius:9px;font-size:14px}

/* Approved five-step form; only photo removal uses red bold text. */
body button.photo-remove.photo-remove,#simpleHome button.photo-remove,#simpleHome .photo-entry-card .simple-upload-actions .photo-remove,#simpleHome .damage-photo-card .photo-remove{background:transparent!important;border:0!important;border-radius:0!important;color:#ff4545!important;font-size:12px!important;font-weight:700!important;padding:8px 0!important;box-shadow:none!important;white-space:normal;line-height:1.4}
body button.photo-remove.photo-remove:hover,#simpleHome button.photo-remove:hover,#simpleHome .photo-entry-card .simple-upload-actions .photo-remove:hover,#simpleHome .damage-photo-card .photo-remove:hover{background:transparent!important;color:#ff4545!important;text-decoration:underline;text-underline-offset:3px}
#simpleHome .mark-absence{display:flex;align-items:flex-start;gap:8px;color:#edf3f7;font-size:13px;line-height:1.4;margin-top:12px}
#simpleHome .mark-absence input{width:17px;height:17px;flex:0 0 17px;margin:2px 0 0;accent-color:#e7bd6b}

#simpleConditionStep .condition-message{font-size:13px;color:#d3e0e8}
#simpleConditionStep .damage-photo-card{padding:12px 0;border:0!important;background:transparent!important;box-shadow:none}
#simpleConditionStep .damage-photo-card h3{font-size:18px}
#simpleConditionStep .damage-photo-previews{grid-template-columns:minmax(0,1fr)}

#aiResult .result-price-disclaimer{display:block;margin:14px 0 0;font-size:14px;line-height:1.6;color:#d3e0e8}


/* Size the form to its own available width, with three photos then two questions. */
#simpleHome{container-type:inline-size;min-width:0;max-width:100%;overflow-wrap:anywhere}
#simpleHome>.simple-steps{grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:none;gap:20px}
#simpleHome>.simple-steps>.photo-entry-card,
body:has(#view-analyza.is-active) #simpleHome>.simple-steps>.photo-entry-card{display:flex;flex-direction:column;grid-row:auto;min-width:0;max-width:100%;box-sizing:border-box;padding:22px 20px}
#simpleHome>.simple-steps>.photo-entry-card{grid-column:span 2}
#simpleHome>.simple-steps>.photo-entry-card:nth-child(n+4){grid-column:span 3}
#simpleHome .photo-entry-card *,#aiResult *{box-sizing:border-box;min-width:0}
#simpleHome .photo-entry-heading{align-items:flex-start;min-width:0;max-width:100%}
#simpleHome .photo-entry-heading h3{min-width:0;max-width:100%;font-size:clamp(21px,2vw,25px);line-height:1.25;overflow-wrap:anywhere}
#simpleHome .photo-entry-number{flex:0 0 33px}
#simpleHome .photo-entry-card :is(p,label,button,a,small,span),#aiResult :is(p,li,a,button,h3){max-width:100%;overflow-wrap:anywhere;white-space:normal}
#simpleHome .photo-entry-instruction{min-height:0;margin-bottom:18px}
#simpleHome .photo-entry-card :is(.simple-upload,.simple-text-label,.condition-controls){display:block;width:100%;max-width:100%;min-width:0}
#simpleHome .photo-entry-card .simple-upload{margin-top:auto}
#simpleHome .photo-entry-card :is(textarea,select){display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box}
#simpleHome .photo-entry-card #aiDescription{height:110px;min-height:110px}
#simpleHome>.simple-steps .simple-upload-actions{grid-template-rows:repeat(3,minmax(46px,auto));width:100%;max-width:100%}
#simpleHome>.simple-steps .simple-upload-actions button{height:auto;min-height:46px;max-width:100%;white-space:normal}
#simpleHome>.simple-steps .photo-entry-card [data-simple-next]{height:auto;min-height:156px;max-width:100%;margin-top:16px}
#simpleConditionStep .condition-controls{display:grid;margin-top:16px;gap:8px}
@container(max-width:820px){
 #simpleHome>.simple-steps>.photo-entry-card{grid-column:span 3}
 #simpleHome>.simple-steps>.photo-entry-card:last-child{grid-column:span 6}
}
@container(max-width:560px){
 #simpleHome>.simple-steps>.photo-entry-card:nth-child(n){grid-column:span 6}
}

/* Progressive valuation: a whole-item photo first, a mark below the result. */
#simpleHome:not(.show-extra-photos)>.simple-steps>.photo-entry-card:nth-child(4){display:none!important}
#simpleHome>.simple-steps>.photo-entry-card:first-child{grid-column:span 6!important}
#simpleHome>.simple-steps>.photo-entry-card:nth-child(n+4){grid-column:span 3}
#toggleExtraPhotos{margin:0 0 20px;max-width:100%;white-space:normal}
.mark-refinement{margin:24px 0;padding:28px;border:2px solid #a46b3b;border-radius:16px;background:#fff7ec;color:#30251e;max-width:100%;box-sizing:border-box}
.mark-refinement h3{font-size:clamp(22px,4vw,30px);line-height:1.2;margin-top:0}
.mark-refinement .btn{width:100%;min-height:58px;white-space:normal;overflow-wrap:anywhere}
.mark-match-result{padding:18px;border-left:4px solid #39744e;background:#eff8f0;font-weight:700;overflow-wrap:anywhere}
#aiResult .mark-refinement :is(h3,p){color:#30251e}
#aiResult .mark-refinement .btn{background:#e7bd6b;color:#29495c;font-size:18px;font-weight:700}
#aiResult .mark-match-result{color:#254d32}
body.consumer-mode #simpleNeedMorePhotos{display:none!important}
@container(max-width:560px){#simpleHome>.simple-steps>.photo-entry-card:nth-child(n+4){grid-column:span 6}}
