.som-form fieldset{border:1px solid #d9c79b;border-radius:14px;padding:20px;margin:20px 0}.som-form legend{font-weight:700;padding:0 8px}.som-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}.som-fields label{display:block;font-size:15px}.som-fields input,.som-fields textarea{display:block;width:100%;margin-top:6px;box-sizing:border-box}.som-actions{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}.som-original{max-width:160px;max-height:230px;object-fit:contain;display:block;margin:18px auto}.som-sheet{font-family:Georgia,serif;background:#fffefb;color:#10233e;border:double 4px #be963f;padding:28px;margin:28px auto;max-width:800px;box-sizing:border-box}.som-sheet header{text-align:center;border-bottom:1px solid #be963f;margin-bottom:24px}.som-sheet h1{font-size:36px;margin:10px 0;overflow-wrap:anywhere}.som-sheet header>p:first-child{font:14px sans-serif;letter-spacing:.16em}.som-layout{display:grid;grid-template-columns:minmax(130px,30%) 1fr;gap:28px}.som-layout:not(:has(figure)){grid-template-columns:1fr}.som-sheet figure{margin:0}.som-sheet img{width:100%;max-height:700px;object-fit:contain}.som-sheet figcaption{font:12px/1.4 sans-serif;color:#565656}.som-sheet section{break-inside:avoid;margin-bottom:20px}.som-sheet h2{font-size:17px;color:#886722;margin:0 0 6px;text-transform:uppercase;letter-spacing:.04em}.som-sheet section p{font-size:16px;line-height:1.55;margin:0;overflow-wrap:anywhere}.som-sheet footer{border-top:1px solid #be963f;padding-top:12px;font:12px/1.5 sans-serif;margin-top:22px}.som-print{margin:0;background:white}.som-print .som-sheet{max-width:none}.som-form button:disabled{opacity:.5;cursor:wait}@media(max-width:600px){.som-fields{grid-template-columns:1fr}.som-sheet{padding:18px}.som-layout{grid-template-columns:1fr}.som-sheet figure{max-width:180px;margin:auto}.som-sheet h1{font-size:28px}}@page{size:A4;margin:12mm}@media print{.som-sheet{margin:0;padding:15px;border-width:3px;width:100%}.som-layout{grid-template-columns:28% 1fr;gap:20px}.som-sheet h1{font-size:28px}.som-sheet section p{font-size:11pt}.som-sheet h2{font-size:12pt}.som-sheet img{max-height:215mm}.som-sheet figure{max-width:none}.som-sheet section{break-inside:avoid}}

/* Mac photo transfer: aligned, accessible paste surface. */
.som-mac-paste{display:block;box-sizing:border-box;width:100%;max-width:680px;margin:22px 0;padding:20px 22px;background:#fff;border:1px solid #eadbd3;border-radius:18px;box-shadow:0 4px 16px #54203206}
.som-paste-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.som-paste-heading label{display:block;margin:0;font-size:16px;font-weight:650;color:#482432}
.som-paste-shortcut{flex-shrink:0;border:1px solid #e8d8ce;border-radius:7px;padding:4px 9px;background:#fcf7f1;color:#805366;font-size:14px}
.som-mac-paste p{margin:7px 0 14px;font-size:14px;line-height:1.5;color:#735b64}
.som-mac-paste #som-photo-paste{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:78px;margin:0;padding:16px;border:1px dashed #cbb3a5;border-radius:12px;background:#fdfaf6;color:#482432;font:inherit;font-size:16px;line-height:1.5;resize:vertical;outline:none;box-shadow:none;transition:border-color .15s,box-shadow .15s}
.som-mac-paste #som-photo-paste::placeholder{color:#866c76;opacity:1}
.som-mac-paste #som-photo-paste:focus{border:1px solid #9a3152;outline:none;box-shadow:0 0 0 3px #9a31521a;background:white}
@media(max-width:600px){.som-mac-paste{padding:16px;margin:18px 0}.som-paste-heading{gap:10px}.som-mac-paste #som-photo-paste{min-height:100px}}

.som-form fieldset{background:#fff;border:1px solid #ecdcd4;border-radius:20px;padding:24px;min-width:0}.som-form legend{font-size:18px;color:#641c34}.som-actions .btn{font-size:16px;white-space:normal;text-align:center;min-height:48px;display:inline-flex;align-items:center;justify-content:center}.som-ai-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.som-ai-actions>.btn:first-child{grid-column:1/-1;background:#641c34;color:#fff}.som-form input,.som-form select,.som-form textarea{color:#42212c;background:#fff;font-size:16px}.som-form select{max-width:100%;padding:12px;border:1px solid #dfccc3;border-radius:10px}.som-studio-preview{margin:20px auto;text-align:center}.som-studio-preview img{display:block;max-width:180px;max-height:300px;object-fit:contain;margin:auto}.som-studio-preview figcaption{font-size:14px;margin-top:8px;color:#735b64}.som-form .som-mac-paste{max-width:none;background:#fcf8f4}.som-sheet{scroll-margin-top:20px}@media(max-width:600px){.som-form fieldset{padding:16px}.som-actions{display:grid;grid-template-columns:1fr;gap:10px}.som-actions>.btn{width:100%;box-sizing:border-box}.som-ai-actions{grid-template-columns:1fr}.som-fields label{font-size:16px}.som-form legend{font-size:17px}}
/* Editorial tasting sheet: ivory paper, navy typography and fine gold rules. */
.som-sheet{max-width:1000px;background:#fffdf6;border:double 5px #b89543;padding:28px;color:#12243e}.som-editorial{display:grid;grid-template-columns:minmax(130px,25%) minmax(0,1fr);gap:28px}.som-editorial:not(:has(.som-bottle)){grid-template-columns:1fr}.som-bottle{display:flex;flex-direction:column;align-items:center}.som-bottle img{max-height:820px;mix-blend-mode:multiply}.som-bottle figcaption{margin-top:12px;text-align:center}.som-content{min-width:0}.som-sheet header{padding-bottom:18px;margin-bottom:24px}.som-sheet h1{font-size:clamp(28px,4vw,52px);line-height:1.12;margin:10px 0}.som-sheet header p{font-size:18px;line-height:1.45}.som-sheet header .som-wine-name{font-size:23px;font-style:italic}.som-sheet h2{color:#12243e;font-size:19px;letter-spacing:.03em;text-align:center;line-height:1.4}.som-tasting>h2{display:flex;gap:12px;align-items:center}.som-tasting>h2:before,.som-tasting>h2:after{content:'';height:1px;flex:1;background:#b89543}.som-sense{display:grid;grid-template-columns:66px minmax(0,1fr);gap:14px;margin:18px 0}.som-sense>span{color:#89671d;font-size:17px;font-style:italic}.som-sheet .som-sense p{font-size:18px;line-height:1.6;margin:0}.som-triptych{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px;margin-top:28px}.som-triptych section{padding:0 12px;border-left:1px solid #d9c99e}.som-triptych section:first-child{padding-left:0;border-left:0}.som-triptych h2{font-size:16px}.som-sheet .som-triptych p{font-size:16px;line-height:1.5}.som-profile-tag{border:1px solid #b89543;border-radius:18px;padding:6px 10px}.som-sheet .som-conclusion{border:1px solid #b89543;border-radius:12px;padding:18px;margin-top:22px}.som-conclusion p{font-style:italic}.som-sheet footer{font-size:12px;color:#566070}.som-sheet section{break-inside:avoid}.som-sheet p{overflow-wrap:anywhere}
@media(max-width:650px){.som-sheet{padding:18px}.som-editorial{grid-template-columns:1fr;gap:18px}.som-bottle img{max-height:340px}.som-bottle{max-width:180px;margin:auto!important}.som-triptych{grid-template-columns:1fr;gap:0}.som-triptych section,.som-triptych section:first-child{border-left:0;border-top:1px solid #d9c99e;padding:14px 0;margin:0}.som-sheet h2{font-size:18px}.som-sheet .som-triptych p{font-size:17px}.som-sense{grid-template-columns:54px minmax(0,1fr);gap:10px}.som-sheet header .som-wine-name{font-size:21px}}
@media print{.som-sheet{max-width:none;padding:6mm;margin:0}.som-editorial{grid-template-columns:25% minmax(0,1fr);gap:6mm}.som-bottle{max-width:none!important}.som-bottle img{max-height:230mm}.som-sheet h1{font-size:28pt}.som-sheet header p{font-size:12pt}.som-sheet header .som-wine-name{font-size:16pt}.som-sheet .som-sense p{font-size:11pt}.som-sense>span{font-size:11pt}.som-sense{grid-template-columns:13mm 1fr;gap:3mm;margin:4mm 0}.som-triptych{grid-template-columns:1fr 1fr 1fr;gap:3mm;margin-top:5mm}.som-triptych section,.som-triptych section:first-child{border-top:0;border-left:1px solid #d9c99e;padding:0 2mm}.som-triptych section:first-child{border-left:0}.som-sheet .som-triptych p{font-size:10pt}.som-sheet .som-triptych h2{font-size:10pt}.som-sheet h2{font-size:13pt}.som-sheet .som-conclusion{padding:4mm;margin-top:5mm}.som-sheet footer,.som-sheet figcaption{font-size:8pt}}
.som-form{color:#42212c}.som-form label,.som-form summary{color:#42212c}.som-form #som-notes{display:block;width:100%;box-sizing:border-box;min-height:150px;padding:16px;border:1px solid #cbb3a5;border-radius:14px;background:white;color:#42212c;font:inherit;font-size:18px;line-height:1.6;margin:10px 0}.som-options{border:1px solid #dfccc3;border-radius:14px;background:#fff;padding:16px;margin:16px 0}.som-options summary{font-size:16px;font-weight:600;cursor:pointer}.som-options .btn,.som-options select{margin-top:14px}.som-identity{padding:16px;background:#fcf8f4;border-radius:12px;margin:18px 0;font-size:18px}.som-identity p{font-size:16px;line-height:1.6;margin:6px 0 0}.som-status{background:#fff;color:#482432;border:1px solid #dfccc3;padding:16px;border-radius:12px;font-size:16px}.som-form .note{color:#735b64;font-size:14px;line-height:1.6}
.som-captures{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.som-captures figure{margin:0;max-width:130px;background:#fcf8f4;padding:10px;border-radius:12px}.som-captures img{width:100%;height:130px;object-fit:contain}.som-captures figcaption{font-size:14px;color:#482432;line-height:1.4}.som-research-text{white-space:normal;font:16px/1.6 system-ui,sans-serif;color:#42212c}.som-sheet .som-options{font-family:system-ui,sans-serif}.som-sheet .som-options p{font-size:14px}.som-sheet .som-options a{color:#641c34;text-decoration:underline}.som-sheet .som-options summary{font-size:14px}.som-sheet .som-options{background:#fffdf6}.som-form #som-camera{display:flex;flex-wrap:wrap;gap:12px}.som-form #som-camera video{border-radius:14px;flex-basis:100%}.som-form #som-camera span{font-size:14px;line-height:1.5;color:#482432;flex-basis:100%}@media print{.som-sheet .som-options{border:0;padding:0;margin:4mm 0}.som-sheet .som-options summary{font-size:9pt}.som-sheet .som-options p{font-size:8pt}}
.som-drop{padding:28px 20px;text-align:center;background:#fcf8f4;border:2px dashed #c6a87a;border-radius:18px;color:#482432;margin:20px 0;transition:background .15s,border-color .15s}.som-drop strong{font-size:19px}.som-drop p{font-size:16px;line-height:1.5;margin:8px 0}.som-drop span{font-size:14px;line-height:1.5;display:block;color:#735b64}.som-drop.is-over,.som-drop:focus-visible{background:#f7eadb;border-color:#641c34;outline:2px solid #641c34;outline-offset:3px}
.som-drop #som-photo-paste{display:block;box-sizing:border-box;width:100%;max-width:620px;margin:16px auto;padding:18px;min-height:90px;background:#fff;border:1px solid #cbb3a5;border-radius:12px;color:#42212c;font:16px/1.6 system-ui,sans-serif;resize:vertical}.som-drop #som-photo-paste:focus{outline:3px solid #9a315233;border-color:#9a3152}.som-drop #som-photo-paste::placeholder{color:#735b64;opacity:1}.som-form label.btn:not(.soft){color:#fff}.som-saved{margin-top:32px}.som-saved h2{font:600 26px/1.4 Georgia,serif}.som-saved-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.som-saved-card{display:flex;flex-direction:column;text-align:left;gap:10px;padding:14px;border:1px solid #d9c79b;border-radius:16px;background:#fff;color:#42212c;cursor:pointer;font:16px/1.5 system-ui,sans-serif}.som-saved-card img{width:100%;height:220px;object-fit:contain;background:#fcf8f1}.som-saved-card span{font-size:14px;color:#735b64}.som-saved-card:focus-visible{outline:3px solid #9a3152;outline-offset:3px}@media(max-width:600px){.som-saved-grid{grid-template-columns:1fr 1fr;gap:12px}.som-saved-card{padding:10px}.som-saved-card img{height:170px}}
.som-coaching{background:#fcf8f1;border:1px solid #c6a87a;border-radius:18px;padding:24px;margin-top:24px;color:#42212c;scroll-margin-top:24px}.som-coaching h2{font:600 24px/1.4 Georgia,serif;color:#641c34;margin:8px 0 14px}.som-coaching p{font-size:16px;line-height:1.6}.som-coaching .som-step{font:600 14px/1.5 system-ui,sans-serif;letter-spacing:.04em;color:#735b64}.som-coach-choices{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.som-coach-choices .btn{min-height:48px}.som-coaching textarea{display:block;box-sizing:border-box;width:100%;padding:14px;font:18px/1.5 system-ui,sans-serif;border:1px solid #cbb3a5;border-radius:12px;margin:8px 0 16px}.som-reference{display:block;width:100%;max-width:320px;height:auto;margin:20px auto}.som-poster{margin:28px auto;max-width:1000px;scroll-margin-top:24px}.som-poster img{display:block;width:100%;height:auto;box-shadow:0 12px 40px #12243e22}.som-poster figcaption{font:14px/1.5 system-ui,sans-serif;margin-top:12px;color:var(--muted,#735b64)}.som-print-poster{display:block;width:100%;height:272mm;object-fit:contain;margin:0;break-inside:avoid}.som-print:has(.som-print-poster){padding:0;margin:0}.som-poster-text .som-sheet{max-width:none}@media(max-width:600px){.som-coaching{padding:18px}.som-coaching h2{font-size:21px}.som-coach-choices{display:grid;grid-template-columns:1fr 1fr}.som-coach-choices .btn{padding:12px 8px}.som-poster{margin:20px 0}}@media print{.som-poster-text,.som-poster figcaption{display:none}.som-poster{margin:0}.som-poster img{box-shadow:none;max-height:272mm;object-fit:contain}}
.som-sheet .som-intro{font:italic 20px/1.6 Georgia,serif;margin:18px 0 24px}.som-distinction{border:1px solid #b89543;border-radius:12px;padding:16px;margin:20px 0;text-align:center;background:#f6eedc}.som-distinction p{font-size:16px;line-height:1.5;margin:6px 0}.som-purchase{border:1px dashed #b89543;border-radius:12px;padding:14px;margin:20px 0}.som-sheet .som-purchase p{font-size:16px}@media print{.som-sheet .som-intro{font-size:12pt;line-height:1.45;margin:4mm 0}.som-distinction{padding:3mm;margin:4mm 0}.som-distinction p,.som-sheet .som-purchase p{font-size:10pt}.som-purchase{padding:3mm;margin:4mm 0}}
/* One complete A4 page, with a discreet credit and no technical captions. */
.som-sheet footer.som-credit{border:0;padding:0;margin:16px 0 0;text-align:center;font:12px/1.3 Georgia,serif;color:#857f73}.som-print-page{position:relative;width:194mm;height:280mm;margin:0 auto;overflow:hidden;box-sizing:border-box;break-inside:avoid;break-after:avoid}.som-print-page>.som-sheet{position:absolute;top:0;left:0;width:194mm;max-width:none;box-sizing:border-box;margin:0}.som-print-page>.som-print-poster{position:absolute;inset:0;width:194mm;height:280mm;max-height:none;object-fit:contain;margin:0}.som-print{padding:0;margin:0;background:#fff}.som-print-page .som-options{display:none}@page{size:A4 portrait;margin:8mm}@media print{html:has(.som-print),body.som-print{padding:0;margin:0;width:194mm}.som-print-page{margin:0;width:194mm;height:280mm}.som-sheet footer.som-credit{font-size:6.5pt;line-height:1.2;margin:3mm 0 0}.som-print-page .som-bottle img{max-width:100%;width:100%;max-height:240mm;object-fit:contain}.som-print-page .som-sheet header{margin-bottom:4mm;padding-bottom:2mm}.som-print-page .som-sheet h1{margin:2mm 0}.som-print-page .som-sense{margin:3mm 0}.som-print-page .som-profile-tag{padding:1mm 2mm;margin:1mm 0}.som-print-page .som-triptych{margin-top:4mm}.som-print-page .som-sheet .som-conclusion{margin-top:4mm;padding:3mm}.som-print-page .som-sheet .som-options{display:none}}
/* A calm, progressive atelier with two distinct final deliverables. */
.som-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:0 0 1.4rem}.som-toolbar p{margin:0;color:var(--muted,#d2bfae)}
.som-progress{list-style:none;display:flex;padding:0;gap:.7rem;margin:0 0 1.5rem}.som-progress li{flex:1;display:flex;align-items:center;gap:.6rem;padding:.8rem;border:1px solid #85705e;border-radius:12px;font-size:.9rem;opacity:.6}.som-progress li.is-active{opacity:1}.som-progress li[aria-current]{border-color:#d7b775;background:#ffffff0a}.som-progress span{display:grid;place-items:center;flex-shrink:0;width:1.6rem;height:1.6rem;border-radius:50%;background:#d7b775;color:#29121a;font-weight:700}
.som-form fieldset{margin-bottom:1.2rem}.som-form fieldset>.som-options:first-child{margin:0}.som-review{background:#fbf8ef;color:#14243b;padding:clamp(1rem,3vw,2rem);border-radius:14px;border:1px solid #c7a65e;margin-bottom:1.4rem}.som-review header{border-bottom:1px solid #c7a65e;margin-bottom:1rem}.som-review h2{font-family:Georgia,serif;font-size:1.8rem;color:#14243b}.som-review h3{font-size:.83rem;text-transform:uppercase;letter-spacing:.06em;color:#735a29;margin:1rem 0 .3rem}.som-review p{line-height:1.6;margin:.35rem 0 1rem;color:#14243b}
.som-results{margin:2rem 0}.som-results>header{text-align:center;margin-bottom:1.3rem}.som-result-grid{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:1.3rem;align-items:start}.som-result-card{padding:1rem;background:#fbf8ef;color:#14243b;border:1px solid #c7a65e;border-radius:16px;overflow:hidden}.som-result-card h3{font-family:Georgia,serif;font-size:1.2rem;margin:.2rem 0 1rem;color:#14243b}.som-result-card img{display:block;width:100%;height:auto;border-radius:4px;margin-bottom:1rem}.som-result-card .som-result-bottle{height:460px;object-fit:contain;background:white}.som-result-card .som-actions{margin-bottom:0}.som-results>.btn{margin:1.3rem 0}.som-form .som-captures:empty{display:none}
@media(max-width:600px){.som-toolbar{align-items:flex-start}.som-toolbar p{max-width:60%}.som-progress{gap:.35rem}.som-progress li{flex-direction:column;padding:.65rem .3rem;gap:.3rem;text-align:center;font-size:.78rem}.som-result-grid{grid-template-columns:1fr}.som-result-card .som-result-bottle{height:350px}.som-result-card .som-actions{flex-direction:column}.som-result-card .som-actions .btn{width:100%}}
.carnet-inline-status{font-size:.9rem;line-height:1.5;border-left:3px solid #c7a65e;padding:.55rem .8rem;background:#ffffff08;border-radius:0 8px 8px 0}.carnet-backup label{display:block;margin:1rem 0}.carnet-backup select{width:100%;margin-top:.5rem;min-height:44px;background:#fff;color:#14243b;border-radius:8px;padding:.65rem;border:1px solid #c7a65e}.carnet-restore-preview,.carnet-conflicts{margin:1rem 0;padding:1rem;border:1px solid #c7a65e;border-radius:12px;background:#ffffff09}.carnet-conflicts>div+div{margin-top:1rem;padding-top:1rem;border-top:1px solid #85705e}
