/* Scope: standalone proposal. Reuses the live portal's palette and component shapes. */
.current-proposal a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.refresh-feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.refresh-feature-grid .feature-card:last-child{grid-column:auto}
.feature-card,.resource-card,.screen-card{min-width:0}
.refresh-text-link{display:inline-flex;align-items:center;gap:.6rem;min-height:44px;color:var(--atube-orange-dark);font:inherit;font-size:1rem;font-weight:500;line-height:1.4;text-decoration:underline;text-underline-offset:4px;border:0;background:none;padding:.5rem 0;white-space:normal;text-align:left}
.refresh-text-link:hover{color:var(--atube-navy)}
.refresh-feature-grid .feature-card{display:flex;flex-direction:column;align-items:flex-start}
.refresh-feature-grid .refresh-text-link{margin-top:auto}
.refresh-figure{margin:0;min-width:0}
.refresh-figure img,.refresh-screen-card img{display:block;width:100%;height:auto;object-fit:contain;background:#20232a}
.refresh-figure .current-image-button,.refresh-screen-card .current-image-button{overflow:hidden;border:1px solid var(--atube-line);border-radius:14px;background:#20232a}
.refresh-figure figcaption{font-size:.875rem;line-height:1.5;color:var(--atube-muted);padding:1rem .1rem}
.refresh-figure figcaption strong{display:block;font-family:var(--atube-font-heading);font-size:1.125rem;font-weight:500;line-height:1.5;color:var(--atube-navy);margin-bottom:.25rem}
.refresh-figure figcaption span{display:block;margin-top:.4rem}
.refresh-note{margin:1.5rem 0 0;padding:1rem 1.25rem;border:1px solid #f2d4c5;border-radius:14px;background:var(--atube-orange-soft);color:var(--atube-text);font-size:1rem;line-height:1.65;max-width:none}
.refresh-intro{padding-block:2rem}
.refresh-anchor-nav{display:flex;flex-wrap:wrap;gap:.65rem}
.refresh-anchor-nav a{display:flex;align-items:center;min-height:44px;padding:.5rem .9rem;border:1px solid var(--atube-line);border-radius:10px;background:#fff;color:var(--atube-navy);font-size:1rem;line-height:1.4;font-weight:500}
.refresh-anchor-nav a:hover{border-color:var(--atube-orange);color:var(--atube-orange-dark)}
.refresh-catalog-section{scroll-margin-top:100px}
.refresh-category-head{display:flex;align-items:flex-end;justify-content:space-between;gap:2rem;margin-bottom:2rem}
.refresh-category-head>div{max-width:65ch}
.refresh-category-head h2{font-size:2.25rem;line-height:1.25;font-weight:400;margin:1rem 0}
.refresh-category-head p{margin:0;font-size:1.0625rem;line-height:1.65}
.refresh-category-head>a{flex-shrink:0}
.refresh-catalog-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:2rem;align-items:start}
.refresh-catalog-layout>.refresh-figure{position:sticky;top:110px}
.refresh-resource-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.refresh-resource-items .resource-card{padding:1.5rem;box-shadow:none;transform:none}
.refresh-resource-items h3{font:500 1.5rem/1.3 var(--atube-font-heading);letter-spacing:normal;margin:0 0 .85rem}
.refresh-resource-items p{font-size:1rem;line-height:1.6;margin:0;max-width:65ch}
.refresh-badge{display:inline-block;font-size:.875rem;line-height:1.5;font-weight:400;padding:.2rem .6rem;margin:0 0 .75rem;border-radius:6px;color:#8b350b;background:#fff2e9;border:1px solid #efc7b1}
.refresh-comparison{overflow-x:auto;border:1px solid var(--atube-line);border-radius:14px}
.refresh-comparison table{width:100%;font-size:1rem;line-height:1.6;border-collapse:collapse}
.refresh-comparison caption{caption-side:top;padding:1rem 1.25rem;color:var(--atube-muted);font-size:.875rem}
.refresh-comparison th,.refresh-comparison td{padding:1rem 1.25rem;border-top:1px solid var(--atube-line);text-align:left;vertical-align:top;min-width:0;white-space:normal}
.refresh-comparison th{font-weight:600;color:var(--atube-navy)}
.refresh-comparison thead{background:var(--atube-soft)}
.refresh-gallery-toolbar{display:flex;justify-content:space-between;gap:2rem;align-items:flex-end;margin-bottom:1.5rem}
.refresh-gallery-toolbar label{display:block;flex:1;max-width:38rem;font-size:.9375rem;line-height:1.4;font-weight:600}
.refresh-gallery-toolbar input{display:block;width:100%;border:1px solid var(--atube-line);border-radius:12px;background:#fff;padding:.85rem 1rem;margin-top:.65rem;color:var(--atube-navy);font:400 1rem/1.5 var(--atube-font-body)}
.refresh-gallery-toolbar p{font-size:1rem;margin-bottom:.8rem}
.refresh-filters{flex-wrap:wrap;gap:.6rem}
.refresh-filters button{min-height:44px;white-space:normal}
.refresh-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem;margin-top:2rem}
.refresh-screen-card{height:auto;display:flex;flex-direction:column}
.refresh-screen-card .current-image-button{border:0;border-radius:0;aspect-ratio:1743/1153;display:flex;align-items:center;justify-content:center}
.refresh-screen-card img{width:100%;max-height:100%;height:auto;border-radius:0}
.refresh-screen-card .screen-card__body{display:flex;flex-direction:column;align-items:flex-start;flex:1}
.refresh-screen-card h2{font:500 1.5rem/1.3 var(--atube-font-heading);margin:0 0 .75rem;color:var(--atube-navy)}
.refresh-screen-card p{font-size:1rem;line-height:1.6;margin-bottom:1rem}
.refresh-screen-card .refresh-text-link{margin-top:auto}
[data-capture-category][hidden],#screen-empty[hidden]{display:none}
.current-guide-aside nav h2{font:500 1.125rem/1.5 var(--atube-font-heading);margin:0 0 1rem}
.current-guide-article section{scroll-margin-top:110px;margin-bottom:2rem}
.current-guide-article section>h2{font-size:2.25rem;line-height:1.25;font-weight:400}
.current-guide-article .refresh-figure{margin-block:2rem}
.current-guide-article details summary{font:500 1.125rem/1.5 var(--atube-font-heading);padding-right:1rem}
.current-guide-grid{gap:1.5rem}
.current-guide-grid .feature-card p{margin-bottom:1.5rem}
.current-guide-grid .feature-card h3{font-size:1.5rem}
.feature-card>h2{font:500 1.5rem/1.3 var(--atube-font-heading)}
/* Native-size viewing never interpolates above source pixel dimensions. */
dialog#current-preview{width:min(96vw,1800px);max-width:none;max-height:94dvh;padding:1.25rem;border-radius:18px;overflow:hidden}
dialog#current-preview[open]{display:flex;flex-direction:column}
.current-dialog-head{flex:none;align-items:center;gap:1rem;margin-bottom:1rem}
.current-dialog-head>div{min-width:0}
.current-dialog-head h2{font:500 1.5rem/1.3 var(--atube-font-heading);margin:0}
.current-dialog-head .theme-btn{min-height:44px;flex-shrink:0}
.refresh-view-counter{font-size:.875rem;line-height:1.5;color:var(--atube-muted);margin:0 0 .25rem}
#current-preview-body{min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;flex:1;text-align:center}
#current-preview-body img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(94dvh - 180px);object-fit:contain;margin-inline:auto}
#current-preview-body.is-native img{width:var(--image-native-width);max-width:none;max-height:none;margin-inline:0}
#current-preview-body>p{text-align:left;max-width:65ch;padding:1rem}
.refresh-view-controls{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.75rem;flex:none;padding-top:1rem}
.refresh-view-controls[hidden]{display:none}
.refresh-view-controls .theme-btn{padding:.75rem 1rem;min-height:44px;white-space:normal}
.refresh-view-controls #screen-size{justify-self:center}
@media(min-width:1200px){.zoomy-hero .hero-lead{max-width:55ch}}
@media(max-width:1199px){.refresh-catalog-layout{grid-template-columns:1fr}.refresh-catalog-layout>.refresh-figure{position:static;max-width:760px}.refresh-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.refresh-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.refresh-category-head{align-items:flex-start;flex-direction:column;gap:.75rem}}
@media(max-width:767px){.refresh-feature-grid,.refresh-gallery-grid,.refresh-resource-items{grid-template-columns:1fr}.refresh-category-head h2,.current-guide-article section>h2{font-size:1.75rem;line-height:1.25}.refresh-screen-card h2,.refresh-resource-items h3,.current-guide-grid .feature-card h3,.feature-card>h2{font-size:1.3125rem;line-height:1.3}.refresh-gallery-toolbar{flex-direction:column;align-items:stretch;gap:.5rem}.refresh-gallery-toolbar p{margin:0}.refresh-category-head p{font-size:1rem}.refresh-resource-items .resource-card{padding:1.25rem}.refresh-catalog-layout{gap:1.5rem}.refresh-note{padding:1rem}.current-guide-aside .refresh-guide-toc{width:100%}.refresh-comparison th,.refresh-comparison td{font-size:1rem;padding:.65rem .5rem}.current-proposal{line-height:1.5}.refresh-view-controls{grid-template-columns:1fr 1fr}.refresh-view-controls #screen-size{grid-column:1/-1;grid-row:2;justify-self:stretch}.refresh-view-controls .theme-btn{padding:.65rem}.current-dialog-head h2{font-size:1.125rem}.current-dialog-head .theme-btn{padding:.65rem .75rem}dialog#current-preview{padding:.85rem;max-height:95dvh}#current-preview-body img{max-height:calc(95dvh - 215px)}.refresh-view-counter{font-size:.875rem}.refresh-catalog-section{scroll-margin-top:90px}}

/* Keep the decorative media corner inside narrow screens. */
@media(max-width:767px){.media-panel::after{right:0}}
