/* v0.2 interior pages: designed to inherit the established v0.1 palette, brand and spacing. */
.interior-crumb{display:flex;align-items:center;gap:12px;padding-top:29px;padding-bottom:10px;color:#9aa79c;font-size:11px;font-weight:700;min-height:70px;flex-wrap:wrap}
.interior-crumb a{color:#5b7866;transition:color .2s}.interior-crumb a:hover{color:var(--peach)}.interior-crumb strong{color:var(--ink);font-weight:750}
.puzzle-hero{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:74px;align-items:center;padding-top:15px;padding-bottom:100px}
.puzzle-visual{min-width:0;position:relative;min-height:685px;display:flex;align-items:center;justify-content:center}
.puzzle-visual-blob{position:absolute;inset:52px 16px 72px 5px;border-radius:46% 50% 48% 44% / 44% 53% 51% 56%;background:#e6f0e8;transform:rotate(-10deg)}
.puzzle-visual-blob:after{content:'';position:absolute;width:72px;height:72px;border:2px solid rgba(47,101,70,.14);border-radius:50%;right:-4px;top:58px}
.paper-sheet{width:min(83%,432px);position:relative;z-index:1;background:#fff;min-height:572px;transform:rotate(-3deg);box-shadow:0 26px 80px rgba(25,62,39,.13);padding:29px 26px 22px;display:flex;flex-direction:column;border-radius:3px}
.paper-kicker,.paper-bottom{display:flex;justify-content:space-between;gap:8px;color:#84958a;letter-spacing:1.2px;font-size:9px;font-weight:850;line-height:1.4}
.paper-kicker{border-bottom:1px solid #edf1e9;padding-bottom:12px}
.paper-heading{margin:30px 0 10px;color:var(--ink);text-align:left}
.paper-heading div{font:400 25px/1.16 Georgia,serif;letter-spacing:-.7px;margin-bottom:6px}
.paper-heading small{font-size:10px;color:#89978f}
.paper-dots{flex:1;display:flex;align-items:center;justify-content:center;min-height:300px}
.paper-dots svg{width:100%;height:auto;max-height:325px;display:block}
.paper-bottom{border-top:1px solid #ebefea;padding-top:18px}
.paper-sticker{position:absolute;right:2%;top:76px;z-index:3;background:#f2b98e;width:103px;height:103px;border-radius:50%;border:6px solid var(--paper);display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(14deg);font:italic 16px/1.15 Georgia,serif;color:#735239;text-align:center}
.paper-sticker span{font-size:20px;margin-top:7px}
.visual-whisper{position:absolute;bottom:22px;left:1%;color:#67826d;font:italic 15px Georgia,serif;transform:rotate(-6deg)}
.intro-number{font-size:10px;letter-spacing:2.1px;color:#849a8b;font-weight:850;margin-top:17px}
.puzzle-title{font:400 clamp(49px,5.3vw,75px)/1.07 Georgia,serif;letter-spacing:-3px;color:var(--ink);margin:22px 0 18px;max-width:540px}
.puzzle-title em,.answer-title em{font-weight:400;color:var(--peach)}
.puzzle-lead{font-size:16px;line-height:1.8;color:#667f70;margin-bottom:25px;max-width:440px}
.fact-strip{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:30px}
.fact-strip span{padding:9px 13px;background:#edf3ed;border-radius:99px;color:#52725d;font-size:11px;font-weight:750}
.download-panel{background:white;border:1px solid #e5e9e2;box-shadow:0 14px 40px rgba(31,48,39,.035);padding:25px;border-radius:20px;max-width:480px}
.download-top{display:flex;align-items:center;gap:15px;margin-bottom:20px}
.download-icon{width:47px;height:47px;display:grid;place-items:center;border-radius:16px;background:#e8f3e9;color:var(--ink);font-size:25px;font-weight:500;flex:0 0 auto}
.download-top strong{color:var(--ink);font:400 23px/1.25 Georgia,serif;letter-spacing:-.45px}
.download-top p{color:#85948b;font-size:11px;line-height:1.65;margin:7px 0 0}
.paper-select-label{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #edf0eb;padding:19px 0 17px;color:#688072;font-weight:750;font-size:12px}
.paper-select-label select{background:#f9fbf8;border:1px solid #e2eae1;border-radius:10px;color:#365846;padding:10px 10px;max-width:220px;font-size:12px}
.button-wide{width:100%;min-height:52px;text-align:center}.prototype-note{color:#a0a9a2;font-size:10px;line-height:1.65;text-align:center;margin:12px 0 0}
.secondary-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:21px}.secondary-actions .light-button{padding:13px 18px}
.story-and-steps{border-top:1px solid #e8ebe4;display:grid;grid-template-columns:1.08fr .92fr;gap:90px;padding-top:70px;padding-bottom:90px}
.story-card{background:#e7f1e9;border-radius:25px;padding:45px 52px;position:relative;overflow:hidden;min-height:304px}
.story-card:after{content:'';position:absolute;right:-76px;bottom:-108px;border:1px solid #c6daca;width:270px;height:270px;border-radius:50%}
.story-card h2{font-size:34px;letter-spacing:-1.3px;margin-bottom:21px}.story-card p{font:italic 18px/1.85 Georgia,serif;color:#547360;max-width:430px;position:relative;z-index:1}
.story-doodle{font:26px Georgia,serif;color:#dd9176;text-align:right;letter-spacing:21px;margin-top:26px}
.mini-steps{padding-top:23px}.mini-steps>.section-topline{margin-bottom:24px}.mini-step{display:flex;align-items:flex-start;gap:19px;padding:17px 0;border-bottom:1px solid #e3e9e1}.mini-step:last-child{border:0}
.mini-step-no{font:italic 26px Georgia,serif;color:var(--peach);flex:0 0 37px}.mini-step strong{display:block;font:400 22px Georgia,serif;color:var(--ink);margin-bottom:6px}.mini-step p{font-size:12px;color:#829087;line-height:1.55;margin:0}
.interior-related,.answer-recommendations{padding-top:13px;padding-bottom:111px}.related-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:27px}.related-heading h2{font-size:clamp(33px,3.6vw,47px);max-width:750px}.related-heading p{font-size:12px;color:#8a978e;margin:9px 0 0}.related-heading .text-action{white-space:nowrap;flex:0 0 auto}
.related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.related-tile{display:block;background:#fff;border:1px solid #e6eae3;border-radius:20px;overflow:hidden;transition:transform .2s,box-shadow .2s}.related-tile:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.related-art{height:210px;display:flex;align-items:center;justify-content:center;position:relative}.related-art:after{content:'✳';position:absolute;right:17px;top:13px;color:rgba(51,102,75,.25);font-size:26px}.related-art svg{width:88%;height:90%}.related-details{padding:17px 20px 20px}.related-category{font-size:9px;letter-spacing:1.4px;text-transform:uppercase;font-weight:850;color:#d98567}.related-name{font:400 23px Georgia,serif;color:var(--ink);margin:8px 0 5px}.related-meta{font-size:11px;color:#90a095}
/* Answer page */
.answer-heading{padding-top:27px;padding-bottom:34px}.answer-header-flex{display:flex;justify-content:space-between;align-items:end;gap:28px}.answer-title{font:400 clamp(49px,5.3vw,72px)/1.08 Georgia,serif;letter-spacing:-3px;color:var(--ink);margin:0 0 17px}.answer-heading p{font-size:14px;color:#7c8d82;line-height:1.65;margin:0}.answer-kicker{font-size:9px;font-weight:850;letter-spacing:2px;color:#95a497;padding-bottom:10px;white-space:nowrap}.answer-kicker span{color:var(--peach);font-size:18px;margin:0 12px}
.answer-content{display:grid;grid-template-columns:minmax(0,1.27fr) minmax(295px,.73fr);align-items:start;gap:27px;padding-bottom:53px}.answer-stage-wrap{background:#fff;border:1px solid #e5e9e3;border-radius:25px;padding:22px 23px 25px;box-shadow:0 14px 45px rgba(39,55,43,.035)}
.answer-frame-top{display:flex;justify-content:space-between;gap:15px;align-items:center;font-size:10px;font-weight:850;letter-spacing:1.4px;color:#819289;margin-bottom:17px}.frame-brand{color:#2f5b47}.tiny-decor{color:var(--peach);margin-left:5px}
.reveal-stage{height:440px;background:#e7f1e9;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;border-radius:17px}
.reveal-stage:before{content:'';position:absolute;width:430px;height:430px;border:1px solid rgba(36,86,57,.13);border-radius:50%;right:-75px;top:-125px}
.reveal-stage:after{content:'✳';position:absolute;right:27px;top:15px;color:rgba(38,102,67,.24);font-size:29px}
.reveal-art{width:min(97%,600px);position:relative;z-index:1}.reveal-art svg{width:100%;height:auto;display:block;overflow:visible}
.reveal-art .reveal-outline{fill:none;stroke:#295747;stroke-width:3.8;stroke-linecap:round;stroke-linejoin:round}
.reveal-art .reveal-fill{fill:#98bfb2;stroke:none;opacity:0;transition:opacity .55s ease}
.reveal-art .reveal-details{opacity:0;transition:opacity .55s ease;stroke:#3c6656;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
/* Saved Studio face borders are restored on completed artwork; do not override their stroke. */
.reveal-art .puzzle-dots{transition:opacity .6s ease}
.reveal-stage.finished .reveal-fill{opacity:.9}.reveal-stage.finished .reveal-details{opacity:1}.reveal-stage.finished .puzzle-dots{opacity:.32}
.reveal-stage .stage-bottom-title{position:absolute;left:21px;bottom:17px;z-index:2;font:italic 18px Georgia,serif;color:#64836e}
.reveal-complete{position:absolute;right:17px;bottom:17px;font-size:11px;font-weight:850;letter-spacing:.5px;color:#325e49;opacity:0;transform:translateY(7px);transition:opacity .35s,transform .35s;z-index:2}
.reveal-stage.finished .reveal-complete{opacity:1;transform:translateY(0)}
.timeline{margin:22px 2px 17px}.timeline-track{height:6px;background:#edf1ed;border-radius:100px;overflow:hidden}.timeline-progress{height:100%;width:0;background:var(--peach);border-radius:100px;transition:width 3.8s linear}.timeline-label{display:flex;justify-content:space-between;gap:12px;color:#8a988c;font-size:10px;margin-top:11px}.timeline-label strong{color:#466959;font-size:10px}
.reveal-buttons{display:flex;gap:10px;flex-wrap:wrap}.reveal-buttons .pill-button{flex:1 1 210px}.reveal-buttons .light-button{flex:1 1 160px}
.answer-side{display:flex;flex-direction:column;gap:18px}.answer-side-card{border-radius:23px;background:#fff5e8;padding:34px 30px 32px;min-height:275px}.answer-side-card .section-topline{margin-bottom:17px}.answer-side-card h2{font-size:35px;line-height:1.18;letter-spacing:-1px;margin-bottom:19px}.answer-side-card p{font:italic 15px/1.85 Georgia,serif;color:#8b7564;margin-bottom:20px}.answer-pills{display:flex;flex-wrap:wrap;gap:7px}.answer-pills span{background:#fff;border:1px solid #f5e2ce;color:#896e5d;font-size:11px;font-weight:700;padding:8px 12px;border-radius:99px}
.answer-next{border:1px solid #e7ece5;padding:26px 29px 24px;border-radius:22px;background:#fff;min-height:271px}.answer-next-mark{font-size:32px;color:var(--peach);line-height:1;margin-bottom:12px}.answer-next h3{font:400 26px/1.23 Georgia,serif;color:var(--ink);margin:0 0 9px}.answer-next p{font-size:11.5px;color:#86958a;line-height:1.75;margin:0 0 7px}.answer-next .text-action{margin-top:8px}.outline-wide{display:block;width:100%;border-top:1px solid #e8ebe4;margin-top:16px;padding-top:15px;font-size:11px;font-weight:750;color:#708579}
.answer-recommendations{border-top:1px solid var(--line);padding-top:70px;padding-bottom:66px}.concept-footnote{color:#a3aaa3;font-size:10px;line-height:1.65;text-align:center;padding-bottom:45px}
@media(max-width:1080px){.puzzle-hero{gap:32px}.puzzle-visual{min-height:620px}.paper-sheet{min-height:515px;padding:25px 22px 20px}.story-and-steps{gap:35px}.answer-content{grid-template-columns:minmax(0,1.15fr) minmax(270px,.85fr)}.reveal-stage{height:370px}}
@media(max-width:760px){.interior-crumb{padding-top:15px;min-height:55px}.puzzle-hero{grid-template-columns:1fr;gap:7px;padding-top:3px;padding-bottom:57px}.puzzle-visual{min-height:490px;order:2}.puzzle-intro{order:1}.puzzle-visual-blob{inset:30px 13% 35px}.paper-sheet{min-height:410px;width:min(75%,375px)}.paper-heading{margin:18px 0 0}.paper-dots{min-height:250px}.paper-sticker{right:12%;top:34px;width:85px;height:85px;font-size:13px}.visual-whisper{bottom:4px;left:12%}.puzzle-title{font-size:clamp(52px,9vw,71px);margin:12px 0}.puzzle-lead{margin-bottom:18px}.fact-strip{margin-bottom:19px}.download-panel{max-width:none}.story-and-steps{grid-template-columns:1fr;gap:23px;padding-top:45px;padding-bottom:62px}.story-card{padding:33px 30px;min-height:0}.mini-steps{padding:0 10px}.related-grid{gap:12px}.related-art{height:165px}.related-details{padding:13px}.related-name{font-size:20px}.related-heading{align-items:start}.answer-heading{padding-top:14px;padding-bottom:27px}.answer-header-flex{display:block}.answer-kicker{display:none}.answer-title{font-size:clamp(50px,9vw,69px)}.answer-content{grid-template-columns:1fr}.answer-stage-wrap{padding:16px}.reveal-stage{height:400px}.answer-side{display:grid;grid-template-columns:1fr 1fr}.answer-side-card,.answer-next{padding:22px;min-height:0}.answer-side-card h2{font-size:29px}.answer-next h3{font-size:25px}.answer-recommendations{padding-top:54px}}
@media(max-width:520px){.interior-crumb{gap:8px;font-size:10px}.puzzle-hero{padding-bottom:40px}.puzzle-title{font-size:clamp(49px,12vw,62px);letter-spacing:-2.4px}.puzzle-visual{min-height:415px}.paper-sheet{min-height:355px;width:80%;padding:18px 16px 14px}.paper-heading{margin:15px 0 0}.paper-heading div{font-size:20px}.paper-heading small{font-size:8px}.paper-dots{min-height:205px}.paper-kicker,.paper-bottom{font-size:7px}.paper-sticker{right:4%;top:26px;width:75px;height:75px}.visual-whisper{left:6%;font-size:12px}.download-panel{padding:19px}.paper-select-label{align-items:start;flex-direction:column;gap:8px}.paper-select-label select{width:100%;max-width:none}.download-top strong{font-size:20px}.secondary-actions{gap:8px}.secondary-actions .light-button{flex:1}.related-heading{display:block}.related-heading .text-action{margin-top:14px}.related-grid{grid-template-columns:1fr;gap:13px}.related-tile{display:grid;grid-template-columns:38% 62%;min-height:131px}.related-art{height:100%}.related-art svg{width:100%;height:100%}.related-details{display:flex;flex-direction:column;justify-content:center}.related-name{font-size:23px}.answer-title{letter-spacing:-2.1px}.answer-content{gap:13px}.reveal-stage{height:295px}.reveal-buttons{flex-direction:column}.reveal-buttons .pill-button,.reveal-buttons .light-button{flex:0 0 auto;width:100%;min-height:48px}.answer-side{grid-template-columns:1fr}.answer-side-card,.answer-next{padding:24px}.answer-stage-wrap{padding:12px}.answer-frame-top{font-size:8px}.timeline-label{font-size:9px}.answer-recommendations{padding-bottom:45px}}
@media(prefers-reduced-motion:reduce){.timeline-progress,.reveal-art .reveal-fill,.reveal-art .reveal-details,.reveal-art .puzzle-dots{transition:none!important}}

/* v0.3: support original Studio 1000px coordinate drawings */
.reveal-art svg .svg-dot{fill:#355949;stroke:none}
.reveal-art svg .svg-dot-start{fill:#ed8968;stroke:none}
.reveal-art svg .svg-num{fill:#567366;font:600 19px Arial,sans-serif}
.reveal-art svg .reveal-outline{stroke-width:3.8}
.reveal-art svg .reveal-details{stroke:none}
.reveal-stage.finished .reveal-fill{opacity:1}
.reveal-stage.finished .reveal-details{opacity:1}
.reveal-stage.finished .puzzle-dots{opacity:.08}

.reveal-stage .reveal-art{width:94%;height:89%;display:flex;align-items:center;justify-content:center}
.reveal-stage .reveal-art svg{width:100%;height:100%;max-width:100%;max-height:100%;overflow:hidden}

/* v0.1.1: preserve Studio rear/foreground layers and their explicit face strokes. */
.reveal-art .reveal-back-faces{opacity:0;transition:opacity .55s ease}
.reveal-stage.finished .reveal-back-faces{opacity:1}
.reveal-art .reveal-back-faces .studio-face,.reveal-art .reveal-details .studio-face{paint-order:normal}
@media(prefers-reduced-motion:reduce){.reveal-art .reveal-back-faces{transition:none!important}}

/* v0.1.3: preprinted Studio paths stay visible from the FIRST animation frame.
   Both fixed layers and the complete point/number layout come from the same
   worksheet SVG used on the homepage. Only the traced route is animated.
   Completion faces retain the original v0.1.1 coloring logic. */
.reveal-art .reveal-worksheet-back,
.reveal-art .reveal-worksheet-front {opacity:1;}
.reveal-art .reveal-worksheet-back .dtw-ws-fixed-face,
.reveal-art .reveal-worksheet-front .dtw-ws-fixed-face {paint-order:normal;}
.reveal-art .puzzle-dots {opacity:1;}
.reveal-stage.finished .puzzle-dots {opacity:0;}
.reveal-stage.finished .reveal-worksheet-front {opacity:0;}
/* Hide initial outlines only once the exact full-color faces are visible. */
.reveal-art .reveal-worksheet-front {transition:opacity .55s ease;}
@media(prefers-reduced-motion:reduce){.reveal-art .reveal-worksheet-front{transition:none!important}}

/* v0.1.4: Shared worksheet / completed-picture controls for modal and QR view. */
.dtw-reveal-tabs{display:flex;gap:7px;align-items:center;margin:0 0 12px;padding:4px;background:#f3f5f0;border-radius:12px;width:fit-content;max-width:100%;}
.dtw-reveal-tabs button{border:1px solid transparent;border-radius:9px;background:transparent;color:#6c8577;font-size:11px;font-weight:800;padding:9px 16px;white-space:normal;line-height:1.25;}
.dtw-reveal-tabs button[aria-selected="true"]{background:#fff;border-color:#e0e8e1;color:#234737;box-shadow:0 2px 9px rgba(22,54,34,.06);}
.dtw-scrub-track{position:relative;overflow:visible;height:6px;margin:12px 0 17px;}
.dtw-scrub-track .timeline-progress{transition:none;}
.dtw-scrub-track input[type="range"]{position:absolute;left:0;top:-15px;width:100%;height:35px;margin:0;padding:0;opacity:1;appearance:none;-webkit-appearance:none;background:transparent;cursor:pointer;touch-action:pan-y;}
.dtw-scrub-track input[type="range"]::-webkit-slider-runnable-track{height:6px;background:transparent;border:0;}
.dtw-scrub-track input[type="range"]::-moz-range-track{height:6px;background:transparent;border:0;}
.dtw-scrub-track input[type="range"]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:#2f604d;border:3px solid #fff;box-shadow:0 1px 5px rgba(20,54,39,.29);width:19px;height:19px;margin-top:-7px;border-radius:50%;}
.dtw-scrub-track input[type="range"]::-moz-range-thumb{background:#2f604d;border:3px solid #fff;box-shadow:0 1px 5px rgba(20,54,39,.29);width:15px;height:15px;border-radius:50%;}
.dtw-scrub-track input[type="range"]:focus-visible{outline:2px solid var(--peach);outline-offset:8px;}
.dtw-qr-reveal-buttons{gap:8px;}
.dtw-qr-reveal-buttons .pill-button{flex:1 1 185px;}
.dtw-qr-reveal-buttons .light-button{flex:1 1 120px;}

/* QR visits should see the animated picture without having to scroll past a hero. */
.interior-crumb.dtw-answer-crumb{padding-top:15px;padding-bottom:7px;min-height:47px;}
.answer-heading.dtw-answer-compact-heading{padding-top:1px;padding-bottom:16px;}
.dtw-answer-compact-heading .section-topline{margin-bottom:8px;}
.dtw-compact-heading-row{display:flex;align-items:end;justify-content:space-between;gap:16px;}
.dtw-answer-compact-heading .answer-title{font-size:clamp(28px,3.3vw,42px);letter-spacing:-1.3px;line-height:1.16;margin:0 0 5px;}
.dtw-answer-compact-heading p{font-size:12px;line-height:1.45;}
.dtw-compact-caption{font-size:9px;letter-spacing:1.8px;font-weight:850;color:#81988c;white-space:nowrap;margin-bottom:5px;}
.dtw-qr-answer-content .answer-stage-wrap{padding:16px 18px 19px;}
.dtw-qr-answer-content .answer-frame-top{margin-bottom:11px;}
.dtw-qr-answer-content .reveal-stage{height:355px;}
.dtw-qr-answer-content .timeline{margin:20px 2px 13px;}
.dtw-qr-answer-content .answer-side-card{min-height:0;padding:26px 27px 24px;}
.dtw-qr-answer-content .answer-next{min-height:0;padding:23px 27px 22px;}
.dtw-qr-answer-content{padding-bottom:36px;}

/* Gallery detail: answer reveal as an accessible, scroll-preserving overlay. */
.dtw-answer-modal[hidden]{display:none!important;}
.dtw-answer-modal{position:fixed;inset:0;z-index:100001;display:flex;align-items:center;justify-content:center;padding:18px;}
.dtw-modal-backdrop{position:absolute;inset:0;background:rgba(17,39,31,.64);backdrop-filter:blur(4px);}
.dtw-modal-panel{position:relative;z-index:1;width:min(1040px,100%);max-height:calc(100vh - 36px);max-height:calc(100dvh - 36px);overflow-y:auto;overscroll-behavior:contain;border-radius:25px;background:#fbfaf6;padding:24px 27px 28px;box-shadow:0 30px 130px rgba(0,0,0,.23);}
.dtw-modal-panel:focus{outline:none;}
.dtw-modal-header{display:flex;align-items:start;justify-content:space-between;gap:14px;margin-bottom:16px;padding-right:4px;}
.dtw-modal-eyebrow{display:block;color:#b18266;font-size:9px;font-weight:850;letter-spacing:1.65px;margin-bottom:6px;}
.dtw-modal-header h2{font:400 clamp(28px,3.1vw,39px)/1.16 Georgia,serif;letter-spacing:-1px;margin:0 0 4px;color:var(--ink);}
.dtw-modal-header p{font-size:11px;color:#829386;margin:0;line-height:1.5;}
/* v0.1.4.2: geometrically center the close icon, independent of font glyph metrics. */
.dtw-answer-modal .dtw-modal-close{box-sizing:border-box;width:40px;height:40px;min-width:40px;min-height:40px;flex:0 0 40px;margin:0;padding:0;display:flex;align-items:center;justify-content:center;appearance:none;background:#fff;color:#385546;border:1px solid #dfe6dd;border-radius:50%;font-size:0;line-height:0;cursor:pointer;}
.dtw-answer-modal .dtw-modal-close svg{display:block;width:18px;height:18px;flex:0 0 18px;}
.dtw-modal-close:hover{background:#e9f3eb;}
.dtw-modal-columns{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(235px,.72fr);gap:20px;align-items:stretch;}
.dtw-modal-viewer{min-width:0;background:#fff;border:1px solid #e4e9e2;border-radius:19px;padding:15px;}
.dtw-modal-stage{height:360px;}
.dtw-modal-stage .reveal-art{height:92%;width:95%;}
.dtw-modal-stage-caption{position:absolute;left:14px;bottom:11px;color:#6d8776;font-size:10px;font-family:Georgia,serif;font-style:italic;z-index:2;}
.dtw-modal-timeline{margin:18px 4px 11px;}
.dtw-modal-actions{gap:8px;}
.dtw-modal-actions .pill-button{flex:1 1 155px;min-width:0;}
.dtw-modal-actions .light-button{flex:1 1 115px;min-width:0;padding:11px 13px;}
.dtw-modal-aside{background:#fff4e6;border-radius:19px;padding:24px 21px 19px;display:flex;flex-direction:column;}
.dtw-modal-aside .section-topline{margin-bottom:12px;}
.dtw-modal-aside h3{color:var(--ink);font:400 30px/1.16 Georgia,serif;letter-spacing:-1px;margin:0 0 17px;}
.dtw-modal-aside p{font:italic 14px/1.75 Georgia,serif;color:#8f765d;margin:0 0 20px;overflow-wrap:anywhere;}
.dtw-modal-facts{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:18px;}
.dtw-modal-facts span{border:1px solid #f2dfc8;border-radius:99px;background:#fff;padding:7px 10px;color:#8a6c53;font-size:10px;font-weight:800;}
.dtw-modal-secondary{border-top:1px solid #eadcc8;padding-top:15px;margin-top:auto;display:grid;gap:10px;}
.dtw-modal-secondary a{font-size:12px;font-weight:850;color:#1f4d39;text-decoration:none;}
.dtw-modal-secondary a:hover{text-decoration:underline;}
.dtw-modal-secondary span{font-size:10px;color:#947f6c;line-height:1.5;}
body.dtw-modal-open{overscroll-behavior:none;}
@media(max-width:900px){.dtw-modal-columns{grid-template-columns:minmax(0,1fr) minmax(220px,.75fr);gap:12px;}.dtw-modal-stage{height:310px;}.dtw-modal-aside{padding:20px 16px;}.dtw-modal-aside h3{font-size:25px;}}
@media(max-width:760px){.dtw-compact-caption{display:none;}.dtw-qr-answer-content .reveal-stage{height:330px;}.dtw-answer-modal{padding:9px;align-items:center;}.dtw-modal-panel{padding:17px;max-height:calc(100dvh - 18px);border-radius:18px;}.dtw-modal-columns{grid-template-columns:1fr;}.dtw-modal-stage{height:290px;}.dtw-modal-aside{padding:18px 19px;}.dtw-modal-aside h3{font-size:24px;margin-bottom:9px;}.dtw-modal-aside p{font-size:12px;margin-bottom:10px;}.dtw-modal-facts{margin-bottom:9px;}.dtw-modal-header{margin-bottom:11px;}}
@media(max-width:520px){.dtw-answer-compact-heading .answer-title{font-size:29px;}.dtw-qr-answer-content .reveal-stage{height:272px;}.dtw-qr-reveal-buttons{display:grid;grid-template-columns:1fr 1fr;gap:7px;}.dtw-qr-reveal-buttons .pill-button{grid-column:1/-1;}.dtw-qr-reveal-buttons .pill-button,.dtw-qr-reveal-buttons .light-button{width:100%;min-height:45px;font-size:11px;padding:10px 8px;}.dtw-modal-header h2{font-size:27px;}.dtw-modal-header p{font-size:10px;}.dtw-modal-panel{padding:12px;}.dtw-modal-viewer{padding:10px;}.dtw-modal-stage{height:245px;}.dtw-modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;}.dtw-modal-actions .pill-button{grid-column:1/-1;}.dtw-modal-actions .pill-button,.dtw-modal-actions .light-button{width:100%;min-height:43px;flex:auto;padding:10px 8px;font-size:11px;}.dtw-reveal-tabs button{font-size:10px;padding:8px 11px;}.timeline-label{flex-wrap:wrap;}.dtw-modal-aside{padding:15px;}.dtw-modal-aside .section-topline{margin-bottom:8px;}.dtw-modal-aside .dtw-modal-secondary{padding-top:11px;}.dtw-modal-aside .dtw-modal-facts{margin-bottom:9px;}}
@media(prefers-reduced-motion:reduce){.dtw-modal-backdrop{backdrop-filter:none;}.reveal-art .reveal-fill,.reveal-art .reveal-details,.reveal-art .reveal-back-faces{transition:none!important;}}

/* v0.1.4.5: print-paper choices; keep the existing gallery layout. */
.dtw-pdf-buttons{display:flex;flex-wrap:wrap;gap:10px}
.dtw-pdf-buttons .pill-button{flex:1 1 190px;text-align:center;justify-content:center}

/* v0.1.4.7: detail and answer tag links. */
.dtw-detail-tags,.dtw-answer-tags{display:flex;flex-wrap:wrap;gap:7px;align-items:center;}
.dtw-detail-tags{margin:-10px 0 24px;}
.dtw-detail-tags>span{font-size:10px;letter-spacing:1px;font-weight:800;color:#83978b;text-transform:uppercase;margin-right:4px;}
.dtw-detail-tags a,.dtw-answer-tags a,.dtw-modal-facts .dtw-modal-tag{display:inline-flex;border-radius:99px;background:#f1f6f1;border:1px solid #dce9de;color:#52715c;padding:7px 10px;font:700 10px/1.3 Arial,sans-serif;text-decoration:none;}
.dtw-detail-tags a:hover,.dtw-answer-tags a:hover,.dtw-modal-facts .dtw-modal-tag:hover{background:var(--ink);color:white;}
.dtw-answer-tags{margin:0 0 6px;padding:0 9px;}
.dtw-modal-facts .dtw-modal-tag{border-color:#f2dfc8;background:#fff;color:#8a6c53;}
