:root{font-family:Arial,Helvetica,sans-serif;color:#172b30;background:#f4f6f7;font-size:16px;--green:#195a4e;--line:#dce3e5}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,label{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:var(--green)}button{border:1px solid var(--line);background:white;border-radius:8px;padding:11px 16px;color:inherit;font-weight:600}button:hover{border-color:var(--green);background:#f0f6f4}button:disabled{opacity:.45;cursor:not-allowed}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#104538;color:white}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #de9e48;outline-offset:3px}.demo{background:#19343a;color:#fff;padding:10px 4%;font-size:12px;letter-spacing:.08em;display:flex;gap:20px}.demo span{letter-spacing:0;opacity:.8}header{background:white;border-bottom:1px solid var(--line);padding:24px 4%;display:flex;align-items:center;justify-content:space-between;gap:25px}.brand{font-size:34px;font-weight:750;letter-spacing:-1.8px;text-decoration:none;color:#19343a}.brand span{display:block;font-size:10px;letter-spacing:1.8px;margin-top:5px}.avatar{background:#e8eeec;border-radius:50%;padding:12px;font-size:14px}nav{display:flex;gap:8px}.nav{border:0;font-weight:500}.nav.active{background:#e8f0ee;color:var(--green)}main{max-width:1440px;margin:0 auto;padding:40px 4% 90px}h1{font-size:36px;letter-spacing:-1.2px;font-weight:600;margin:8px 0 10px}h2{font-size:22px;letter-spacing:-.4px;margin:0 0 14px}h3{font-size:17px;margin:0 0 8px}p{line-height:1.6;margin:8px 0}.muted{color:#627178}.eyebrow{font-size:12px;letter-spacing:1.8px;font-weight:700;color:var(--green)}.heading,.row{display:flex;align-items:center;justify-content:space-between;gap:18px}.heading{margin-bottom:28px}.actions{display:flex;gap:10px;flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:24px 0 34px}.stat{background:white;border:1px solid var(--line);padding:24px;border-radius:12px}.stat strong{display:block;font-size:32px;font-weight:500;margin:9px 0}.stat span{font-size:14px;color:#627178}.gallerylist{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.gallery{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.cover{height:200px;width:100%;object-fit:cover}.gallery-body{padding:22px}.tag{display:inline-block;font-size:12px;font-weight:600;border-radius:5px;padding:6px 9px;background:#edf2f3}.tag.green{color:#195a4e;background:#e5f2ec}.tag.gold{color:#845613;background:#fff3da}.gallery .row{margin-top:20px}.gallery button{width:100%;margin-top:18px}.tabs{display:flex;gap:10px;margin:22px 0;flex-wrap:wrap}.tabs .active{background:#19343a;color:white}.detail{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:28px}.panel{background:white;border:1px solid var(--line);border-radius:12px;padding:25px;margin-bottom:18px}.panel p{font-size:14px}.listrow{padding:14px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:15px}.listrow:last-child{border:0}.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.photo{background:white;border-radius:9px;border:2px solid transparent;overflow:hidden;position:relative;box-shadow:0 1px 4px #20383a14}.photo.selected{border-color:var(--green)}.photo img{width:100%;height:210px;object-fit:cover;display:block}.photo .zoom{padding:0;width:100%;border:0;border-radius:0;display:block}.photo .bottom{padding:11px;display:flex;gap:8px;align-items:center;justify-content:space-between;font-size:13px}.photo .pick{padding:7px 10px;font-size:14px}.photo.selected .pick{background:var(--green);color:white}.file{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.client-hero{padding:32px;background:#19343a;color:white;border-radius:12px;display:flex;justify-content:space-between;gap:24px;margin-bottom:25px}.client-hero .eyebrow{color:#a9d4c8}.client-hero p{max-width:620px;color:#d6e4e2}.client-hero h1{font-size:32px}.countbar{position:sticky;top:0;z-index:4;background:#f4f6f7f5;backdrop-filter:blur(8px);border-bottom:1px solid var(--line);padding:15px 0;margin-bottom:22px}.countbar strong{font-size:19px}.notice{padding:14px 18px;border-left:3px solid #c18c39;background:#fff7e9;font-size:14px;line-height:1.6;margin:18px 0}.success{background:#e5f2ec;border-left-color:var(--green)}label{display:block;font-size:14px;font-weight:600;margin-bottom:15px}input,select,textarea{display:block;width:100%;margin-top:7px;padding:12px;border:1px solid #c5d0d4;border-radius:7px;background:white;color:#172b30}textarea{min-height:90px;resize:vertical}input[type=checkbox],input[type=radio]{width:auto;display:inline;margin:0 8px 0 0}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.wide{grid-column:1/-1}dialog{border:0;border-radius:14px;padding:28px;width:min(680px,calc(100% - 30px));max-height:90vh;overflow:auto;box-shadow:0 20px 100px #0004}dialog::backdrop{background:#13282acc;backdrop-filter:blur(3px)}dialog img{max-width:100%;max-height:60vh;object-fit:contain;display:block;margin:auto}.dialoghead{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.dialoghead button{border:0;font-size:20px;padding:5px 12px}.footer-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:25px}.empty{padding:55px 20px;border:1px dashed #bdcacc;border-radius:10px;text-align:center}.textbutton{border:0;background:transparent;padding:0;color:var(--green)}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#19343a;color:white;padding:14px 24px;border-radius:8px;display:none;z-index:20;max-width:90%;box-shadow:0 6px 25px #0002}.upload{border:1px dashed #91a9a5;padding:24px;text-align:center;border-radius:9px;margin-bottom:25px}.upload input{border:0}.rights{font-size:12px;color:#6b787e;text-align:center;margin-top:30px}.print-only{display:none}@media(max-width:950px){.detail{grid-template-columns:1fr}.gallerylist{grid-template-columns:repeat(2,1fr)}.photo-grid{grid-template-columns:repeat(3,1fr)}.stats{grid-template-columns:repeat(2,1fr)}header{flex-wrap:wrap}.avatar{display:none}}@media(max-width:600px){.demo{display:block;font-size:11px}.demo span{display:block;margin-top:5px}header{padding:18px 5%}nav{width:100%;display:grid;grid-template-columns:1fr 1fr}.nav{font-size:14px;padding:10px}.heading{align-items:flex-start;flex-direction:column}h1{font-size:29px}.gallerylist{grid-template-columns:1fr}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.photo img{height:155px}.photo .bottom{flex-direction:column;align-items:stretch}.photo .pick{width:100%}.stats{gap:10px}.stat{padding:16px}.client-hero{padding:23px;display:block}.client-hero h1{font-size:27px}.countbar .row{align-items:flex-start;flex-direction:column}.countbar strong{font-size:16px}.formgrid{grid-template-columns:1fr}.wide{grid-column:auto}main{padding-top:25px}}@media print{body>*{display:none!important}body>.print-only{display:block!important;background:white;color:black;padding:25px}.print-only img{width:100px}.print-only .listrow{break-inside:avoid}}
hr{border:0;border-top:1px solid var(--line);margin:25px 0}.brand{letter-spacing:-1px;font-size:29px}.cover-picker{display:flex;overflow:auto;gap:12px;padding:8px 0 15px}.cover-option{flex:0 0 140px;position:relative;padding:6px;border:2px solid transparent;border-radius:8px;font-size:12px;overflow:hidden}.cover-option:has(input:checked){border-color:var(--green)}.cover-option input{position:absolute;left:12px;top:12px}.cover-option img{width:100%;height:95px;object-fit:cover;margin:0 0 8px}.cover-option span{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.watermark-preview{background:#edf1f3;min-height:120px;padding:16px;text-align:center;border-radius:8px}.watermark-preview img{max-height:260px}.watermark-preview span{display:block;font-size:13px;color:#53676c;margin-top:10px}input[type=range]{padding:0;accent-color:var(--green)}.review-photos{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;max-height:250px;overflow:auto;margin:20px 0}.review-photos figure{margin:0;min-width:0}.review-photos img{width:100%;height:80px;object-fit:cover}.review-photos figcaption{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.client-view{background:#fff}.client-view header{padding:18px 4%;border-bottom:0}.client-view .brand span{display:none}.client-view main{max-width:1600px;padding-top:0}.client-view .client-hero{position:relative;min-height:310px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;text-align:center;isolation:isolate;padding:48px 30px;border-radius:3px;background:#193c3e;overflow:hidden}.client-hero .hero-cover{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover;z-index:-2}.client-hero.has-cover{min-height:450px}.client-hero.has-cover:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#061719dd,#06171922);z-index:-1}.client-view .client-hero h1{font-family:Georgia,serif;font-size:clamp(32px,4.5vw,60px);letter-spacing:-.5px;font-weight:400}.client-view .client-hero p{margin:8px auto}.client-view .client-badge{background:#eaf1ee;color:#16483f;border:1px solid #bdccc5}.client-view .client-hero>div:last-child{display:flex;align-items:center;gap:16px;font-size:14px}.client-intro{text-align:center;margin:36px auto 22px}.client-intro h2{font-family:Georgia,serif;font-size:27px;font-weight:400}.client-intro p{color:#5b7073}.client-view .countbar{background:#fffffff5}.client-view .photo-grid{gap:24px;grid-template-columns:repeat(3,minmax(0,1fr))}.client-view .photo{box-shadow:none;border-radius:3px;border-color:#e8edec}.client-view .photo.selected{border-color:var(--green)}.client-view .photo img{height:300px;object-fit:contain;background:#f2f4f3}.client-view .photo .bottom{padding:14px}.client-view .photo .pick{border-radius:30px;font-weight:500}.client-view .rights{margin:45px 0}.client-view .tabs button{border-radius:25px}.client-view nav{opacity:.85}.client-view .avatar{display:none}@media(max-width:700px){.client-view .client-hero.has-cover{min-height:320px}.client-view .photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.client-view .photo img{height:190px}.client-view .client-hero>div:last-child{flex-direction:column;gap:0}.client-view .photo .bottom{padding:8px}.review-photos{grid-template-columns:repeat(3,1fr)}}

/* Client selection and delivery confirmation */
.delivery-card{display:flex;gap:20px;background:#f1f5ee;border:1px solid #d8e2d0;border-radius:18px;padding:28px;margin:24px 0;color:#253a30}.delivery-card h2{margin:0;font-family:Georgia,serif;font-size:28px}.delivery-card p{line-height:1.65;max-width:650px}.delivery-symbol{display:grid;place-items:center;flex-shrink:0;width:48px;height:48px;border-radius:50%;background:#dce9d5;color:#294f35;font-size:25px}.delivery-link{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:10px;text-decoration:none;font-weight:600;background:#28564e;color:#fff}.delivery-card small,.delivery-popup small{display:block;margin-top:20px;font-size:13px;color:#657269}.delivery-popup{text-align:center;padding:16px 12px}.delivery-popup .delivery-symbol{margin:0 auto 24px;width:64px;height:64px;font-size:32px}.delivery-popup .dialoghead{justify-content:center;position:relative;padding:0 24px}.delivery-popup .dialoghead h2{font-family:Georgia,serif;font-size:32px;color:#253a30}.delivery-popup .dialoghead button{position:absolute;right:-12px;top:-100px}.delivery-popup p{font-size:17px;line-height:1.7;max-width:440px;margin:20px auto}.delivery-popup .delivery-caption{font-size:14px;color:#657269}.delivery-popup #confirmation-close{display:block;margin:14px auto 0}.delivery-popup .delivery-link{min-height:46px}@media(max-width:600px){.delivery-card{padding:20px;gap:12px}.delivery-card .delivery-symbol{width:32px;height:32px;font-size:19px}.delivery-card h2{font-size:25px}.delivery-popup{padding:12px 0}.delivery-popup .dialoghead h2{font-size:28px}.delivery-link{width:100%;box-sizing:border-box}}

/* Keep client choices legible without changing image files or enlarged previews. */
.client-view.selection-finalized .photo:not(.selected) .zoom img{filter:grayscale(1)}
.client-view .photo .bottom{flex-direction:column;align-items:stretch;gap:10px;text-align:center}
.client-view .photo .bottom .file{display:block;min-width:0;width:100%;font-size:14px}
.client-view .photo .pick{width:100%;min-height:44px}
.client-view .photo .pick:disabled{opacity:1;cursor:default}
.client-view .photo:not(.selected) .pick:disabled{color:#627178;background:#f2f4f3}

/* Compact studio overview and stage pages. */
button.stat{text-align:left;cursor:pointer}button.stat:hover{background:#f0f6f4;border-color:#195a4e}button.stat.active{border-color:#195a4e;background:#e8f2ed;box-shadow:inset 0 0 0 1px #195a4e}.list-heading{margin:28px 0 14px}.list-heading h2{margin:0}.gallery-rows{display:grid;gap:10px}.gallery-row{display:grid;grid-template-columns:76px minmax(0,1fr) 200px auto;align-items:center;gap:20px;background:white;border:1px solid var(--line);border-radius:12px;padding:16px}.gallery-thumb{width:76px;height:76px;object-fit:cover;border-radius:8px}.placeholder-thumb{background:#e8eeec;color:#627178;display:grid;place-items:center;font-size:12px}.gallery-info{min-width:0}.gallery-info h3{overflow-wrap:anywhere;margin-bottom:6px}.gallery-info p{color:#627178;font-size:14px;margin:0;overflow-wrap:anywhere}.gallery-stage{display:flex;align-items:flex-start;flex-direction:column;gap:8px}.gallery-stage>.muted{font-size:13px}#dashboard-back{margin-bottom:20px}@media(max-width:800px){.gallery-row{grid-template-columns:64px minmax(0,1fr);gap:12px}.gallery-thumb{width:64px;height:64px}.gallery-stage{grid-column:2}.gallery-row>button{grid-column:2;justify-self:start}}@media(max-width:450px){.stats .stat{padding:14px 10px}.stats .stat span{font-size:13px}.gallery-row{padding:12px}.gallery-row>button{width:100%}}

/* Guided gallery setup and vertical-only cover framing. */
[hidden]{display:none!important}.setup-steps{list-style:none;padding:0;margin:0 0 28px;display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.setup-steps button{width:100%;height:100%;font-size:13px;padding:10px 4px}.setup-steps button span{display:block;margin:0 auto 6px;border-radius:50%;background:#e8eeec;width:24px;height:24px;line-height:24px}.setup-steps [aria-current=step]{border-color:#195a4e;background:#e8f2ed;color:#195a4e}.cover-framing{aspect-ratio:16/6;overflow:hidden;background:#e8eeec;border-radius:10px;margin:16px 0}.cover-framing img{display:block;width:100%;height:100%;max-height:none;object-fit:cover;margin:0}.summary-cover{max-width:100%}.setup-summary dl{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px;font-size:14px;margin:18px 0 28px}.setup-summary dt{color:#627178}.setup-summary dd{margin:0;overflow-wrap:anywhere}.setup-photo-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-height:260px;overflow:auto}.setup-photo-list figure{margin:0;min-width:0}.setup-photo-list img{width:100%;height:90px;object-fit:cover}.setup-photo-list figcaption{font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.setup-draft-note{font-size:13px;margin-top:18px}.cover-before-upload{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;background:#f0f5f2;border-radius:10px;margin:18px 0}.cover-before-upload button{flex-shrink:0}#setup-password-label small{display:block;font-weight:400;color:#627178;line-height:1.5;margin-top:6px}@media(max-width:600px){.cover-before-upload{align-items:stretch;flex-direction:column}.setup-steps{gap:4px}.setup-steps button{font-size:11px}.setup-summary dl{grid-template-columns:110px minmax(0,1fr)}.setup-photo-list{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Clear separation of sharing, identification and the planned password gate. */
.access-setting{background:#f0f5f2;border:1px solid #dae6df;border-radius:12px;padding:18px;margin:4px 0 22px}.access-toggle{font-size:16px;display:flex;align-items:center;gap:10px;margin:0}.access-toggle input{width:20px;height:20px;accent-color:var(--green);margin:0}.access-setting p{font-size:13px}.access-setting #setup-password-label{margin-top:18px}.review-heading{text-align:center;margin:0 auto 24px}.review-heading .review-cover{width:100%;height:140px;object-fit:cover;border-radius:10px;margin:0 0 22px}.review-heading h2{font-family:Georgia,serif;font-weight:400;font-size:30px;margin:10px 0;overflow-wrap:anywhere}.review-heading .tag{margin-top:10px}.review-blocks{display:grid;gap:14px}.review-block{padding:20px;border:1px solid #dfe7e3;background:#f8faf9;border-radius:12px}.review-block h3{font-size:13px;letter-spacing:.04em;color:#527168;margin-bottom:14px}.review-key{font-size:18px;font-weight:600;margin-bottom:8px}.review-block .muted{font-size:13px;line-height:1.6}.review-block dl{display:grid;grid-template-columns:140px minmax(0,1fr);gap:10px;margin:14px 0 0;font-size:14px}.review-block dt{color:#627178}.review-block dd{margin:0;overflow-wrap:anywhere}.review-prototype{font-size:13px;color:#627178;text-align:center;line-height:1.6;padding:10px 18px;margin-top:18px}@media(max-width:500px){.review-block{padding:16px}.review-block dl{grid-template-columns:115px minmax(0,1fr)}.review-heading h2{font-size:26px}}

/* Compact review, with full-size touch targets retained. */
dialog:has(.setup-review){padding:22px}
dialog:has(.setup-review) .dialoghead{margin-bottom:14px}
dialog:has(.setup-review) .setup-steps{margin-bottom:16px}
dialog:has(.setup-review) .setup-steps button{padding:7px 4px}
dialog:has(.setup-review) .setup-steps button span{display:inline-block;margin:0 5px 0 0;width:20px;height:20px;line-height:20px}
.setup-review .review-heading{margin-bottom:16px}
.setup-review .review-heading .review-cover{height:72px;max-width:200px;margin:0 auto 12px;border-radius:7px}
.setup-review .review-heading h2{font-size:24px;margin:6px 0}
.setup-review .review-heading p{font-size:14px;margin:4px 0}
.setup-review .review-heading .tag{margin-top:6px}
.setup-review .review-blocks{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.setup-review .review-block{padding:14px;min-width:0}
.setup-review .review-block:last-child{grid-column:1/-1}
.setup-review .review-block h3{margin-bottom:9px}
.setup-review .review-key{font-size:16px;line-height:1.4;margin:4px 0}
.setup-review .review-block .muted{line-height:1.45;margin:5px 0}
.setup-review .review-block dl{grid-template-columns:100px minmax(0,1fr);gap:7px;margin:10px 0 0}
.setup-review .review-prototype{margin:10px 0 0;padding:0;line-height:1.45}
dialog:has(.setup-review) .footer-actions{margin-top:16px}
dialog:has(.setup-review) .setup-draft-note{margin-top:10px;line-height:1.4}
@media(max-width:540px){dialog:has(.setup-review){padding:18px}.setup-review .review-blocks{grid-template-columns:1fr}.setup-review .review-heading h2{font-size:22px}.setup-review .review-block dl{grid-template-columns:110px minmax(0,1fr)}dialog:has(.setup-review) .setup-steps button span{display:block;margin:0 auto 4px}}

/* Password option is secondary information in the data form. */
#setup-data .access-setting{background:transparent;border:0;border-top:1px solid var(--line);border-radius:0;padding:12px 0 0;margin:0 0 18px}
#setup-data .access-toggle{font-size:14px;gap:8px;font-weight:500}
#setup-data .access-toggle input{width:16px;height:16px}
#setup-data .access-setting p{margin:4px 0;font-size:13px}
#setup-data .access-setting #setup-password-label{margin:10px 0 0;font-size:13px;font-weight:500}
#setup-data .access-setting input[type=password]{max-width:320px;padding:9px 11px;margin-top:5px}
#setup-data #setup-password-label small{font-size:12px;margin-top:5px}

/* Open galleries from their identity; show management details on demand. */
.gallery-row{grid-template-columns:minmax(0,1fr) 200px auto}.gallery-row>.gallery-entry{display:flex;align-items:center;gap:20px;padding:0;border:0;background:transparent;text-align:left;font-weight:400;justify-self:stretch;min-width:0;border-radius:8px}.gallery-entry:hover .gallery-entry-title{text-decoration:underline;color:var(--green)}.gallery-entry-title{display:block;font-size:17px;font-weight:600;overflow-wrap:anywhere;margin-bottom:6px}.gallery-entry-meta{display:block;color:#627178;font-size:14px;overflow-wrap:anywhere}.gallery-entry .gallery-thumb{flex-shrink:0}.overview-detail{display:grid;grid-template-columns:1fr 1fr;gap:22px}.overview-detail .panel{height:100%;margin-bottom:0}.gallery-photo-drawer{margin-top:22px}.gallery-photo-drawer summary{cursor:pointer;font-size:18px;font-weight:600;line-height:1.6}.gallery-photo-drawer summary .tag{margin-left:10px;vertical-align:middle}.gallery-photo-drawer summary .muted{font-size:13px;font-weight:400;margin-left:14px}.photo-tools{margin:22px 0}.gallery-photo-drawer summary:focus-visible{outline:3px solid #de9e48;outline-offset:5px}@media(max-width:800px){.gallery-row{grid-template-columns:1fr auto}.gallery-row>.gallery-entry{grid-column:1/-1;gap:12px;width:100%}.gallery-row>.gallery-stage{grid-column:1}.gallery-row>button:not(.gallery-entry){grid-column:2}.overview-detail{grid-template-columns:1fr}.gallery-photo-drawer summary .muted{display:block;margin-left:0}}

.overview-heading>div:first-child{min-width:0}.overview-heading h1{overflow-wrap:anywhere}@media(max-width:1100px){.overview-heading{align-items:flex-start;flex-direction:column}.overview-heading .actions{width:100%}}

.selection-pending{margin:18px 0;padding:14px 18px;background:#fff7e9;border-left:3px solid #bd8a3d;font-size:14px;line-height:1.6}.selection-pending b{display:block}.selection-pending [role=status]{display:block;color:#627178;font-size:13px;margin-top:4px}.zoom-choice{text-align:center;padding-top:18px}.zoom-choice .pick{min-width:180px;min-height:44px;border-radius:24px}.zoom-choice p{font-size:13px}

/* A4 summary: same dimensions for measurement and printing. */
.print-only.print-measuring{display:block!important;position:absolute;left:-10000px;top:0;width:190mm;background:white}
.summary-page{width:190mm;height:270mm;padding:0;color:#172b30;background:#fff;font:var(--summary-font,10pt)/1.35 Arial,Helvetica,sans-serif;break-after:page;page-break-after:always}
.summary-page:last-child{break-after:auto;page-break-after:auto}
.summary-body{height:260mm;overflow:visible}
.summary-page h1{font:700 18pt/1.2 Arial;margin:3mm 0;letter-spacing:0;overflow-wrap:anywhere}
.summary-page h2{font:700 11pt/1.3 Arial;margin:4mm 0 2mm;letter-spacing:0}
.summary-page p{font:inherit;line-height:1.35;margin:1.5mm 0;overflow-wrap:anywhere}
.summary-label{font-size:8pt;letter-spacing:1px;color:#195a4e}
.summary-note{white-space:pre-wrap;border-left:2px solid #195a4e;padding-left:3mm}
.summary-names{display:grid;gap:2mm 3mm}
.summary-name{min-width:0;overflow-wrap:anywhere;line-height:1.2;padding:0.1mm 0;border-bottom:1px solid #e4e8e6;break-inside:avoid}
.summary-footer{height:10mm;padding-top:3mm;font:8pt Arial;color:#586662}
@page{size:A4 portrait;margin:10mm}
@media print{body>.print-only{padding:0!important;width:190mm}body{background:white!important}.summary-page{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

.summary-photo{margin:0;min-width:0;break-inside:avoid;text-align:center}
.summary-page .summary-photo img{display:block;width:100%;height:var(--summary-thumb-height);object-fit:contain;background:#f2f3f2;border:1px solid #e4e8e6}
.summary-photo .summary-name{font-size:inherit;line-height:1.15;padding:1mm 0 0;border:0;overflow-wrap:anywhere}

.dashboard-heading{margin-bottom:18px}.dashboard-heading h1{font-size:30px}.dashboard-heading p{font-size:14px}.dashboard-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0 0 28px;padding:17px 6px;background:#193f3b;border:1px solid #254d46;border-radius:14px;color:#fff}.dashboard-count{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:16px;align-content:center;padding:2px 24px;border-right:1px solid #ffffff26;min-width:0}.dashboard-count:last-child{border-right:0}.dashboard-count span{grid-column:2;font-size:13px;font-weight:600;color:#f2f7f5;line-height:1.5}.dashboard-count strong{grid-column:1;grid-row:1/3;align-self:center;font-size:30px;font-weight:500;line-height:1;margin:0;color:#e4d5ac;font-variant-numeric:tabular-nums}.dashboard-count small{grid-column:2;display:block;color:#b9cec7;font-size:11px;line-height:1.5;margin-top:3px}.overview-label{margin-bottom:0}.gallery-stage-links{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:16px}.gallery-stage-links .stat{padding:16px 14px;text-align:left;min-width:0}.gallery-stage-links .stat span{overflow-wrap:anywhere}.gallery-stage-links .stat strong{font-size:25px}.gallery-stage-links .stat span:last-child{font-size:12px}@media(max-width:1100px){.gallery-stage-links{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){.dashboard-counts{grid-template-columns:1fr;padding:4px 18px}.dashboard-count{padding:14px 0;border-right:0;border-bottom:1px solid #ffffff26;grid-template-columns:40px minmax(0,1fr)}.dashboard-count:last-child{border-bottom:0}.dashboard-count strong{font-size:27px}.gallery-stage-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
