:root{--cream:#f6f1e8;--paper:#fcfaf6;--ink:#292724;--muted:#777168;--green:#244a3b;--orange:#d97b58;--sand:#e4d4be;--line:#e8e0d4;--shadow:0 12px 34px rgba(53,43,27,.055)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',sans-serif;-webkit-font-smoothing:antialiased}button{font:inherit;cursor:pointer}button:focus-visible{outline:3px solid var(--orange);outline-offset:3px}p,h1,h2,h3{margin-top:0}.app-shell{max-width:1180px;margin:auto;min-height:100dvh}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(22px,4.5vw,60px);border-bottom:1px solid rgba(41,39,36,.08)}.brand{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:700;letter-spacing:.06em}.brand-mark{display:grid;place-items:center;background:var(--green);color:var(--cream);width:29px;height:29px;border-radius:50%;font-size:20px}.camera-pill{border:1px solid #d6cfc3;border-radius:100px;padding:9px 13px;font-size:10px;letter-spacing:.13em;color:#6f6a62}.camera-pill strong{color:var(--green);margin-left:5px}.page{padding:44px clamp(22px,4.5vw,60px) 135px;max-width:980px;margin:auto;min-height:calc(100dvh - 76px)}.eyebrow{display:flex;align-items:center;gap:12px;color:var(--green);font-size:10px;font-weight:700;letter-spacing:.18em;margin-bottom:23px}.eyebrow span:last-child{color:#a39a8e}.eyebrow-line{width:38px;height:1px;background:#b0bda9}.page h1{font-size:clamp(39px,6vw,67px);line-height:1.18;letter-spacing:-.055em;font-weight:600;margin:0 0 16px}.page h1 em{font-style:normal;color:var(--green)}.intro{font-size:14px;color:var(--muted);line-height:1.8;margin-bottom:30px}.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:26px 0 16px}.section-heading h2{font-size:18px;letter-spacing:-.04em;margin:0}.section-heading span{font-size:11px;color:#9a9286}.mode-row,.horizontal-scenes,.palette-tabs{display:flex;gap:8px;overflow:auto;scrollbar-width:none;padding-bottom:6px}.mode-row::-webkit-scrollbar,.horizontal-scenes::-webkit-scrollbar,.palette-tabs::-webkit-scrollbar{display:none}.chip,.mini-scene,.palette-tabs button{flex:none;border:1px solid #ded6ca;background:transparent;color:#635d55;padding:11px 16px;border-radius:100px;font-size:12px;min-height:44px}.chip.selected,.mini-scene.selected,.palette-tabs button.selected{background:var(--green);border-color:var(--green);color:#fff}.scene-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.scene-card{border:0;background:var(--paper);border-radius:15px;overflow:hidden;text-align:left;position:relative;padding:0;min-width:0;box-shadow:var(--shadow)}.scene-card.active{outline:2px solid var(--green);outline-offset:2px}.photo{display:block}.scene-card .photo{aspect-ratio:1.35 / 1}.scene-label{display:flex;justify-content:space-between;align-items:center;padding:13px 14px;gap:5px}.scene-label strong{font-size:14px}.scene-label small{font-size:10px;color:var(--muted);text-align:right}.today-card{margin-top:26px;background:var(--green);color:#f7f6ee;border-radius:20px;padding:24px 26px;display:flex;align-items:center;justify-content:space-between;gap:22px}.mini-label{font-size:10px;letter-spacing:.16em;color:#c3d5ca}.today-card h3{font-size:23px;margin:11px 0 8px}.today-card h3 span{font-size:14px;font-weight:400;color:#d1d9d1}.today-card p{font-size:11px;color:#d4ddd5;margin:0}.button{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#f8f6ee;color:var(--green);border:0;border-radius:100px;padding:15px 17px 15px 20px;font-size:12px;font-weight:700;white-space:nowrap;min-height:48px}.button span{font-size:18px;font-weight:400}.footnote{font-size:11px;color:#9b9388;line-height:1.7;margin-top:15px}.tabbar{position:fixed;z-index:20;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,1180px);height:calc(70px + env(safe-area-inset-bottom));padding:6px 22px env(safe-area-inset-bottom);display:flex;justify-content:space-around;background:rgba(252,250,246,.96);border-top:1px solid #e8e0d4;backdrop-filter:blur(16px)}.tabbar button{border:0;background:none;min-width:60px;min-height:54px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#948d82;font-size:10px}.tabbar button.active{color:var(--green);font-weight:700}.tabbar svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.horizontal-scenes{margin:3px 0 19px}.picture-card,.analysis-card,.settings-card,.recipe-card{background:var(--paper);border:1px solid rgba(89,72,52,.055);box-shadow:var(--shadow);border-radius:18px;overflow:hidden}.picture-meta{padding:17px 20px;display:flex;justify-content:space-between;color:#81796e;font-size:10px;letter-spacing:.12em}.picture{position:relative;overflow:hidden}.picture .photo{aspect-ratio:1 / 1}.annotation{position:absolute;inset:0;pointer-events:none;color:white;text-shadow:0 1px 5px #0008;animation:fade .25s ease}@keyframes fade{from{opacity:0}to{opacity:1}}.grid-line{position:absolute;background:rgba(255,255,255,.62);box-shadow:0 0 2px #0003}.grid-line.horizontal{height:1px;left:0;right:0}.grid-line.vertical{width:1px;top:0;bottom:0}.horizon-line{position:absolute;left:0;right:0;border-top:1.5px dashed #f6f1e8}.horizon-line span{position:absolute;right:10px;top:-24px;font-size:10px}.subject-point{position:absolute;width:26px;height:26px;border:2px solid #fff;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 7px #ffffff36}.subject-point span{position:absolute;left:30px;top:1px;font-size:11px;white-space:nowrap}.foreground-label{position:absolute;bottom:17px;left:17px;background:#244a3b9c;padding:6px 9px;border-radius:6px;font-size:10px}.picture-control{padding:17px 20px;display:flex;align-items:center;justify-content:space-between;gap:10px}.picture-control strong,.picture-control small{display:block}.picture-control strong{font-size:16px}.picture-control small{font-size:10px;color:var(--muted);margin-top:5px}.toggle{border:0;background:#eae8df;color:#635c52;border-radius:100px;padding:8px 9px 8px 14px;display:flex;align-items:center;gap:10px;font-size:11px;min-height:40px}.toggle.on{background:#dbe8df;color:var(--green)}.switch{width:29px;height:19px;background:#a8a8a0;border-radius:100px;position:relative}.switch:before{content:'';position:absolute;width:13px;height:13px;background:white;border-radius:50%;left:3px;top:3px;transition:transform .2s}.toggle.on .switch{background:var(--green)}.toggle.on .switch:before{transform:translateX(10px)}.analysis-card,.settings-card{margin-top:16px;padding:22px}.analysis-card .section-heading,.settings-card .section-heading,.recipe-card .section-heading{margin:0 0 14px}.analysis-lead{font-size:13px;line-height:1.8;color:#585249;margin:0 0 20px}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.stat-grid div{padding:15px 8px}.stat-grid div:first-child{padding-left:0}.stat-grid div+div{border-left:1px solid var(--line)}.stat-grid small,.stat-grid strong{display:block}.stat-grid small{color:#a1998e;font-size:10px;margin-bottom:7px}.stat-grid strong{font-size:12px}.caution{display:flex;gap:12px;margin-top:16px;align-items:baseline}.caution span{color:#c47b5b;font-size:11px;font-weight:700;white-space:nowrap}.caution p{font-size:12px;color:#70685c;margin:0;line-height:1.6}.setting-main{font-size:clamp(19px,4vw,26px);font-weight:700;color:var(--green);letter-spacing:-.03em;display:flex;flex-wrap:wrap;gap:10px}.setting-main i{font-style:normal;color:#b6b1a6;font-weight:400}.setting-sub{font-size:12px;color:#777168;margin-top:11px}.settings-card p{border-top:1px solid var(--line);padding-top:15px;margin:17px 0 0;color:var(--muted);font-size:12px}.settings-card strong{color:var(--green)}.palette-tabs{margin-bottom:14px}.color-hero{height:330px;border-radius:19px;overflow:hidden;position:relative;background:#4d5c5d}.color-hero .photo{width:100%;height:100%;aspect-ratio:auto}.color-hero:after{content:'';position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#13231d9e)}.color-title{position:absolute;z-index:1;bottom:23px;left:25px;color:white}.color-title small{letter-spacing:.18em;font-size:10px}.color-title h2{font-size:32px;margin:9px 0 4px}.color-title p{font-size:12px;margin:0;color:#eee}.swatches{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:20px 0}.swatches div{min-width:0}.swatches span{display:block;height:42px;border-radius:8px}.swatches small{display:block;color:#857e73;font-size:10px;margin-top:7px}.recipe-card{padding:22px}.film-sim{display:flex;align-items:baseline;justify-content:space-between;padding:17px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.film-sim small{color:var(--muted)}.film-sim strong{font-size:19px;color:var(--green)}.recipe-row{display:flex;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}.recipe-row span:first-child{color:var(--muted)}.recipe-row span:last-child{font-weight:700}.tip{font-size:12px;line-height:1.7;color:var(--green);background:#eaf0e8;border-radius:10px;padding:14px;margin:18px 0 0}.flash-base{background:var(--green);color:white;border-radius:18px;padding:22px;display:flex;gap:17px;align-items:flex-start}.flash-icon{font-size:28px;background:#ffffff24;width:43px;height:43px;display:grid;place-items:center;border-radius:12px}.flash-base small,.flash-base strong{display:block}.flash-base small{color:#c2d3c8;font-size:10px;margin:3px 0 7px}.flash-base strong{font-size:16px}.flash-base p{color:#d4ded7;font-size:11px;line-height:1.65;margin:8px 0 0}.issue-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.issue{position:relative;background:var(--paper);border:1px solid var(--line);border-radius:14px;min-height:92px;padding:16px;text-align:left;display:flex;align-items:flex-start;justify-content:space-between;gap:7px;box-shadow:var(--shadow)}.issue.selected{border-color:var(--green);background:#edf2eb}.issue strong{font-size:15px;margin-top:22px;white-space:nowrap}.issue span:last-child{color:#9e9a8f}.issue-dot{width:14px;height:14px;border-radius:50%;background:#878f88;position:absolute}.dot-0{background:#706f66}.dot-1{background:#626e78}.dot-2{background:#e9bd80}.dot-3{background:#e8d4aa}.answer{background:var(--paper);border:1px solid #d6e0d5;border-radius:16px;padding:23px;margin-top:16px}.answer-kicker{font-size:10px;letter-spacing:.18em;color:var(--green);font-weight:700}.answer h2{font-size:21px;margin:10px 0 14px}.answer-action{font-size:19px;line-height:1.45;font-weight:700;color:var(--green);background:#eaf0e8;padding:17px;border-radius:11px}.answer p{font-size:12px;line-height:1.75;color:#686258;margin:17px 0}.answer-next{border-top:1px solid var(--line);padding-top:13px;font-size:11px;line-height:1.7;color:#70695e}.answer-next strong{display:block;color:var(--ink);font-size:12px}.flash-prompt{display:flex;align-items:center;gap:16px;padding:23px;color:#aaa093}.flash-prompt span{font-size:27px;font-weight:700;color:#d8d1c5}.flash-prompt p{font-size:13px;line-height:1.8;margin:0}.flash-rule{border-top:1px solid var(--line);padding-top:19px;margin-top:14px}.flash-rule strong{font-size:12px;color:var(--green)}.flash-rule p{font-size:11px;line-height:1.8;color:var(--muted)}.lesson-list{border-top:1px solid var(--line)}.lesson{border-bottom:1px solid var(--line)}.lesson>button{width:100%;border:0;background:none;display:flex;gap:17px;align-items:center;text-align:left;padding:19px 0;min-height:83px}.lesson-no{color:#b3a89a;font-size:13px}.lesson-title{flex:1}.lesson-title strong,.lesson-title small{display:block}.lesson-title strong{font-size:16px}.lesson-title small{color:#9b9388;font-size:11px;margin-top:6px}.lesson-arrow{font-size:23px;color:var(--green)}.lesson-body{padding:0 25px 20px 35px;font-size:12px;line-height:1.85;color:#686157}.lesson-body p{margin:0 0 12px}.lesson-body div{background:#e8eee7;color:var(--green);padding:11px 13px;border-radius:8px}.learn-note{background:var(--green);color:#edf5ef;border-radius:17px;padding:20px;display:flex;gap:14px;margin-top:26px}.learn-note span{font-size:23px}.learn-note p{font-size:12px;line-height:1.8;margin:0}@media(max-width:700px){.topbar{height:62px;padding:0 20px}.camera-pill{font-size:9px;padding:8px 10px}.page{padding:31px 20px 118px;min-height:calc(100dvh - 62px)}.page h1{font-size:43px}.scene-grid{grid-template-columns:repeat(2,1fr);gap:11px}.scene-label{padding:11px}.scene-label{display:block}.scene-label small{display:block;text-align:left;margin-top:4px}.today-card{display:block;padding:22px}.today-card .button{margin-top:19px;width:100%}.color-hero{height:275px}}@media(max-width:370px){.page h1{font-size:37px}.scene-label strong{font-size:13px}.issue strong{font-size:13px}.picture-control{padding:13px}.toggle{font-size:10px;gap:5px}.stat-grid strong{font-size:11px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}


/* Photography intent and environment are independent navigation dimensions. */
.home h1{font-size:clamp(32px,5vw,48px);line-height:1.25;margin-bottom:12px}.home h1 em{margin-left:.16em}.home .intro{margin-bottom:18px}.home .eyebrow{margin-bottom:16px}.mode-row .chip{min-width:76px;font-size:14px}.mode-summary{margin:8px 0 20px;padding:14px 16px;background:#e6ede3;border-radius:12px;color:var(--green)}.mode-summary strong{font-size:15px;display:block}.mode-summary span{font-size:12px;line-height:1.7;display:block;margin-top:5px}.scene-label{display:block;text-align:left}.scene-label small{display:block;text-align:left;margin-top:5px;font-size:12px;color:#666052}.condition-tags{display:flex;flex-wrap:wrap;gap:5px;padding:0 12px 12px}.condition-tags span{font-size:10px;background:#eee9df;color:#736b5e;padding:4px 7px;border-radius:5px}.scene-card .photo{aspect-ratio:1}.scene-card:hover{box-shadow:0 8px 20px #244a3b20}.back-link{border:0;background:none;color:var(--green);padding:0 0 15px;min-height:44px;font-size:13px}.compose h1{font-size:clamp(28px,5vw,43px);margin-bottom:22px}.guide-path{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#f6f1e8;stroke-width:.65;stroke-dasharray:2 1.5}.toggle{min-height:44px}.picture-control strong{font-size:14px}.fill-entry{width:100%;margin-top:18px;padding:20px;border:1px solid #d2dccc;border-radius:15px;background:#e8eee4;color:var(--green);display:flex;justify-content:space-between;align-items:center;text-align:left;min-height:76px}.fill-entry strong,.fill-entry small{display:block}.fill-entry small{font-size:11px;margin-top:6px}.fill-when{padding:20px;background:var(--paper);border-radius:15px}.fill-when strong{font-size:17px;color:var(--green)}.fill-when p{font-size:13px;line-height:1.85;margin:10px 0}.fill-when small{font-size:11px;line-height:1.7;color:var(--muted)}.setup-steps{padding-left:24px;color:#645d53;font-size:13px;line-height:1.8}.setup-steps li{margin:12px 0}.issue strong{margin-top:24px}.stat-grid strong{line-height:1.65}.flash-icon{flex-shrink:0}.empty-state{padding:24px;background:var(--paper);border-radius:12px}.home .section-heading{margin-top:18px}.home .section-heading h2{font-size:18px}@media(max-width:700px){.home{padding-top:23px}.home h1{font-size:32px}.home .intro{font-size:12px}.scene-label{padding:11px 12px 8px}.picture-control{flex-wrap:wrap}.stat-grid{grid-template-columns:1fr 1fr}.stat-grid div:last-child{grid-column:1 / -1;border-left:0;border-top:1px solid var(--line);padding-left:0}.mode-summary span{font-size:11px}.home .section-heading span{font-size:10px}}


/* Independent full-resolution photographs retain their native aspect ratio. */
img.photo,.scene-card img.photo,.picture img.photo{display:block;width:100%;height:auto;aspect-ratio:auto;background:none;object-fit:contain}
.picture-card,.color-editorial{max-width:720px;margin-inline:auto}.color-editorial{overflow:hidden;border-radius:18px;background:var(--paper)}.color-copy{padding:20px 24px}.color-copy small{font-size:10px;letter-spacing:.12em;color:var(--muted)}.color-copy h2{margin:10px 0 7px;font-size:27px;color:var(--green)}.color-copy p{font-size:13px;color:var(--muted);margin:0;line-height:1.7}
.variant-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0 20px}.variant-choice{padding:0;border:2px solid transparent;border-radius:12px;background:var(--paper);overflow:hidden;text-align:left;min-width:0;min-height:44px;color:var(--ink)}.variant-choice.selected{border-color:var(--green);background:#e6ede3}.variant-choice span{display:block;font-size:12px;line-height:1.6;padding:10px 8px}.variant-choice b{color:var(--green);font-size:10px;margin-right:4px}.palette-tabs{flex-wrap:wrap;overflow:visible}.palette-tabs button{min-height:44px}.recipe-row{gap:16px;align-items:center}.recipe-row strong{text-align:right;line-height:1.7}.recipe-subject{display:flex;gap:8px;margin:18px 0}.skin-setting{border:1px solid var(--line);padding:16px;border-radius:12px}.skin-setting strong,.skin-setting small{display:block;font-size:13px}.skin-setting small{font-size:11px;margin-top:5px;color:var(--muted)}.skin-options{display:flex;gap:8px;margin-top:12px}.skin-options button{flex:1;border:1px solid var(--line);border-radius:9px;background:transparent;min-height:44px}.skin-options button.selected{background:var(--green);color:white;border-color:var(--green)}.skin-setting p,.recipe-constraint{font-size:11px;line-height:1.8;color:var(--muted);margin:12px 0 0}.source-note{font-size:12px;line-height:1.9;margin-top:18px;color:var(--muted)}.source-note summary{cursor:pointer;min-height:44px;padding:12px 0;color:var(--green)}.source-note a{display:block;min-height:44px;padding:10px 0;color:var(--green)}.equipment-label{display:block;font-size:12px;color:var(--muted);margin-bottom:9px}.equipment-select{width:100%;min-height:52px;padding:12px;border:1px solid #c8d2c3;border-radius:12px;background:var(--paper);font:inherit;color:var(--green);font-size:14px}.equipment-summary{padding:18px 0}.equipment-summary strong{font-size:17px}.equipment-summary p{font-size:12px;line-height:1.8;color:var(--muted);margin:10px 0}.equipment-badges{display:flex;gap:6px}.equipment-badges span{padding:5px 10px;border-radius:6px;background:#e6ede3;color:var(--green);font-size:11px}
@media(max-width:700px){.variant-choices{gap:6px}.variant-choice span{font-size:11px;padding:8px 5px}.variant-choice b{display:block}.color-copy{padding:17px}.recipe-card{padding:18px}.recipe-row{font-size:11px}.picture-meta{padding:14px 12px;letter-spacing:0;gap:8px}.picture-control{padding:14px 12px}.picture-control strong{font-size:13px}.section-heading h2{font-size:16px}.palette-tabs button{padding-inline:14px}.color h1{font-size:38px}}

/* Independent full-resolution photographs retain their native aspect ratio. */
img.photo,.scene-card img.photo,.picture img.photo{display:block;width:100%;height:auto;aspect-ratio:auto;background:none;object-fit:contain}
.picture-card,.color-editorial{max-width:720px;margin-inline:auto}.color-editorial{overflow:hidden;border-radius:18px;background:var(--paper)}.color-copy{padding:20px 24px}.color-copy small{font-size:10px;letter-spacing:.12em;color:var(--muted)}.color-copy h2{margin:10px 0 7px;font-size:27px;color:var(--green)}.color-copy p{font-size:13px;color:var(--muted);margin:0;line-height:1.7}
.variant-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0 20px}.variant-choice{padding:0;border:2px solid transparent;border-radius:12px;background:var(--paper);overflow:hidden;text-align:left;min-width:0;min-height:44px;color:var(--ink)}.variant-choice.selected{border-color:var(--green);background:#e6ede3}.variant-choice span{display:block;font-size:12px;line-height:1.6;padding:10px 8px}.variant-choice b{color:var(--green);font-size:10px;margin-right:4px}.palette-tabs{flex-wrap:wrap;overflow:visible}.palette-tabs button{min-height:44px}.recipe-row{gap:16px;align-items:center}.recipe-row strong{text-align:right;line-height:1.7}.recipe-subject{display:flex;gap:8px;margin:18px 0}.skin-setting{border:1px solid var(--line);padding:16px;border-radius:12px}.skin-setting strong,.skin-setting small{display:block;font-size:13px}.skin-setting small{font-size:11px;margin-top:5px;color:var(--muted)}.skin-options{display:flex;gap:8px;margin-top:12px}.skin-options button{flex:1;border:1px solid var(--line);border-radius:9px;background:transparent;min-height:44px}.skin-options button.selected{background:var(--green);color:white;border-color:var(--green)}.skin-setting p,.recipe-constraint{font-size:11px;line-height:1.8;color:var(--muted);margin:12px 0 0}.source-note{font-size:12px;line-height:1.9;margin-top:18px;color:var(--muted)}.source-note summary{cursor:pointer;min-height:44px;padding:12px 0;color:var(--green)}.source-note a{display:block;min-height:44px;padding:10px 0;color:var(--green)}.equipment-label{display:block;font-size:12px;color:var(--muted);margin-bottom:9px}.equipment-select{width:100%;min-height:52px;padding:12px;border:1px solid #c8d2c3;border-radius:12px;background:var(--paper);font:inherit;color:var(--green);font-size:14px}.equipment-summary{padding:18px 0}.equipment-summary strong{font-size:17px}.equipment-summary p{font-size:12px;line-height:1.8;color:var(--muted);margin:10px 0}.equipment-badges{display:flex;gap:6px}.equipment-badges span{padding:5px 10px;border-radius:6px;background:#e6ede3;color:var(--green);font-size:11px}
@media(max-width:700px){.variant-choices{gap:6px}.variant-choice span{font-size:11px;padding:8px 5px}.variant-choice b{display:block}.color-copy{padding:17px}.recipe-card{padding:18px}.recipe-row{font-size:11px}.picture-meta{padding:14px 12px;letter-spacing:0;gap:8px}.picture-control{padding:14px 12px}.picture-control strong{font-size:13px}.section-heading h2{font-size:16px}.palette-tabs button{padding-inline:14px}.color h1{font-size:38px}}

.skin-feedback{margin-top:14px;padding:14px;border-radius:10px;background:#e6ede3;color:var(--green)}.skin-feedback strong{font-size:14px}.skin-feedback p{color:var(--green);margin:7px 0}.skin-feedback small{line-height:1.8}

/* Small previews load responsively; the photo viewer always requests the original file. */
.photo-unavailable{display:grid;place-items:center;min-height:180px;background:#eee9df;color:var(--muted);font-size:13px}
.image-detail-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;border-bottom:1px solid var(--line);font-size:11px;color:var(--muted)}
.image-detail-bar>span{min-width:0;line-height:1.6;font-variant-numeric:tabular-nums}.image-detail-bar small{display:block;font-size:10px;overflow-wrap:anywhere}
.full-photo-button{flex:none;display:flex;gap:10px;align-items:center;min-height:44px;padding:10px 13px;border:1px solid #d2dccc;border-radius:100px;background:#edf2eb;color:var(--green);font-size:12px}.full-photo-button span{font-size:16px}
body.photo-dialog-open{overflow:hidden}
.photo-dialog{width:calc(100vw - 28px);height:calc(100dvh - 28px);max-width:1600px;max-height:calc(100dvh - 28px);padding:0;border:1px solid #e8e0d4;border-radius:16px;background:var(--paper);color:var(--ink);box-shadow:0 20px 90px #0006}
.photo-dialog::backdrop{background:#17231de0;backdrop-filter:blur(5px)}
.photo-dialog-panel{display:flex;flex-direction:column;width:100%;height:100%;min-height:0}
.photo-dialog-header{flex:none;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:16px 20px;border-bottom:1px solid var(--line)}
.photo-dialog-header>div{min-width:0}.photo-dialog-header h2{margin:0;font-size:17px;line-height:1.5}.photo-dialog-dimensions{font-size:12px;color:var(--muted);margin:5px 0 0;line-height:1.6;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.photo-dialog-close,.photo-dialog-toolbar button{flex:none;min-height:44px;border:1px solid #cbd4c6;border-radius:9px;background:#e8eee4;color:var(--green);padding:10px 14px;font-size:13px}
.photo-dialog-toolbar{flex:none;display:flex;align-items:center;gap:16px;padding:10px 20px}.photo-dialog-hint{font-size:11px;line-height:1.6;color:var(--muted);margin:0}.photo-dialog-toolbar button:disabled{opacity:.5}
.photo-dialog-viewport{flex:1;min-height:0;min-width:0;display:grid;place-items:center;overflow:auto;overscroll-behavior:contain;background:#e9e6df;touch-action:pan-x pan-y pinch-zoom}
.photo-dialog-viewport:focus-visible{outline:3px solid var(--orange);outline-offset:-3px}
.photo-dialog-viewport img{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;user-select:none;-webkit-user-drag:none}
.photo-dialog-viewport.is-zoomed{display:block}.photo-dialog-viewport.is-zoomed img{max-width:none;max-height:none;height:auto;margin:0}
@media(max-width:700px){.image-detail-bar{padding:8px 12px;gap:8px}.full-photo-button{padding:9px 12px;font-size:11px}.photo-dialog{width:100vw;height:100dvh;max-width:100vw;max-height:100dvh;margin:0;border:0;border-radius:0}.photo-dialog-header{padding:calc(12px + env(safe-area-inset-top)) 14px 12px;gap:10px}.photo-dialog-header h2{font-size:15px}.photo-dialog-dimensions{font-size:10px}.photo-dialog-toolbar{padding:9px 14px;gap:10px}.photo-dialog-hint{font-size:10px}.photo-dialog-viewport{margin-bottom:env(safe-area-inset-bottom)}}

/* Consistent card heights without cropping the photograph used for annotations. */
.scene-card img.photo{aspect-ratio:4/3;object-fit:cover}.variant-choice img.photo{aspect-ratio:4/3;object-fit:cover}
.offline-card{padding:20px;background:var(--paper);border:1px solid var(--line);border-radius:16px;margin-top:24px}.offline-card>strong{color:var(--green)}.offline-card p{font-size:12px;line-height:1.8;color:var(--muted)}.offline-card button{font-size:12px;background:#e6ede3;color:var(--green)}.offline-card button:disabled{opacity:.6}.credits-link{display:block;width:fit-content;min-height:44px;padding:12px 0;color:var(--green);font-size:12px}
.picture .photo,.color-photo .photo{width:100%;height:auto;aspect-ratio:auto;object-fit:contain}.picture{aspect-ratio:auto}
.photo-dialog-viewport{display:block;position:relative}.photo-dialog-viewport img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}.photo-dialog-viewport.is-zoomed img{height:auto;max-width:none;max-height:none}
