:root{color-scheme:light;--ink:#202522;--muted:#656a63;--paper:#f7f5ef;--line:#d9dcd4;--green:#315b49;--green-dark:#254936;--soft:#edf2eb;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled,select:disabled,input:disabled{cursor:default}button:disabled{opacity:.42}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #c89417;outline-offset:4px}button{transition:background .12s ease,color .12s ease}input[type=range]{accent-color:var(--green);cursor:pointer}input[type=checkbox]{accent-color:var(--green);width:18px;height:18px;flex-shrink:0;margin:2px 0}.shell{width:min(1460px,calc(100% - 64px));margin-inline:auto}.header-inner{width:min(1460px,calc(100% - 64px));margin-inline:auto}.header-inner .brand{margin-right:auto}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}.skip-link{position:fixed;left:18px;top:8px;transform:translateY(-160%);background:#fff;padding:12px 20px;border:2px solid var(--ink);z-index:200}.skip-link:focus{transform:none}.intro{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;padding-block:42px 32px}.eyebrow{display:inline-flex;gap:9px;color:var(--green);font-size:10px;font-weight:800;letter-spacing:.12em;text-decoration:none}.eyebrow span{color:#a4aca0}h1{margin:12px 0 10px;font-size:clamp(30px,3.3vw,49px);font-weight:780;letter-spacing:-.045em;line-height:1.08}.title-dot{color:var(--green)}.intro-copy{font-size:17px;line-height:1.5;margin:0;color:#5c645d}.intro-note{display:flex;align-items:flex-start;gap:9px;padding:3px 0 4px;flex-shrink:0}.intro-note p{font-size:12px;line-height:1.7;margin:0;color:var(--muted)}.intro-note strong{color:#404b41;font-weight:700}.local-dot{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#61856c;margin-top:6px}.studio{display:grid;grid-template-columns:332px minmax(0,1fr);border:1px solid #bfc6bb;border-radius:11px;overflow:hidden;background:#fff;box-shadow:0 4px 20px #2b3e3010;scroll-margin-top:96px}.controls{background:#fff;border-right:1px solid var(--line);min-width:0}.control-section{padding:22px 22px 21px;border:0;border-bottom:1px solid var(--line);margin:0;min-width:0}.control-section:last-child{border-bottom:0}.section-heading{display:flex;align-items:center;gap:9px;margin-bottom:17px}.section-heading h2{font-size:14px;letter-spacing:-.02em;font-weight:750;margin:0}.step{font-size:10px;font-weight:800;letter-spacing:.03em;color:#70806f;border:1px solid #d5ddd1;border-radius:4px;width:23px;height:23px;display:grid;place-items:center;background:#f9faf6}.count{margin-left:auto;color:#7b8177;font-size:11px;font-variant-numeric:tabular-nums}.dropzone{border:1px dashed #a5b5a0;border-radius:7px;background:#f8faf5;text-align:center;padding:18px 12px;transition:background .12s,border-color .12s}.dropzone.dragging{background:#e3eedb;border-color:#315b49;outline:2px solid #315b49}.upload-icon{width:32px;height:32px;stroke:#617d5e;stroke-width:1.5}.dropzone p{font-size:12px;line-height:1.7;color:#747b6e;margin:8px 0 12px}.dropzone strong{font-weight:650;color:#3a4739}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:42px;padding:10px 15px;border-radius:5px;border:1px solid transparent;font-size:12px;font-weight:700;line-height:1.4;text-decoration:none}.button.primary{background:var(--green);color:#fff;border-color:var(--green)}.button.primary:hover:enabled{background:var(--green-dark)}.button.secondary{background:#fff;color:#3d4a3e;border-color:#c7d0c1}.button.secondary:hover:enabled{background:#f1f5ee}.dropzone .button{min-height:38px;padding:8px 22px}.file-types{display:block;font-size:10px;color:#78816e;margin-top:11px}.text-button{font-size:11px;background:transparent;border:0;padding:4px 0;min-height:25px;color:#4f6552;text-decoration:underline;text-underline-offset:3px;text-decoration-color:#b5c1ad;font-weight:650}.text-button:hover:enabled{color:#1f442c}.sample-button{display:flex;width:100%;justify-content:space-between;margin-top:9px}.sample-button span{font-size:16px;line-height:1}.hint{font-size:11px;line-height:1.65;color:#73796e;margin:7px 0 0}.input-note{font-size:11px;line-height:1.65;color:#747b70;margin:14px 0 0}.list-heading{display:flex;justify-content:space-between;align-items:center;margin-top:20px;gap:10px}.list-heading h3{font-size:12px;margin:0}.file-list{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:7px;max-height:330px;overflow:auto;scrollbar-width:thin}.file-item{display:flex;align-items:center;gap:8px;border:1px solid #dce1d7;border-radius:5px;padding:7px;background:#fdfefa}.file-thumb{width:48px;height:42px;object-fit:cover;border-radius:3px;background:#e8e9e4}.file-info{min-width:0;flex:1}.file-name{font-size:11px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0 0 4px}.file-meta{font-size:10px;color:#7a8174;margin:0;font-variant-numeric:tabular-nums}.file-actions{display:flex;gap:1px;flex-shrink:0}.icon-button{display:grid;place-items:center;border:0;border-radius:3px;background:transparent;min-height:30px;min-width:25px;color:#6c7665;font-size:14px;padding:0}.icon-button:hover:enabled{background:#e8eee1;color:#24452d}.icon-button.remove{font-size:18px}.field{margin-top:20px}.field>label,.field-heading label{font-size:12px;display:block;font-weight:650;margin-bottom:8px}.field select,.download-controls select,.zoom-control select,.depth-control select{font-size:11px;border:1px solid #cfd6c8;border-radius:4px;background:#fff;color:#414b3d;padding:10px 27px 10px 10px;min-height:39px;max-width:100%}.field select{width:100%}.check-row{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.5}.check-row strong{display:block;font-weight:650}.check-row small{display:block;font-size:11px;color:#737c6d;line-height:1.65;margin-top:4px}.field-heading{display:flex;align-items:baseline;justify-content:space-between}.field-heading output{font-size:11px;color:#52704a;font-weight:750}.field input[type=range]{width:100%;margin:2px 0;height:22px}.range-captions{display:flex;justify-content:space-between;font-size:10px;color:#92988b}.settings-note{border-top:1px dashed #d9dfd4;padding-top:12px;margin-top:18px;display:flex;align-items:center;gap:9px;justify-content:space-between}.settings-note span{font-size:10px;line-height:1.5;color:#858c7b;max-width:145px}.settings-note button{white-space:nowrap;font-size:10px}.run-section .button{width:100%;justify-content:center;margin-bottom:8px}.run-section .button.primary{justify-content:space-between}.run-section>.hint{margin-top:2px}.memory-note{color:#7b5b25;font-size:11px;line-height:1.6;background:#fff8e6;border-radius:4px;padding:10px;margin:12px 0 0}.workspace{display:flex;flex-direction:column;min-width:0;background:#f9faf6;align-self:start}.workspace-toolbar{display:flex;gap:16px;justify-content:space-between;align-items:center;padding:16px 21px;border-bottom:1px solid #d7dcd2;min-height:64px;background:#fff}.preview-tabs{display:flex;gap:5px}.view-tab{border:1px solid transparent;background:transparent;padding:8px 11px;min-height:32px;border-radius:4px;font-size:11px;color:#757e6c;font-weight:650;white-space:nowrap}.view-tab:hover{background:#f2f5ed}.view-tab.active{border-color:#c8d4bf;color:#3c5937;background:#eef4e8}.resolution-badge{border:1px solid #dbe1d3;border-radius:3px;padding:5px 7px;font-size:8px;font-weight:750;letter-spacing:.1em;white-space:nowrap;color:#86907d}.resolution-badge.ready{border-color:#bfcfb4;background:#edf4e6;color:#4d6c41}.resolution-badge.preview{border-color:#dfce9b;background:#fff8e6;color:#8c702a}.viewer{height:560px;position:relative;overflow:auto;background:#252e29;background-image:linear-gradient(45deg,#ffffff02 25%,transparent 25%),linear-gradient(-45deg,#ffffff02 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ffffff02 75%),linear-gradient(-45deg,transparent 75%,#ffffff02 75%);background-size:24px 24px;background-position:0 0,0 12px,12px -12px,-12px 0;display:grid;align-items:center;justify-items:center;scrollbar-color:#566458 #252e29;scrollbar-width:thin}.empty-preview{text-align:center;padding:48px 16px;color:#d9e1d6}.empty-preview h2{font-size:22px;font-weight:500;letter-spacing:-.03em;margin:26px 0 12px}.empty-preview p{color:#92a18f;font-size:12px;line-height:1.85;margin:0}.empty-caption{display:block;font-size:8px;letter-spacing:.19em;font-weight:600;color:#637861;margin-top:32px}.focus-illustration{position:relative;width:128px;height:111px;margin:auto}.focus-layer{position:absolute;width:81px;height:81px;border:1px solid #76956e;border-radius:5px;background:#2d3c30;transform:rotate(-7deg)}.focus-layer.rear{left:9px;top:0;opacity:.3;transform:rotate(-14deg)}.focus-layer.middle{left:25px;top:14px;opacity:.65}.focus-layer.front{left:42px;top:29px;transform:rotate(2deg);background:#354b38;border-color:#94b681;box-shadow:0 6px 28px #101d1640}.focus-layer svg{stroke:#a5c990;width:100%;height:100%;stroke-width:1.3}.image-surface{position:relative;flex-shrink:0;overflow:hidden;line-height:0;box-shadow:0 5px 25px #0003;margin:auto}.image-surface img{display:block;width:100%;height:100%;object-fit:fill;pointer-events:none;user-select:none}.base-image{position:absolute;inset:0}.result-overlay{position:absolute;inset:0;clip-path:inset(0 0 0 50%)}.depth-image{position:absolute;inset:0}.compare-line{position:absolute;top:0;bottom:0;width:1px;background:#fff;left:50%;pointer-events:none;box-shadow:0 0 2px #0008}.compare-line span{position:absolute;display:grid;place-items:center;top:50%;left:0;transform:translate(-50%,-50%);width:30px;height:30px;background:#fff;border-radius:50%;color:#38503a;font-size:17px;line-height:1;box-shadow:0 2px 12px #0003}.image-label{position:sticky;bottom:14px;align-self:end;font-size:8px;font-weight:750;letter-spacing:.08em;background:#18241ac7;color:#f0f6e9;padding:6px 8px;border:1px solid #e1ebdb33;border-radius:3px;grid-area:1/1;pointer-events:none;margin-bottom:14px}.original-label{justify-self:start;left:14px;margin-left:14px}.result-label{justify-self:end;right:14px;margin-right:14px}.image-surface{grid-area:1/1}.view-controls{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 21px;background:#fff;border-bottom:1px solid var(--line);min-height:57px}.comparison-control{display:flex;gap:12px;align-items:center;max-width:310px;flex:1}.view-controls label{font-size:10px;color:#77806c;white-space:nowrap}.comparison-control input{width:100%;min-width:60px;height:20px}.zoom-control,.depth-control{display:flex;align-items:center;gap:8px}.zoom-control{margin-left:auto}.zoom-control select,.depth-control select{padding:6px 21px 6px 9px;font-size:10px;min-height:29px}.status-panel{padding:17px 21px;background:#f8faf5;border-bottom:1px solid var(--line)}.status-top{display:flex;align-items:flex-start;gap:9px;min-height:22px}.status-dot{width:6px;height:6px;border-radius:50%;background:#a2b198;flex:0 0 6px;margin-top:6px}.status-top p{font-size:11px;color:#65755e;line-height:1.7;margin:0;flex:1}.status-panel.error{background:#fff5ed}.status-panel.error .status-top p{color:#8b4c26}.status-panel.error .status-dot{background:#bf773e}.status-panel.success .status-dot{background:#4c8054}.cancel{border:1px solid #b8c4ae;background:white;color:#57694d;font-size:10px;min-height:28px;padding:4px 11px;flex-shrink:0}.status-panel progress{display:block;width:100%;height:5px;accent-color:var(--green);margin-top:12px;appearance:none;border:0;background:#e0e6db;border-radius:6px;overflow:hidden}.status-panel progress::-webkit-progress-bar{background:#e0e6db}.status-panel progress::-webkit-progress-value{background:#608450}.status-panel progress::-moz-progress-bar{background:#608450}.result-stats{font-size:10px;color:#8a9480;line-height:1.7;margin:7px 0 0 15px}.diagnostics{font-size:10px;color:#7f896f;padding-left:28px;margin:8px 0 0;line-height:1.75}.export-panel{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:18px;padding:22px 21px;background:#fff}.export-panel h2{font-size:13px;letter-spacing:-.01em;margin:0 0 6px}.export-panel p{font-size:10px;line-height:1.7;color:#7f8876;margin:0;max-width:370px}.download-controls{display:flex;align-items:center;flex-wrap:wrap;gap:7px;width:100%}.download-controls select{font-size:10px;min-height:37px}.download-controls .button{font-size:11px;min-height:37px;padding:8px 12px}.download-controls .primary{margin-left:auto}.depth-note{font-size:11px;line-height:1.75;color:#737e67;margin:0;padding:15px 21px;background:#f2f6eb;border-top:1px solid #dbe4cf}.depth-note strong{font-weight:650;color:#57694b}.guide{display:grid;grid-template-columns:1fr 1.4fr;gap:10%;padding-block:70px 60px;scroll-margin-top:90px}.guide-title h2,.faq h2{font-size:29px;letter-spacing:-.035em;line-height:1.22;font-weight:650;margin:14px 0}.guide-title>p{font-size:13px;line-height:1.8;color:#7b8273;max-width:300px;margin:0}.guide-steps{display:flex;flex-direction:column;gap:25px}.guide-steps article{display:flex;gap:19px}.guide-steps article>span{font-size:10px;color:#809074;font-weight:700;border-top:1px solid #bbc6b0;padding-top:8px;min-width:22px}.guide-steps h3{font-size:14px;font-weight:650;margin:4px 0 8px}.guide-steps p{font-size:12px;line-height:1.85;color:#7b8273;margin:0}.faq{display:grid;grid-template-columns:1fr 1.4fr;gap:10%;padding-block:36px 76px;border-top:1px solid #d8ded0;scroll-margin-top:95px}.faq h2{font-size:27px;max-width:260px}.faq-items details{border-bottom:1px solid #d8ded0;padding:16px 0}.faq-items details:first-child{padding-top:0}.faq-items summary{cursor:pointer;font-size:12px;font-weight:650;list-style:none;display:flex;justify-content:space-between;gap:20px;line-height:1.6}.faq-items summary::-webkit-details-marker{display:none}.faq-items summary::after{content:"+";font-weight:400;color:#8c9a80;font-size:17px;line-height:1;flex-shrink:0}.faq-items details[open] summary::after{content:"−"}.faq-items p{font-size:12px;color:#7a8272;line-height:1.85;margin:12px 0 2px;padding-right:16px}.noscript{position:fixed;bottom:0;left:0;right:0;background:#fff6d9;border-top:2px solid #b58d28;padding:20px;z-index:101;text-align:center}
@media(min-width:1500px){.viewer{height:660px}.workspace-toolbar{padding-inline:25px}.view-controls,.status-panel,.export-panel{padding-inline:25px}.export-panel{padding-block:24px}.download-controls{width:auto}.download-controls .primary{margin-left:0}}
@media(max-width:1150px){.shell,.header-inner{width:calc(100% - 40px)}.studio{grid-template-columns:305px minmax(0,1fr)}.control-section{padding-inline:18px}.workspace-toolbar{gap:7px;padding-inline:14px}.view-tab{font-size:10px;padding-inline:8px}.resolution-badge{font-size:7px;padding-inline:5px}.viewer{height:520px}.view-controls,.status-panel,.export-panel{padding-inline:16px}.intro-note{font-size:11px}.intro-copy{font-size:15px}.download-controls select{width:100%}.download-controls .primary{margin-left:0;flex:1}.download-controls .secondary{flex:1}.guide,.faq{gap:7%}}
@media(max-width:850px){.intro{display:block;padding-block:30px 25px}.intro-note{margin-top:17px}.intro-note p br{display:none}.intro-note p strong{margin-right:6px}.studio{grid-template-columns:270px minmax(0,1fr)}.control-section{padding-inline:15px}.section-heading h2{font-size:12px}.workspace-toolbar{align-items:flex-start;flex-direction:column;gap:7px}.preview-tabs{width:100%;justify-content:space-between;gap:0}.view-tab{padding-inline:7px;font-size:9px}.resolution-badge{align-self:flex-end}.viewer{height:430px}.view-controls{padding-inline:12px;gap:10px}.view-controls label{font-size:9px}.comparison-control{gap:6px}.comparison-control input{width:100%}.export-panel{padding:18px 14px}.guide-title h2{font-size:25px}.guide{padding-top:48px}}
@media(max-width:650px){.shell,.header-inner{width:calc(100% - 28px)}.help-link{display:none}.intro{padding-block:25px 22px}.eyebrow{font-size:8px}h1{font-size:32px;margin-top:10px}.intro-copy{font-size:14px}.intro-note{margin-top:15px}.intro-note p{font-size:10px}.intro-note p br{display:block}.studio{display:flex;flex-direction:column;scroll-margin-top:82px}.controls{border-right:0;border-bottom:1px solid #bfc6bb}.control-section{padding:20px}.input-section .dropzone{padding:17px 12px}.section-heading h2{font-size:14px}.input-section .upload-icon{width:27px;height:27px}.dropzone p{margin:4px 0 12px}.dropzone .button{width:100%;max-width:240px}.file-list{max-height:265px}.file-thumb{width:54px;height:44px}.file-actions .icon-button{min-width:32px;min-height:36px}.file-name{font-size:12px}.file-meta{font-size:10px}.field{margin-top:16px}.field select{font-size:12px;min-height:42px}.check-row,.field>label,.field-heading label{font-size:12px}.hint{font-size:11px}.settings-note span{max-width:none}.settings-note button{font-size:11px}.run-section .button{min-height:44px}.workspace{width:100%}.workspace-toolbar{flex-direction:row;align-items:center;padding:13px 12px;min-height:58px;flex-wrap:wrap;gap:8px}.preview-tabs{width:auto;gap:3px}.view-tab{font-size:10px;min-height:34px;padding:8px}.resolution-badge{font-size:7px;align-self:center;margin-left:auto}.viewer{height:380px}.empty-preview{padding:40px 12px}.empty-preview h2{font-size:19px}.empty-preview p{font-size:11px}.focus-illustration{transform:scale(.9)}.empty-caption{font-size:7px;margin-top:23px}.view-controls{padding:12px 14px;gap:15px}.view-controls label{font-size:10px}.comparison-control{gap:10px;max-width:200px}.zoom-control select,.depth-control select{min-height:33px;font-size:11px}.status-panel{padding:16px}.status-top p{font-size:11px}.cancel{min-height:33px}.export-panel{padding:20px 16px;gap:14px}.export-panel h2{font-size:14px}.export-panel p{font-size:11px}.download-controls{gap:8px}.download-controls select{width:100%;font-size:12px;min-height:42px}.download-controls .button{min-height:43px;font-size:11px}.depth-note{padding:14px 16px}.guide,.faq{grid-template-columns:1fr;gap:28px;padding-block:40px}.guide-title h2{font-size:27px}.guide-title h2 br{display:none}.guide-title>p{max-width:none;font-size:12px}.guide-steps{gap:20px}.guide-steps p{font-size:12px}.faq h2{font-size:25px;max-width:none;margin-bottom:0}.faq-items details{padding-block:16px}.faq-items summary{font-size:12px}.faq-items p{font-size:12px}.site-footer{margin-top:0}.image-label{font-size:7px}.file-types{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Keep file names and decoder errors readable inside narrow status panels. */
.status-top p{min-width:0;overflow-wrap:anywhere}.diagnostics li{overflow-wrap:anywhere}

/* Photographic examples and an on-demand, original-size source inspector. */
.studio-start{grid-column:1/-1;min-width:0;background:#fff;border-bottom:1px solid var(--line)}
.studio-start .sample-library{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(0,2fr);gap:10px 25px;margin:0;padding:20px 22px 14px}
.example-intro{align-self:center;min-width:0}.example-intro h2{font-size:15px;line-height:1.4;margin:0;color:#344a3a}.example-intro .hint{margin-top:5px;max-width:260px}
.sample-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}.sample-options .sample-card{margin:0;min-height:80px;padding:10px}.sample-options .sample-card strong{font-size:12px}.sample-options .sample-card small{font-size:11px}.sample-options .sample-cover{flex-basis:72px;width:72px;height:62px}
.studio-start .sample-credit{grid-column:2;margin:0}.studio-start .sample-lesson{grid-column:1/-1;margin:0;padding:9px 12px}.studio-start .status-panel{border-bottom:0;padding:12px 22px;scroll-margin-top:90px}.studio-start .status-top p{font-size:12px}.studio-start .memory-note{margin:8px 0 0;font-size:11px;padding:8px 10px}.studio-start .result-stats{margin-left:15px}
.workspace-toolbar{scroll-margin-top:90px}.workspace>.diagnostics{padding:14px 25px 14px 37px;margin:0;background:#f8faf5;border-bottom:1px solid var(--line)}
.workspace>.run-section{background:#fff;border-bottom:1px solid var(--line);padding:17px 21px}.workspace>.run-section .section-heading{margin-bottom:11px}.run-actions{display:flex;gap:10px}.run-actions .button{flex:1;min-width:0;margin:0}.workspace>.run-section>.hint{margin-top:9px}
@media(max-width:1000px){.studio-start .sample-library{grid-template-columns:1fr}.example-intro .hint{max-width:none}.studio-start .sample-credit{grid-column:1}.sample-options .sample-card{min-height:76px}}
@media(max-width:650px){.studio-start{width:100%}.studio-start .sample-library{padding:17px 16px 12px;gap:10px}.example-intro h2{font-size:15px}.sample-options{grid-template-columns:1fr;gap:8px}.sample-options .sample-card{min-height:70px;padding:7px 9px}.sample-options .sample-cover{flex-basis:62px;width:62px;height:54px}.studio-start .sample-credit{font-size:9px}.studio-start .status-panel{padding:13px 16px}.studio-start .status-top p{font-size:12px}.studio-start .memory-note{font-size:11px}.studio-start .result-stats{margin-left:0}.workspace>.diagnostics{padding:14px 20px 14px 30px}}
@media(max-width:850px){.run-actions{flex-direction:column}.workspace>.run-section{padding:16px}.run-actions .button{min-height:42px}.workspace>.run-section .section-heading h2{font-size:13px}}
.sample-library{margin-top:20px}.sample-library h3{font-size:12px;margin:0 0 7px}.sample-card{width:100%;display:flex;align-items:center;gap:10px;text-align:left;background:#fff;border:1px solid #d5ded1;border-radius:6px;padding:7px;margin-top:8px;color:#344a3a;min-height:72px}.sample-card:hover:enabled{background:#f1f6ed;border-color:#819a7b}.sample-card:disabled{opacity:.6}.sample-card>span:nth-child(2){flex:1;min-width:0}.sample-card strong{display:block;font-size:11px;line-height:1.5}.sample-card small{display:block;font-size:10px;color:#76816f;line-height:1.6;margin-top:3px}.sample-cover{display:block;flex:0 0 62px;width:62px;height:56px;border-radius:4px;overflow:hidden;background:#e9ebe7}.sample-cover img{width:100%;height:100%;object-fit:cover;transform:scale(1.5);transform-origin:60% 60%}.sample-credit{font-size:9px;color:#7e8778;line-height:1.7;margin:9px 0 0}.sample-credit a{color:#566c50;text-underline-offset:2px}.sample-lesson{font-size:11px;line-height:1.8;padding:12px;border-left:3px solid #739367;background:#edf3e8;color:#4f6548;margin:16px 0}.file-preview{flex:0 0 48px;width:48px;height:48px;position:relative;border:1px solid #c9d5c2;border-radius:4px;padding:0;overflow:hidden;background:#e8e9e4}.file-preview .file-thumb{width:100%;height:100%;display:block;border-radius:0}.file-preview span{position:absolute;bottom:0;left:0;right:0;background:#233b2ada;color:#fff;font-size:9px;line-height:17px;letter-spacing:.02em}.file-preview:hover:enabled{border-color:#426440;box-shadow:0 0 0 1px #426440}.source-open{overflow:hidden}.source-dialog{width:min(1180px,calc(100% - 40px));height:min(920px,calc(100dvh - 40px));max-width:none;max-height:none;border:1px solid #8fa08a;border-radius:10px;padding:0;background:#fff;color:#344336;box-shadow:0 24px 100px #0006;overflow:hidden}.source-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto}.source-dialog::backdrop{background:#122019d9}.source-header{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;padding:18px 22px;border-bottom:1px solid #d8e0d3}.source-header>div{min-width:0}.source-header .eyebrow{margin:0;font-size:9px}.source-header h2{font-size:17px;line-height:1.45;overflow-wrap:anywhere;margin:5px 0}.source-header>div>p:last-child{font-size:11px;line-height:1.6;color:#72816a;margin:0}.source-header .button{flex-shrink:0;min-height:40px}.source-viewport{min-height:0;min-width:0;overflow:auto;display:flex;position:relative;background:#25312b;scrollbar-color:#879a82 #25312b;scrollbar-width:thin;outline-offset:-3px}.source-viewport img{display:block;max-width:none;flex:none;margin:auto;object-fit:contain;user-select:none}.source-viewport img:not([src]){display:none}.source-viewport>p{position:absolute;left:16px;bottom:12px;max-width:calc(100% - 32px);margin:0;background:#18251ae6;color:#edf4e8;border-radius:3px;font-size:12px;line-height:1.7;padding:6px 10px}.source-viewport>p:empty{display:none}.source-toolbar{padding:13px 22px;display:flex;gap:16px;align-items:center;justify-content:space-between;border-top:1px solid #d8e0d3}.source-navigation{display:flex;gap:8px}.source-toolbar .button{min-height:42px}.source-toolbar .zoom-control select{min-height:38px;font-size:12px}.source-toolbar .zoom-control label{font-size:11px;color:#66775f}.source-hint{font-size:11px;line-height:1.7;color:#75816e;padding:0 22px 14px;margin:0}
@media(max-width:650px){.sample-card strong{font-size:12px}.sample-card small{font-size:11px}.sample-credit{font-size:10px}.file-preview{flex-basis:54px;width:54px;height:50px}.source-dialog{width:calc(100% - 16px);height:calc(100dvh - 16px);border-radius:7px}.source-header{padding:13px;gap:10px}.source-header h2{font-size:14px}.source-header>div>p:last-child{font-size:10px}.source-header .button{font-size:11px;padding:8px 10px;min-height:40px}.source-toolbar{padding:12px 13px;gap:10px;flex-wrap:wrap}.source-navigation{flex:1}.source-navigation .button{flex:1;font-size:11px;gap:8px;padding:8px 11px}.source-toolbar .zoom-control{margin:0;flex:1;justify-content:space-between}.source-toolbar .zoom-control label{font-size:10px;max-width:60px;line-height:1.5}.source-hint{padding:0 13px 12px;font-size:10px}}
