/* Csar Gallery v56 — consistent responsive layouts and two accessible themes. */
:root{--blue:#1656a0;--deep:#10417b;--ink:#20314a;--muted:#66768a;--line:#e7ebf0;--wash:#f8fafc;--r:9px;--clean-panel:#fff;--clean-soft:#eff5fc;--clean-gold:#967238;--clean-green:#3e8067}
body.clean-theme{background:var(--wash);font:14px/1.6 Manrope,Arial,sans-serif;color:var(--ink)}
.clean-theme h1,.clean-theme h2,.clean-theme h3,.clean-theme .stats b,.clean-theme .analytics-cards b{font-family:Manrope,Arial,sans-serif;font-weight:600;letter-spacing:-.65px}
.clean-theme :is(h1,h2,h3,p){overflow-wrap:anywhere}.clean-theme small{line-height:1.6}
.clean-theme .kicker,.clean-theme .nav-label{font-size:11px;font-weight:600;letter-spacing:1.3px;color:#748398}
.clean-theme .button,.clean-theme .mini,.clean-theme .workspace-back,.clean-theme .link{font:600 13px/1.45 Manrope,Arial,sans-serif;border-radius:7px;box-shadow:none;transition:background .15s,border-color .15s,color .15s;transform:none;min-height:42px}
.clean-theme .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);padding:10px 17px;background:#fff;color:var(--ink)}
.clean-theme .button.primary{background:var(--blue);color:#fff;border-color:var(--blue)}.clean-theme .button.primary:hover{background:var(--deep)}
.clean-theme .button.secondary,.clean-theme .mini{background:#fff;border:1px solid var(--line);color:var(--blue)}.clean-theme .button.ghost{background:#f4f6f9;color:var(--muted)}
.clean-theme .button:hover,.clean-theme .mini:hover{transform:none;box-shadow:none}.clean-theme .button.danger,.clean-theme .button.danger-soft{background:#fff5f5;color:#a44141;border-color:#ebd5d5}
.clean-theme :is(button,a,input,textarea,select,summary):focus-visible{outline:3px solid #a7c9e8;outline-offset:3px}
.clean-theme button:disabled{opacity:.55;cursor:not-allowed}.clean-theme .link{border:0;background:transparent;padding:7px 4px}
.clean-theme :is(.modal,.settings,.delivery-rules-form) label{color:#53677f;font-size:13px;font-weight:500}
.clean-theme :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),textarea,select){border:1px solid #dce4ed;border-radius:7px;background:#fff;color:var(--ink);font:14px/1.6 Manrope,Arial,sans-serif;padding:11px 12px;max-width:100%;box-shadow:none;min-width:0}
.clean-theme :is(input,textarea,select)::placeholder{color:#8a97a6}.clean-theme textarea{min-height:115px;resize:vertical}
.clean-theme :is(input,textarea,select):focus{border-color:#82a9cd;box-shadow:0 0 0 3px #1656a00b}
.clean-theme input[type=checkbox],.clean-theme input[type=radio]{accent-color:var(--blue);width:17px;height:17px;flex-shrink:0}
.clean-theme input[type=range]{accent-color:var(--blue)}.clean-theme :is(label small,.settings-hint){font-size:12px;font-weight:400;color:var(--muted)}
.clean-icon{display:inline-block;width:19px;height:19px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
.clean-theme .logo .brand-studio-name,.clean-theme .access-platform-brand b{font-family:'DM Serif Display',Georgia,serif;font-weight:400;letter-spacing:-.4px;font-size:22px}
.clean-theme .logo-icon{width:32px;height:32px;border-radius:0;box-shadow:none;flex-shrink:0;background-size:contain!important}
.clean-theme .sidebar{width:214px;padding:28px 18px 22px;background:#fff;backdrop-filter:none;border-right:1px solid var(--line)}
.clean-theme .sidebar .logo{gap:9px;padding:0 6px}.clean-theme .sidebar .logo .brand-studio-name{font-size:21px}
.clean-theme .nav-label{margin:42px 12px 10px;font-size:10px}.clean-theme .nav{min-height:43px;padding:10px 12px;margin:3px 0;border-radius:7px;font-weight:500;color:#68798e;font-size:13px}
.clean-theme .nav.active{background:var(--clean-soft);color:var(--blue);font-weight:600}.clean-theme .nav:hover{background:#f3f7fc}
.clean-theme .nav[data-page=trash]{margin-top:3px}.clean-theme .tip{display:none}.clean-theme .profile{margin-top:auto;padding-top:18px;font-weight:500}
.clean-theme .profile b{font-size:13px}.clean-theme .profile small{font-size:11px}.clean-theme .main-shell{margin-left:214px}
.clean-theme .main-shell>header{height:77px;padding:0 clamp(24px,3.4vw,48px);background:#fff;backdrop-filter:none}
.clean-theme .main-shell h1{font-size:20px;font-weight:500;margin:0}.clean-theme #header-kicker{font-size:10px;margin:0 0 3px}.clean-theme #header-title em{font-size:13px;color:#7294b8}
.clean-theme .header-actions .button{min-height:42px}.clean-theme .bell{background:transparent;border:0;border-radius:7px;box-shadow:none;color:#70859e}.clean-theme .bell i{background:#648db4;width:4px;height:4px}
.clean-theme .content{max-width:1440px;margin:auto;padding:36px clamp(24px,3.4vw,48px) 75px}
.clean-theme .intro,.clean-theme .page-head{align-items:center;gap:18px;margin-bottom:29px}.clean-theme .intro h2,.clean-theme .page-head h2{font-size:29px;letter-spacing:-.9px}
.clean-theme .intro p,.clean-theme .page-head>div>p{font-size:14px;color:var(--muted);max-width:680px}
.clean-theme :is(.panel,.client-list,.stats article,.gallery-card,.settings form,.settings aside,.analytics-panel,.account-controls article,.professional-email-status,.admin-invite-form,.admin-account-card,.tutorial-grid article){background:#fff;border:1px solid var(--line);border-radius:9px;box-shadow:none;backdrop-filter:none}
.clean-theme .stats{gap:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:22px 0;margin-bottom:30px}
.clean-theme .stats article{border:0;border-right:1px solid var(--line);border-radius:0;background:transparent;padding:0 22px;min-height:0;display:block}.clean-theme .stats article:first-child{padding-left:0}.clean-theme .stats article:last-child{border-right:0}
.clean-theme .stats article>i{display:none}.clean-theme .stats article>div{display:flex;flex-direction:column}.clean-theme .stats b{order:-1;font-size:28px;line-height:1.3;font-weight:500;margin:0 0 8px}.clean-theme .stats small{font-size:11px;letter-spacing:.3px;font-weight:500}.clean-theme .stats span{font-size:12px;margin-top:3px}
.clean-theme .panel{padding:23px}.clean-theme .panel h2{font-size:21px}.clean-theme .steps{background:transparent;border:0;box-shadow:none;margin-top:28px;color:var(--ink)}.clean-theme .steps>div{background:transparent}.clean-theme .steps strong{color:var(--ink)}.clean-theme .steps ol,.clean-theme .steps small{color:var(--muted)}.clean-theme .steps li b{border-color:#9eb7d0;color:var(--blue)}.clean-theme .steps ol{font-size:12px}.clean-theme .steps small{font-size:12px}
.clean-theme .tools{align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:25px}.clean-theme .search{background:#fff;border:1px solid var(--line);border-radius:7px;min-height:44px;padding:0 12px;max-width:100%;font-size:0}.clean-theme .search input{border:0;padding:10px 4px;font-size:13px;box-shadow:none}.clean-theme .search input:focus{box-shadow:none}
.clean-theme .select{font-size:0;border:0;background:transparent;padding:0;width:auto}.clean-theme .select select{font-size:13px;min-height:44px;padding:10px}
.clean-theme .gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 22px}.clean-theme .gallery-card{display:block;min-width:0;background:transparent;border:0;overflow:visible;transform:none;box-shadow:none;cursor:pointer}
.clean-theme .gallery-card:hover{transform:none;box-shadow:none}.clean-theme .gallery-card>img{height:190px;aspect-ratio:auto;border-radius:5px;transition:filter .2s;object-fit:cover;width:100%}.clean-theme .gallery-card:hover>img{filter:brightness(.98)}
.clean-theme .card-body{padding:12px 1px 0}.clean-theme .card-top{align-items:flex-start;gap:9px}.clean-theme .card-top h3{font-size:15px;letter-spacing:-.2px}.clean-theme .card-top p{font-size:12px;margin:6px 0 0}.clean-theme .card-foot{margin-top:10px;font-size:12px;color:#7c8ca0;border:0;padding:0}.clean-theme .card-foot b{font-weight:500}
.clean-theme .status{font-size:11px;font-weight:500;border-radius:4px;padding:3px 6px;text-transform:none;letter-spacing:0;white-space:normal;max-width:100%;background:#f0f4f9;color:#6682a0}
.clean-theme .status.selecting{background:#edf4fc;color:#3d72a7}.clean-theme .status.acknowledged,.clean-theme .status.delivered{background:#edf6f0;color:var(--clean-green)}.clean-theme .status.submitted{background:#fbf5e9;color:var(--clean-gold)}
.clean-theme .gallery-select-toggle{border:1px solid var(--line);box-shadow:none;width:32px;height:32px}.clean-theme .gallery-card.is-selected{outline:none}.clean-theme .gallery-card.is-selected>img{outline:2px solid #7c9fc2;outline-offset:2px}
.clean-theme .list-row{box-shadow:none;transform:none;padding:16px 0}.clean-theme .gallery-main .cover{border-radius:5px;width:58px;height:48px}.clean-theme .list-row b{font-size:14px}.clean-theme .list-row small,.clean-theme .row-meta{font-size:12px}
.clean-theme .client-list{padding:0;background:transparent;border:0}.clean-theme .client-group{background:#fff;border:1px solid var(--line);border-radius:9px;padding:20px;margin-bottom:18px}.clean-theme .client-gallery-choice{border-radius:7px;background:#fff;box-shadow:none;border-color:var(--line);padding:12px}.clean-theme .client-gallery-choice img{border-radius:5px}.clean-theme .client-gallery-choice b{font-size:14px}.clean-theme .client-gallery-choice :is(small,em){font-size:12px}.clean-theme .client-row .person b{font-size:15px}.clean-theme .client-row .person small{font-size:12px}
.clean-theme .analytics-cards{gap:18px}.clean-theme .analytics-cards article{border-radius:8px;padding:20px;box-shadow:none}.clean-theme .analytics-cards :is(small,span){font-size:12px;font-weight:400;letter-spacing:0}.clean-theme .analytics-cards b{font-size:27px;font-weight:500}.clean-theme .analytics-row{font-size:13px}.clean-theme .analytics-row :is(small,span){font-size:12px}.clean-theme .analytics-row>div b{font-size:14px}
.clean-theme dialog{border:1px solid var(--line);border-radius:10px;box-shadow:0 18px 70px #122a4822}.clean-theme dialog::backdrop{background:#14243c66;backdrop-filter:blur(3px)}
.clean-theme .modal{padding:30px;background:#fff}.clean-theme .modal h2{font-size:27px;letter-spacing:-.7px}.clean-theme .modal>p:not(.kicker),.clean-theme .modal-description{font-size:14px;color:var(--muted);line-height:1.8}.clean-theme .modal label{margin:18px 0}
.clean-theme .modal-actions{border-top:1px solid var(--line);padding-top:19px;background:#fff}.clean-theme .modal .close{border:0;background:transparent;color:#75869a;border-radius:6px;box-shadow:none}
.clean-theme dialog.workspace-screen{border:0;border-radius:0;background:var(--wash);box-shadow:none}.clean-theme dialog.workspace-screen::backdrop{background:var(--wash);backdrop-filter:none}
.clean-theme .workspace-screen-surface{background:var(--wash);padding:0 clamp(24px,4vw,56px) 65px;min-height:100dvh;max-width:1480px}
.clean-theme .workspace-screen-header{background:#fff;border-color:var(--line);backdrop-filter:none;min-height:76px;margin-bottom:28px}.clean-theme .workspace-screen-header b{font:500 14px Manrope,Arial,sans-serif}.clean-theme .workspace-screen-header .kicker{font-size:10px}.clean-theme .workspace-back{font-weight:500;background:#fff;border-color:var(--line);box-shadow:none}
.clean-theme .workspace-screen-content{max-width:1180px}.clean-theme .detail-hero img{border-radius:6px;height:76px;width:80px}.clean-theme .detail-hero h2{font-size:29px}.clean-theme .detail-hero p{font-size:13px}
.clean-theme .detail-stats{gap:0;padding:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:24px 0 0}.clean-theme .detail-stat{background:transparent;border:0;border-right:1px solid var(--line);border-radius:0;padding:0 22px}.clean-theme .detail-stat:first-child{padding-left:0}.clean-theme .detail-stat:last-child{border-right:0}.clean-theme .detail-stat small{font-size:11px;font-weight:400;letter-spacing:.4px}.clean-theme .detail-stat b{font:500 25px/1.4 Manrope}
.clean-theme .management-block{border-color:var(--line);margin-top:24px;padding-top:22px}.clean-theme .management-block h3{font-size:18px}.clean-theme .management-block :is(p,small){font-size:13px}.clean-theme .management-block>div>p:last-child{font-size:13px;max-width:580px}
.clean-theme .workflow-control{padding:18px;border:1px solid var(--line);border-radius:8px;background:#fff;gap:15px;box-shadow:none}.clean-theme .workflow-control b{font-size:14px}.clean-theme .workflow-control small{font-size:12px}
.clean-theme .selected-preview-head{gap:14px;flex-wrap:wrap}.clean-theme .selected-preview-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;max-height:none;overflow:visible;padding:0;margin-top:22px}.clean-theme .selected-preview-grid article{padding:0;background:transparent;border:0;border-radius:0}.clean-theme .selected-preview-grid img{border-radius:5px}.clean-theme .selected-preview-grid article>span{background:#fffffff2;color:var(--blue);box-shadow:none}.clean-theme .selected-preview-grid b{font-size:12px;font-weight:500;margin:9px 0 2px}.clean-theme .selected-preview-grid small{font-size:12px;margin:0}.clean-theme .selected-photo-note{border-radius:6px;font-size:12px}
.clean-theme .action-list{border:1px solid var(--line);border-radius:8px;margin-top:16px}.clean-theme .action-item{padding:17px;background:#fff;border-color:var(--line)}.clean-theme .action-item b{font-size:14px;font-weight:500}.clean-theme .action-item small{font-size:12px}.clean-theme .action-icon{width:34px;height:34px;border-radius:6px;background:#f1f5fa;color:#6283a3}.clean-theme .action-item.delete-item .action-icon{background:transparent;color:#8695a7}.clean-theme .delete-item b{color:var(--muted)}
.clean-gallery-tabs,.clean-settings-tabs{display:flex;gap:26px;border-bottom:1px solid var(--line);margin:26px 0 26px;overflow:auto;scrollbar-width:thin}.clean-gallery-tabs button,.clean-settings-tabs button{white-space:nowrap;background:transparent;border:0;border-bottom:2px solid transparent;padding:9px 0 14px;color:#6f7f93;font-size:13px;font-weight:500;min-height:44px;cursor:pointer}.clean-gallery-tabs button[aria-selected=true],.clean-settings-tabs button[aria-selected=true]{color:var(--blue);border-bottom-color:var(--blue);font-weight:600}
.clean-theme .clean-tab-hidden{display:none!important}.clean-theme .clean-block-title{font-size:21px;margin:0 0 15px}.clean-theme .clean-gallery-overview{display:flex;align-items:center;gap:16px;border:1px solid var(--line);border-radius:8px;padding:20px;background:#fff;margin-bottom:18px}.clean-theme .clean-gallery-overview p{margin:4px 0 0;color:var(--muted);font-size:13px}.clean-theme .clean-gallery-overview .button{margin-left:auto}
.clean-theme .gallery-quick-actions{margin:22px 0;gap:10px}.clean-theme .professional-gallery-panel{padding:22px;background:#fff;border:1px solid var(--line);border-radius:8px}.clean-theme .delivery-rule-summary{gap:18px}.clean-theme .delivery-rule-summary span{padding:0;border:0;border-radius:0}.clean-theme .delivery-rule-summary small{font-size:11px;font-weight:400;letter-spacing:.4px}.clean-theme .delivery-rule-summary b{font-size:15px;font-weight:500}.clean-theme .gallery-timeline article b{font-size:13px;font-weight:500}.clean-theme .gallery-timeline article small{font-size:12px}
.clean-theme .workspace-screen .manager-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin:25px 0}.clean-theme .manager-photo{aspect-ratio:auto;overflow:visible;border-radius:0;background:transparent;min-width:0}.clean-theme .manager-photo>img{display:block;aspect-ratio:1;height:auto;width:100%;border-radius:5px}.clean-theme .manager-photo>span{display:block;position:static;margin-top:9px;font-size:12px;color:var(--muted);font-weight:400;white-space:normal;text-shadow:none}.clean-theme .manager-photo.is-cover:after,.clean-theme .manager-photo.is-hidden-photo:after{display:none}.clean-theme .manager-photo.is-cover>img{outline:1px solid #769abc;outline-offset:2px}.clean-theme .manager-photo button{border-radius:5px;box-shadow:none;min-height:30px;font-weight:500}.clean-theme .manager-photo .manager-remove{background:#fffffff2;border-color:var(--line);color:#6b7f96}.clean-theme .manager-photo .cover-button,.clean-theme .manager-photo .hide-button{font-size:11px;background:#fffffff0;color:#56738f;min-height:30px;padding:5px 7px}.clean-theme .manager-photo .hide-button{top:40px}.clean-theme .manager-view,.clean-theme .manager-compare{bottom:auto!important;top:calc(100% - 67px)!important}.clean-theme .manager-photo .sort-controls{bottom:auto;top:calc(100% - 67px)}.clean-theme .manager-client-note{font-size:12px;border-radius:6px;background:#f3f7fc;color:var(--muted);margin:8px 0 0;padding:10px}.clean-theme .manager-toolbar{border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:none;padding:17px}.clean-theme .manager-toolbar b{font-size:15px}.clean-theme .manager-toolbar :is(small,p){font-size:12px}
.clean-theme .settings{grid-template-columns:minmax(0,1fr) 285px;gap:28px}.clean-theme .settings form{padding:26px}.clean-theme .settings h3{font-size:20px;margin:0 0 15px}.clean-theme .settings aside{padding:22px}.clean-theme .settings aside p{font-size:13px}.clean-theme .settings aside>i{font-size:20px;background:#f2f6fc;box-shadow:none}.clean-theme .brand-logo-editor{border-radius:7px;border-color:var(--line);background:#fcfdff;padding:16px;gap:16px}.clean-theme .brand-logo-editor small{font-size:12px}.clean-theme .brand-logo-preview{width:58px;height:58px;border-radius:6px;font:500 22px Manrope}.clean-theme .settings form hr{margin:22px 0}.clean-theme .watermark-controls{gap:14px}.clean-theme .watermark-controls label{background:transparent;border-color:var(--line);border-radius:7px;font-size:13px}.clean-theme .watermark-sample{border-radius:7px}.clean-theme .clean-settings-save{border-top:1px solid var(--line);padding-top:20px;display:flex;justify-content:flex-end;margin-top:24px}.clean-theme .clean-profile-command{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 0 22px;border-bottom:1px solid var(--line);margin-bottom:22px}.clean-theme .clean-profile-command small{font-size:12px}.clean-theme .clean-identity-preview{padding:0!important;overflow:hidden;align-self:start}.clean-theme .clean-identity-brand{padding:18px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:8px;font-family:'DM Serif Display';font-size:20px}.clean-theme .clean-identity-photo{height:135px;object-fit:cover;width:100%;display:block}.clean-theme .clean-identity-text{padding:20px}.clean-theme .clean-identity-text h3{font-size:17px}.clean-theme .clean-identity-text p{font-size:13px;color:var(--muted);margin:9px 0 0}.clean-theme .account-controls{grid-template-columns:1fr;margin-top:24px;gap:20px}.clean-theme .account-controls article{padding:24px}.clean-theme .account-controls h3{font-size:20px}.clean-theme .account-controls p{font-size:13px}.clean-theme .account-controls small{font-size:12px}.clean-theme .storage-numbers b{font-weight:500;font-size:30px}.clean-theme .security-status span{font-size:13px;background:#f7fafc;border-radius:6px}.clean-theme .account-control-actions{gap:10px;flex-wrap:wrap}.clean-theme .advanced-gallery-danger{border-radius:8px;border-color:var(--line);background:#fff;box-shadow:none;margin-top:25px}.clean-theme .advanced-gallery-danger summary{font-size:13px;font-weight:500}
.clean-theme .client-app{background:#fff;min-height:100dvh}.clean-theme .client-header{height:76px;padding:0 max(24px,calc((100vw - 1180px)/2));border-color:var(--line);background:#fff;backdrop-filter:none;box-shadow:none;gap:15px}.clean-theme .client-header>span:not(.logo){font-size:12px;color:#7c8c9f}.clean-theme .client-content{max-width:1180px;padding:28px 0 95px;margin:auto}.clean-theme .client-intro{align-items:center;gap:25px;margin:29px 0 27px}.clean-theme .client-intro h1{font-size:34px;letter-spacing:-.9px;margin:8px 0 12px}.clean-theme #client-welcome{font-size:14px;line-height:1.8;max-width:660px;color:var(--muted)}.clean-theme .client-studio-identity{margin:0 0 18px;gap:9px}.clean-theme .client-studio-identity .photographer-logo{width:29px;height:29px;border-radius:50%;font:500 11px Manrope;background:#f4f7fb;border:1px solid var(--line);color:#6681a0;box-shadow:none}.clean-theme .client-studio-identity small{font-size:10px;letter-spacing:.6px}.clean-theme .client-studio-identity b{font-size:12px;font-weight:500}.clean-theme .client-intro aside{min-width:245px;border:0;border-radius:0;background:transparent;box-shadow:none;padding:0;text-align:right}.clean-theme .client-intro aside small{font-size:11px;font-weight:400;letter-spacing:.5px}.clean-theme .client-intro aside>div{font-size:14px}.clean-theme .client-intro aside p{font-size:12px}.clean-theme .client-intro aside .button{margin-top:12px;width:auto}.clean-theme .progress{height:3px;max-width:170px;margin-left:auto;background:#ecf1f6;border-radius:2px}.clean-theme .progress span{border-radius:2px}
.clean-theme .clean-client-cover{height:280px;width:100%;overflow:hidden;border-radius:5px;background:#edf2f7}.clean-theme .clean-client-cover img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.clean-theme .protected{background:transparent;border:0;border-radius:0;color:#79899d;padding:0;font-size:12px;line-height:1.8;margin:15px 0 22px}.clean-theme .protected b{color:#7d99b6}.clean-theme .extras-summary{border:0;border-left:2px solid #ccdae9;border-radius:0;background:transparent;padding:5px 14px;font-size:12px;font-weight:400;color:#667f98;margin:0 0 18px}
.clean-theme .photo-head{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:13px 0;margin:18px 0 21px;gap:15px;align-items:center;flex-wrap:wrap}.clean-theme .photo-head h2{font-size:18px;font-weight:500}.clean-theme .photo-head small{font-size:12px}.clean-theme .photo-head .chip{border:0;background:transparent;color:#6c7f96;font-size:12px;font-weight:500;border-radius:5px;padding:8px 10px;min-height:42px}.clean-theme .photo-head .chip.active{background:var(--clean-soft);color:var(--blue)}.clean-theme #client-photo-sort{font-size:12px;background:transparent;border:0;box-shadow:none;min-height:42px;padding:8px;max-width:165px}
.clean-theme .photos{grid-template-columns:repeat(4,minmax(0,1fr));gap:23px 18px;align-items:start}.clean-theme .photo{aspect-ratio:auto;height:auto;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible;cursor:pointer;position:relative;transform:none}.clean-theme .photo:hover{transform:none;box-shadow:none}.clean-theme .photo.selected{box-shadow:none;background:transparent}.clean-theme .photo.selected:before,.clean-theme .photo.selected:after{display:none}.clean-theme .photo.selected img{filter:none}
.clean-theme .clean-photo-surface{position:relative;aspect-ratio:1;overflow:hidden;border-radius:5px;background:#f0f3f7;border:1px solid transparent}.clean-theme .clean-photo-surface>img{display:block;width:100%;height:100%;object-fit:cover;border-radius:0;filter:none;transition:none}.clean-theme .photo.selected .clean-photo-surface{border-color:#759bc0;outline:1px solid #759bc0}.clean-theme .photo.is-doubt .clean-photo-surface{border-color:#c5b28e}
.clean-theme .clean-photo-tools{position:absolute;left:9px;right:9px;bottom:9px;display:flex;justify-content:center;align-items:center;gap:6px;background:#fffffff2;border:1px solid #ffffffb8;border-radius:6px;padding:4px;box-shadow:0 3px 14px #20314a0e;opacity:0;pointer-events:none;transition:opacity .15s}
.clean-theme .photo:hover .clean-photo-tools,.clean-theme .photo:focus-within .clean-photo-tools,.clean-theme .photo.clean-tools-open .clean-photo-tools{opacity:1;pointer-events:auto}
.clean-theme .clean-photo-tools :is(.photo-view,.photo-compare,.photo-note,.pick,.photo-doubt){position:static;transform:none;display:inline-flex;align-items:center;justify-content:center;width:35px;height:35px;flex:0 0 35px;border:0;border-radius:5px;box-shadow:none;padding:0;background:transparent;color:#6582a1;font-size:16px;min-height:35px;cursor:pointer}
.clean-theme .clean-photo-tools :is(button):hover{background:#edf3fa}.clean-theme .photo.selected .clean-photo-tools .pick{color:var(--blue);background:#eef4fb}.clean-theme .photo.is-doubt .photo-doubt{color:var(--clean-gold);background:#faf5eb}.clean-theme .clean-photo-tools .photo-compare.is-picked{background:#edf3fa;color:var(--blue)}
.clean-theme .clean-photo-caption{display:flex;align-items:center;gap:8px;min-height:40px;padding:10px 0 0;flex-wrap:wrap}.clean-theme .photo .code{position:static;display:block;flex:1;min-width:0;padding:0;background:transparent;color:#7b8b9e;font-size:11px;font-weight:400;text-shadow:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:none;border-radius:0;box-shadow:none}
.clean-theme .photo.selected .code{display:block}.clean-theme .photo .selected-label{position:static;padding:0;margin-left:auto;background:transparent;border:0;border-radius:0;box-shadow:none;font-size:11px;color:var(--blue);font-weight:400}.clean-theme .photo.selected .selected-label{display:block}.clean-theme .clean-doubt-label{color:var(--clean-gold);font-size:11px;margin-left:auto}.clean-theme .clean-photo-mark{position:absolute;right:9px;top:9px;width:23px;height:23px;background:#fffffff0;display:none;place-items:center;border-radius:50%;color:var(--blue);pointer-events:none}.clean-theme .photo.selected .clean-photo-mark,.clean-theme .photo.is-doubt .clean-photo-mark{display:grid}.clean-theme .photo.is-doubt .clean-photo-mark{color:var(--clean-gold)}.clean-theme .clean-photo-mark svg{width:14px;height:14px}
.clean-theme .clean-photo-touch{display:none}.clean-theme .photo .extra-marker{position:static;display:block;background:transparent;border:0;border-radius:0;padding:0;color:var(--clean-gold);font-weight:500;font-size:11px;box-shadow:none}.clean-theme .extra-marker[hidden]{display:none}
.clean-theme .client-content footer{border-top:1px solid var(--line);background:#fff;box-shadow:none;border-radius:0;padding:22px 0;gap:12px;margin-top:30px;position:sticky;bottom:0;z-index:6}.clean-theme .client-content footer p{color:var(--muted);font-size:12px}.clean-theme .client-top-selection-bar{box-shadow:none;border:0;background:transparent;border-radius:0;font-size:12px;padding:10px 0}.clean-theme .client-preview-banner{border:1px solid var(--line);background:#f5f8fc;box-shadow:none;border-radius:7px;font-size:12px}.clean-theme .client-locked{padding:75px 25px;max-width:800px}.clean-theme .client-locked h1{font-size:32px}.clean-theme .client-locked p{font-size:14px}.clean-theme .client-locked>i{background:#edf6f1;color:var(--clean-green);font-size:23px}.clean-theme .delivery-actions{justify-content:center;margin-top:22px}
.clean-theme .viewer-select{min-width:42px!important;width:42px!important;min-height:42px!important;border:1px solid var(--line)!important;border-radius:6px!important;background:#fff!important;color:#6986a6!important;box-shadow:none!important;display:inline-flex;align-items:center;justify-content:center;padding:0!important}.clean-theme .viewer-select.is-selected{background:#edf5fc!important;color:var(--blue)!important;border-color:#c3d8ea!important}.clean-theme .viewer-select:disabled{background:#f1f4f7!important;color:#8291a2!important}.clean-theme .photo-viewer-header,.clean-theme .compare-header{background:#fff;border-color:var(--line)}.clean-theme .photo-viewer-footer,.clean-theme .compare-pane footer{background:#fff;border-color:var(--line)}.clean-theme .photo-viewer-footer button:not(.viewer-select),.clean-theme .compare-controls button{border-radius:6px;box-shadow:none;font-weight:500;font-size:13px}.clean-theme .compare-pane{border-radius:6px;border-color:var(--line);box-shadow:none}.clean-theme .compare-header h2{font-size:23px}.clean-theme .compare-header small{font-size:12px}
.clean-theme .final-download-summary,.clean-theme .final-review-summary{background:#f0f5fb;box-shadow:none;border-radius:7px;font-size:13px;font-weight:500}.clean-theme .final-download-row,.clean-theme .final-review-row{border-radius:7px;border-color:var(--line);box-shadow:none;background:#fff;padding:15px}.clean-theme .final-download-row b,.clean-theme .final-review-file b,.clean-theme .final-review-target b{font-size:13px;font-weight:500}.clean-theme .final-download-row small,.clean-theme .final-review-file small,.clean-theme .final-review-target small{font-size:12px}.clean-theme .final-download-row.is-downloaded{background:#f2f8f4;box-shadow:none;border-color:#cfdfd5}.clean-theme .final-download-row .button.downloaded{background:#eef7f1;color:#49806a;border-color:#cbded3}.clean-theme .final-download-actions{background:#fff;box-shadow:none}.clean-theme .final-download-description,.clean-theme .final-download-note{font-size:13px}.clean-theme .final-review-target img{border-radius:5px}
.clean-theme .notifications{background:#fff;border-color:var(--line);border-radius:9px;box-shadow:0 14px 42px #17304d18;backdrop-filter:none}.clean-theme .notifications h3{font-weight:500}.clean-theme .notification-item{padding:16px;border-color:var(--line)}.clean-theme .notification-item b{font-size:13px;font-weight:500}.clean-theme .notification-item small{font-size:12px}.clean-theme .notification-item>i{border-radius:6px;background:#f0f5fb;box-shadow:none;color:#7593b3}.clean-theme .notification-toolbar{background:#fff;font-size:12px}.clean-theme .notification-toolbar .mini{font-size:12px;min-height:35px}.clean-theme .notification-delete{color:#7c8c9e;box-shadow:none}.clean-theme .notifications-open-page{font-size:12px;font-weight:500;background:#f7fafc}.clean-theme .notification-empty{font-size:13px}
.clean-theme .onboarding-hero{border-color:var(--line);border-radius:9px;background:#fff;box-shadow:none}.clean-theme .tutorial-flow span{background:#f1f5fa;border-radius:6px;font-size:12px}.clean-theme .tutorial-grid article{padding:24px}.clean-theme .tutorial-grid article>b{font-size:16px;font-weight:600}.clean-theme .tutorial-grid article li,.clean-theme .tutorial-tip{font-size:13px}.clean-theme .tutorial-visual{border-radius:6px;background:#f2f6fb}.clean-theme .tutorial-complete{background:transparent;border-color:var(--line);border-radius:8px}.clean-theme .admin-account-card p,.clean-theme .admin-account-card small{font-size:12px}.clean-theme .admin-account-card b{font-size:14px}.clean-theme .admin-toolbar{gap:12px;flex-wrap:wrap}
.clean-theme .trash-row{border-color:var(--line);padding:18px 0}.clean-theme .trash-row b{font-size:14px;font-weight:500}.clean-theme .trash-row small{font-size:12px}.clean-theme .legal-modal{border-radius:0}.clean-theme .legal-modal :is(p,li){font-size:14px;line-height:1.85}.clean-theme .legal-modal h3{font-size:19px}.clean-theme .auth-error{font-size:13px;line-height:1.6}.clean-theme .auth-error.success{color:var(--clean-green)!important}.clean-theme .auth-create{border-radius:7px;font-size:13px;background:#f5f8fc;border-color:var(--line);font-weight:500}.clean-theme .auth-link{font-size:12px;font-weight:500}.clean-theme .show-password{font-size:12px!important;font-weight:400!important;min-height:32px;gap:9px}.clean-theme .auth-modal{width:100%;max-width:440px}.clean-theme .auth-modal h2{font-size:29px}.clean-theme .access-security-note{font-size:12px;color:var(--muted)}
.clean-theme .landing{background:#fff;padding:27px clamp(24px,7vw,100px);min-height:100dvh}.clean-theme .landing nav{border-bottom:1px solid var(--line);padding-bottom:22px}.clean-theme .landing main{max-width:1100px;margin:clamp(70px,12vh,125px) auto 0;text-align:left;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:70px;align-items:center}.clean-theme .landing h1{font-size:clamp(36px,4.4vw,58px);font-weight:500;line-height:1.13;letter-spacing:-1.8px;max-width:640px;margin:14px 0 22px}.clean-theme .landing main p:not(.kicker){font-size:16px;line-height:1.9;color:var(--muted);margin:0 0 27px;max-width:580px}.clean-theme .landing-cta{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.clean-theme .landing main aside{display:block;background:transparent;border:0;border-left:2px solid #dce7f2;border-radius:0;padding:0 0 0 16px;margin:29px 0 0;max-width:390px}.clean-theme .landing main aside b{font-size:13px;font-weight:500;display:block}.clean-theme .landing main aside small{font-size:12px;display:block;margin-top:5px}.clean-theme .landing-preview{padding:25px;border:1px solid var(--line);border-radius:9px;background:#fcfdff}.clean-theme .landing-preview>header{display:flex;justify-content:space-between;align-items:center;font-size:13px;margin-bottom:21px}.clean-theme .landing-preview small{font-size:11px;color:var(--muted)}.clean-theme .landing-preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.clean-theme .landing-preview-art{aspect-ratio:1;border-radius:5px;background:#e8f1fb;overflow:hidden;position:relative}.clean-theme .landing-preview-art:before{content:'';position:absolute;width:135%;height:90%;left:-25%;bottom:-25%;background:#92b8d8;border-radius:35% 65% 0 0;transform:rotate(-22deg)}.clean-theme .landing-preview-art:after{content:'';position:absolute;width:55%;height:55%;right:-10%;bottom:-15%;background:#477dae;border-radius:55% 45% 0 0;transform:rotate(18deg)}.clean-theme .landing-preview-art:nth-child(2){background:#eff3f8}.clean-theme .landing-preview-art:nth-child(2):before{background:#bccfdf}.clean-theme .landing-preview-art:nth-child(3){background:#eef5f4}.clean-theme .landing-preview-art:nth-child(3):before{background:#94bab6}.clean-theme .landing-preview-art i{position:absolute;top:13%;right:14%;width:22%;height:22%;background:#fff;border-radius:50%;z-index:1}.clean-theme .landing-preview-art span{position:absolute;z-index:2;top:10px;right:10px;width:24px;height:24px;background:#fff;color:var(--blue);display:grid;place-items:center;border-radius:50%}.clean-theme .landing-preview>footer{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:18px;margin-top:22px;font-size:12px;color:var(--muted)}.clean-theme .landing-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;max-width:1100px;margin:70px auto 40px;padding-top:25px;border-top:1px solid var(--line)}.clean-theme .landing-features h2{font-size:16px;letter-spacing:-.25px;margin:11px 0 7px}.clean-theme .landing-features p{font-size:13px;color:var(--muted);line-height:1.8;margin:0}.clean-theme .landing-features .clean-icon{color:#7799ba}.clean-theme .landing-footer{max-width:1100px;margin:35px auto 0;font-size:12px;color:#8a98a8;display:flex;justify-content:space-between;padding-bottom:20px;gap:18px}.clean-theme .toast{border-radius:8px;box-shadow:0 6px 28px #20314a1a;font-size:13px;background:#23415f}
@media(max-width:1250px){.clean-theme .client-content{margin-left:32px;margin-right:32px}.clean-theme .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.clean-theme .gallery-card>img{height:195px}.clean-theme .settings{grid-template-columns:minmax(0,1fr) 250px}.clean-theme .landing main{gap:35px}.clean-theme .workspace-screen .manager-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){.clean-theme .settings{grid-template-columns:1fr}.clean-theme .clean-identity-preview{display:none}.clean-theme .photos{grid-template-columns:repeat(3,minmax(0,1fr))}.clean-theme .analytics-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.clean-theme .landing main{grid-template-columns:1fr 1fr;gap:25px}.clean-theme .landing-preview{padding:18px}.clean-theme .card-top{flex-wrap:wrap}.clean-theme .selected-preview-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){
 body.clean-theme{padding-bottom:0}.clean-theme .sidebar{display:none}.clean-theme .main-shell{margin-left:0}.clean-theme .main-shell>header{height:65px;padding:0 17px;background:#fffffff7;backdrop-filter:blur(12px);z-index:1001}.clean-theme .main-shell>header .kicker,.clean-theme .main-shell>header>div:not(.header-actions){display:none}.clean-theme .main-shell>header .clean-mobile-brand{display:flex!important;align-items:center;gap:7px;margin-right:auto}.clean-theme .clean-mobile-brand .brand-studio-name{font-size:20px}.clean-theme .clean-mobile-brand .logo-icon{width:26px;height:26px}.clean-theme .mobile-menu{background:transparent!important;border-radius:6px;width:34px;height:42px;min-width:34px;padding:0;color:#6483a2}.clean-theme .header-actions{gap:5px}.clean-theme .header-actions>[data-new]{display:none}.clean-theme .header-actions .clean-header-avatar{display:grid;width:29px;height:29px;background:#eaf0f7;background-size:cover;background-position:center;border-radius:50%;place-items:center;font-size:10px;color:#60809f}.clean-theme .header-actions .clean-header-avatar.has-avatar{color:transparent}.clean-theme .content{padding:27px 19px 40px}.clean-theme .mobile-bottom-nav{display:none!important}.clean-theme .mobile-drawer-wrap{z-index:1100}.clean-theme .mobile-drawer{padding:23px 18px;background:#fff;box-shadow:10px 0 38px #18365718}.clean-theme .mobile-profile{border-radius:7px;background:#f9fbfd}.clean-theme .mobile-profile b{font-size:13px}.clean-theme .mobile-profile small{font-size:12px}.clean-theme .mobile-drawer .nav-label{margin-top:27px}.clean-theme .mobile-drawer .nav{min-height:45px;font-size:13px}.clean-theme .intro,.clean-theme .page-head{align-items:flex-start;gap:12px;flex-wrap:wrap}.clean-theme .intro h2,.clean-theme .page-head h2{font-size:26px}.clean-theme .intro p,.clean-theme .page-head>div>p{font-size:13px;line-height:1.8}.clean-theme .page-head .button{font-size:12px;padding:10px 13px;min-height:42px}.clean-theme .stats{grid-template-columns:1fr 1fr;gap:20px 0;padding:20px 0}.clean-theme .stats article{padding:0 15px;min-height:0}.clean-theme .stats article:nth-child(odd){padding-left:0}.clean-theme .stats article:nth-child(even){border-right:0}.clean-theme .stats b{font-size:25px}.clean-theme .stats small{font-size:10px}.clean-theme .stats span{font-size:12px}.clean-theme .panel{padding:19px 16px}.clean-theme .list-row{grid-template-columns:minmax(0,1fr) 64px;gap:9px}.clean-theme .list-row .status{grid-column:1/-1;justify-self:start;margin-left:67px}.clean-theme .gallery-main .cover{width:54px;height:49px}.clean-theme .gallery-grid{grid-template-columns:1fr 1fr;gap:24px 13px}.clean-theme .gallery-card{display:block;min-height:0}.clean-theme .gallery-card>img{height:155px;width:100%}.clean-theme .card-body{padding:10px 0 0}.clean-theme .card-top{display:block}.clean-theme .card-top h3{font-size:14px;line-height:1.6}.clean-theme .card-top p{font-size:11px;line-height:1.7;margin:5px 0}.clean-theme .card-top .status{display:inline-block;margin-top:3px;font-size:11px}.clean-theme .card-foot{display:block;margin-top:9px;font-size:11px}.clean-theme .card-foot>span{display:block}.clean-theme .tools{gap:10px}.clean-theme .search{width:100%;min-height:45px}.clean-theme .tools>.select{flex:1;min-width:0;margin:0}.clean-theme .tools>.select select{width:100%;font-size:12px}.clean-theme .client-group{padding:17px}.clean-theme .client-group-head{gap:12px;flex-wrap:wrap}.clean-theme .client-gallery-choice{display:grid;grid-template-columns:42px 1fr;gap:10px}.clean-theme .client-gallery-choice .status,.clean-theme .client-gallery-choice em{grid-column:2}.clean-theme .analytics-cards{gap:12px}.clean-theme .analytics-cards article{padding:15px;display:block}.clean-theme .analytics-cards article>i{display:none}.clean-theme .analytics-cards small{font-size:10px;display:block}.clean-theme .analytics-cards b{font-size:26px;display:block}.clean-theme .analytics-cards span{font-size:11px}.clean-theme .analytics-row{min-width:650px}.clean-theme .analytics-table{overflow-x:auto}.clean-theme :is(input:not([type=checkbox]):not([type=range]):not([type=file]),textarea,select){font-size:16px}.clean-theme .button,.clean-theme .mini{min-height:44px;font-size:13px}.clean-theme .modal{padding:26px 20px calc(25px + env(safe-area-inset-bottom));min-height:100dvh}.clean-theme .modal h2{font-size:25px}.clean-theme dialog{width:100vw;min-height:100dvh;height:auto;max-height:100dvh;border-radius:0;border:0}.clean-theme .modal-actions{bottom:0;background:#fff;padding:16px 0;flex-wrap:wrap;gap:10px}.clean-theme .workspace-screen .workspace-screen-surface{padding:0 18px calc(35px + env(safe-area-inset-bottom))}.clean-theme .workspace-screen-header{min-height:65px;margin:0 -18px 25px;padding:0 18px}.clean-theme .workspace-screen .workspace-back{min-height:44px;font-size:13px;transform:none}.clean-theme .workspace-screen .detail-hero{display:flex;padding:0;gap:13px}.clean-theme .workspace-screen .detail-hero img{width:63px;height:63px}.clean-theme .detail-hero h2{font-size:24px}.clean-theme .detail-hero p{font-size:12px}.clean-theme .workspace-screen .detail-stats{grid-template-columns:1fr 1fr;gap:19px 0;padding:21px 0}.clean-theme .detail-stat:nth-child(2){border-right:0}.clean-theme .detail-stat:last-child{grid-column:1/-1;border-top:1px solid var(--line);padding:16px 0 0}.clean-theme .detail-stat b{font-size:23px}.clean-theme .detail-stat small{font-size:10px}.clean-theme .access-buttons{display:flex;gap:10px;flex-wrap:wrap}.clean-theme .access-buttons .button{width:auto;flex:1 1 145px}.clean-theme .workflow-control{display:flex;flex-direction:column;align-items:stretch;gap:12px}.clean-theme .workflow-control .mini{width:100%}.clean-theme .clean-gallery-tabs,.clean-theme .clean-settings-tabs{gap:22px;margin-top:21px}.clean-theme .clean-gallery-tabs button,.clean-theme .clean-settings-tabs button{font-size:13px}.clean-theme .gallery-quick-actions{display:flex;flex-wrap:wrap}.clean-theme .gallery-quick-actions .button{flex:1 1 145px}.clean-theme .selected-preview-grid{grid-template-columns:1fr 1fr;gap:20px 13px}.clean-theme .selected-preview-head>div:last-child{display:flex;gap:8px;flex-wrap:wrap}.clean-theme .workspace-screen .manager-grid{grid-template-columns:1fr 1fr;gap:23px 13px}.clean-theme .manager-photo .cover-button,.clean-theme .manager-photo .hide-button{font-size:10px;padding:3px 6px}.clean-theme .manager-toolbar{padding:15px}.clean-theme .professional-gallery-panel{padding:18px}.clean-theme .delivery-rule-summary{grid-template-columns:1fr;gap:15px}.clean-theme .clean-gallery-overview{flex-direction:column;align-items:flex-start;padding:17px}.clean-theme .clean-gallery-overview .button{margin:0;width:100%}.clean-theme .settings form,.clean-theme .settings aside{padding:21px 17px;border-radius:8px}.clean-theme .settings h3{font-size:18px}.clean-theme .settings .button{width:auto}.clean-theme .brand-logo-editor{padding:14px;align-items:flex-start;gap:12px}.clean-theme .brand-logo-editor small{font-size:12px}.clean-theme .brand-logo-preview{width:40px;height:40px}.clean-theme .watermark-controls{grid-template-columns:1fr}.clean-theme .clean-settings-save .button{width:100%}.clean-theme .clean-profile-command{align-items:flex-start}.clean-theme .clean-profile-command .button{min-width:105px;font-size:12px}.clean-theme .account-control-actions{display:flex;flex-direction:column}.clean-theme .account-control-actions .button{width:100%}.clean-theme .professional-email-status{padding:18px;border-radius:8px}.clean-theme .client-header{height:64px;padding:0 17px;position:sticky;top:0;z-index:9}.clean-theme .client-header .brand-studio-name{font-size:20px}.clean-theme .client-header .logo-icon{width:27px;height:27px}.clean-theme .client-header>span:not(.logo){font-size:0}.clean-theme .client-header>span:not(.logo) .clean-icon{width:15px;height:15px}.clean-theme .client-header #back{font-size:12px;max-width:125px;padding:8px;min-height:40px;background:#f4f8fc;border-radius:6px}.clean-theme .client-content{margin:0;padding:18px 17px 55px}.clean-theme .clean-client-cover{height:210px;border-radius:4px}.clean-theme .client-intro{display:block;margin:25px 0}.clean-theme .client-intro h1{font-size:29px}.clean-theme #client-welcome{font-size:13px}.clean-theme .client-intro aside{display:flex;align-items:center;flex-wrap:wrap;gap:5px 12px;text-align:left;margin-top:20px;padding-top:17px;border-top:1px solid var(--line);min-width:0}.clean-theme .client-intro aside small{font-size:10px;width:100%}.clean-theme .client-intro aside .progress{display:none}.clean-theme .client-intro aside p{margin:0;font-size:12px}.clean-theme .client-intro aside .button{margin:8px 0 0;width:100%;min-height:44px}.clean-theme .client-intro aside>div:not(.progress){font-size:18px;margin-right:7px}.clean-theme .protected{font-size:12px;line-height:1.85;margin:18px 0 22px}.clean-theme .photo-head{gap:10px;align-items:center;padding:12px 0;margin-top:23px}.clean-theme .photo-head h2{font-size:16px}.clean-theme .photo-head small{font-size:11px}.clean-theme .photo-head>div:last-child{gap:4px;flex-wrap:wrap;align-items:center}.clean-theme .photo-head .chip{font-size:12px;padding:8px 9px}.clean-theme #client-photo-sort{width:auto;max-width:145px;font-size:12px}.clean-theme .photos{grid-template-columns:1fr 1fr;gap:24px 13px}.clean-theme .photo{aspect-ratio:auto;overflow:visible}.clean-theme .clean-photo-surface{aspect-ratio:3/4}.clean-theme .clean-photo-tools{display:none;opacity:1;left:5px;right:5px;bottom:5px;padding:3px;gap:1px;flex-wrap:wrap;pointer-events:none}.clean-theme .photo.clean-tools-open .clean-photo-tools{display:flex;pointer-events:auto}.clean-theme .photo:not(.clean-tools-open):focus-within .clean-photo-tools{pointer-events:none}.clean-theme .clean-photo-tools :is(.photo-view,.photo-compare,.photo-note,.pick,.photo-doubt){width:42px;height:44px;min-height:44px;flex-basis:42px}.clean-theme .clean-photo-tools .pick{display:none}.clean-theme .clean-photo-caption{gap:4px;min-height:46px;padding-top:3px;flex-wrap:wrap}.clean-theme .photo .code{font-size:10px;flex-basis:calc(100% - 75px);max-width:calc(100% - 75px)}.clean-theme .clean-photo-touch{display:flex;margin-left:auto;align-items:center;gap:1px}.clean-theme .clean-photo-touch button{display:grid;place-items:center;width:34px;height:44px;background:transparent;border:0;color:#6586a8;border-radius:5px;cursor:pointer}.clean-theme .photo .selected-label,.clean-theme .clean-doubt-label{font-size:11px;flex-basis:100%;margin:0}.clean-theme .clean-photo-mark{width:21px;height:21px;top:8px;right:8px}.clean-theme .photo .extra-marker{font-size:11px}.clean-theme .client-content footer{bottom:0;padding:15px 17px calc(15px + env(safe-area-inset-bottom));margin:24px -17px -55px;background:#fffffff5;backdrop-filter:blur(10px);display:flex;gap:10px}.clean-theme .client-content footer p{width:100%;font-size:12px;margin:0}.clean-theme .client-content footer .button{flex:1 1 140px;width:auto;margin:0;min-height:44px}.clean-theme .client-locked{padding:65px 22px}.clean-theme .client-locked h1{font-size:28px}.clean-theme .client-locked p{font-size:13px}.clean-theme .delivery-actions .button{width:100%}.clean-theme .client-access-card{padding-top:35px}.clean-theme .client-access-card h2{font-size:27px}.clean-theme .photo-viewer-footer{gap:8px;flex-wrap:wrap;padding:12px}.clean-theme .photo-viewer-footer .viewer-compare{font-size:12px}.clean-theme .compare-pane footer{gap:8px;flex-wrap:wrap}.clean-theme .compare-controls{flex:1}.clean-theme .compare-pane footer>b{width:100%;font-size:12px}.clean-theme .final-download-row{padding:15px;gap:12px}.clean-theme .final-download-row .button{width:100%;grid-column:1/-1}.clean-theme .final-review-file b,.clean-theme .final-review-target b{font-size:13px}.clean-theme .notifications{position:fixed;top:74px;left:15px;right:15px;width:auto;z-index:1003;max-height:calc(100dvh - 95px)}.clean-theme .notification-item>i{flex-shrink:0}.clean-theme .onboarding-hero{padding:22px}.clean-theme .tutorial-grid article{padding:21px}.clean-theme .landing{padding:22px}.clean-theme .landing nav{gap:12px;padding-bottom:20px}.clean-theme .landing nav .button{font-size:12px;padding:9px 11px}.clean-theme .landing main{display:flex;flex-direction:column;align-items:stretch;margin:65px 0 0;gap:42px}.clean-theme .landing h1{font-size:38px;letter-spacing:-1.2px;margin:14px 0 22px}.clean-theme .landing main p:not(.kicker){font-size:14px;line-height:1.9}.clean-theme .landing main .landing-cta{display:flex;align-items:flex-start;gap:12px}.clean-theme .landing-cta .button{width:100%}.clean-theme .landing-preview{padding:20px}.clean-theme .landing main aside{margin-top:25px}.clean-theme .landing-features{grid-template-columns:1fr;margin-top:45px;gap:24px}.clean-theme .landing-footer{font-size:11px;flex-wrap:wrap}.clean-theme .toast{bottom:20px;max-width:calc(100vw - 30px);font-size:13px}.clean-theme .clean-settings-tabs button,.clean-theme .clean-gallery-tabs button{scroll-margin:25px}
}
@media(max-width:360px){.clean-theme .content{padding-left:15px;padding-right:15px}.clean-theme .gallery-card>img{height:135px}.clean-theme .clean-mobile-brand .brand-studio-name{font-size:18px}.clean-theme .header-actions{gap:1px}.clean-theme .photos{gap:22px 11px}.clean-theme .client-content{padding-left:14px;padding-right:14px}.clean-theme .client-content footer{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.clean-theme .client-intro h1{font-size:27px}.clean-theme .clean-client-cover{height:185px}.clean-theme .clean-photo-touch button{width:31px}.clean-theme .photo .code{max-width:calc(100% - 66px);flex-basis:calc(100% - 66px)}.clean-theme .landing h1{font-size:34px}}
@media(prefers-reduced-motion:reduce){.clean-theme *, .clean-theme *:before,.clean-theme *:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Mobile identity is additional to the desktop sidebar, never duplicated. */
.clean-theme .clean-mobile-brand{display:none}
.clean-theme .photo::before,.clean-theme .photo::after{display:none;pointer-events:none}
.clean-theme .clean-photo-tools{z-index:5}
.clean-theme .clean-header-avatar{display:none}
.clean-theme .client-header .logo{width:auto;max-width:none;flex-shrink:0}
.clean-theme .client-header .brand-studio-name{max-width:none;width:auto;overflow:visible;text-overflow:clip;white-space:nowrap;font-size:21px}
.clean-theme .clean-manager-bulk{margin-left:auto;font-size:12px}
.clean-theme .clean-manager-bulk>summary{cursor:pointer;color:var(--muted);padding:10px 0}
.clean-theme .clean-manager-bulk>div{display:flex;gap:8px;flex-wrap:wrap;padding-top:6px}
.clean-theme #photo-collection-toolbar{background:transparent;border-color:var(--line);padding:16px 0;border-radius:0;gap:12px;flex-wrap:wrap}
.clean-theme .clean-security-layout{grid-template-columns:minmax(0,1fr)}
.clean-theme .account-controls{grid-template-columns:1fr}
.clean-theme .manager-photo{position:relative;overflow:visible;border:0;background:transparent;box-shadow:none;min-width:0;padding:0}
.clean-theme .clean-manager-surface{position:relative;aspect-ratio:1;min-width:0;border-radius:5px;background:#eef3f8}
.clean-theme .clean-manager-surface>img{display:block;width:100%;height:100%;border-radius:5px;object-fit:cover;cursor:zoom-in}
.clean-theme .clean-manager-quick{position:absolute;bottom:10px;left:10px;display:flex;gap:5px;opacity:0;pointer-events:none}
.clean-theme .manager-photo:hover .clean-manager-quick,.clean-theme .manager-photo:focus-within .clean-manager-quick{opacity:1;pointer-events:auto}
.clean-theme .clean-manager-quick button{position:static;width:36px;height:36px;min-height:36px;border-radius:5px;display:grid;place-items:center;box-shadow:none;background:#fffffff5;color:#577ca2;border:1px solid #ffffff90}
.clean-theme .clean-manager-menu{position:absolute;top:9px;right:9px;z-index:6}
.clean-theme .clean-manager-menu>summary{display:grid;place-items:center;list-style:none;width:36px;height:36px;background:#fffffff4;border:1px solid #ffffff90;border-radius:5px;color:#5e7790;cursor:pointer}
.clean-theme .clean-manager-menu>summary::-webkit-details-marker{display:none}
.clean-theme .clean-manager-options{position:absolute;right:0;top:42px;width:150px;padding:8px;display:grid;gap:4px;background:#fff;border:1px solid var(--line);border-radius:7px;box-shadow:0 9px 25px #20314a18}
.clean-theme .clean-manager-options :is(.cover-button,.hide-button,.manager-remove){position:static;display:block;width:100%;padding:9px;font-size:12px;text-align:left;background:#fff;color:var(--ink);border:0;border-radius:4px;min-height:36px;box-shadow:none}
.clean-theme .clean-manager-options button:hover{background:var(--clean-soft)}
.clean-theme .clean-manager-options .sort-controls{position:static;display:flex;gap:4px;padding:3px;background:#fff}
.clean-theme .clean-manager-caption{display:block!important;position:static!important;color:var(--muted)!important;background:transparent!important;padding:10px 0!important;font-size:11px!important;text-shadow:none!important;overflow-wrap:anywhere}
@media(max-width:720px){.clean-theme .clean-header-avatar{display:grid;place-items:center;flex-shrink:0;width:35px;height:35px;border-radius:50%;border:1px solid var(--line);background:#f0f5fb center/cover no-repeat;color:var(--blue);font-size:11px}.clean-theme .clean-header-avatar.has-avatar{font-size:0}.clean-theme .clean-manager-quick{opacity:1;pointer-events:auto}.clean-theme .clean-manager-menu>summary{width:40px;height:40px}.clean-theme .clean-manager-options{width:140px}}
.clean-theme :is(button,input,textarea,select){font-family:Manrope,Arial,sans-serif!important}
.clean-theme .client-intro aside strong,.clean-theme .detail-stat b{font-family:Manrope,Arial,sans-serif;font-weight:600}
@media(max-width:720px){.clean-theme .clean-mobile-brand{display:flex!important}.clean-theme .clean-photo-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;padding:3px}.clean-theme .clean-photo-tools :is(.photo-view,.photo-compare,.photo-note,.pick,.photo-doubt){width:100%;min-width:0;height:42px;min-height:42px}}

/* Never stretch avatars, crop the hero, or inherit the old tablet navigation. */
.clean-theme [hidden]{display:none!important}
.clean-theme .profile>span#profile-avatar{width:36px;height:36px;min-width:36px;flex:0 0 36px;aspect-ratio:1;background-size:cover;background-position:center}
.clean-theme .profile>div{min-width:0;flex:1}.clean-theme .profile b,.clean-theme .profile small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:123px}
.clean-theme .mobile-profile>span#mobile-profile-avatar{width:40px;height:40px;min-width:40px;flex:0 0 40px;aspect-ratio:1;background-size:cover;background-position:center}
.clean-theme .gallery-card>img{display:block;width:100%;height:auto!important;aspect-ratio:1;object-fit:cover}
.clean-theme .clean-client-cover{height:auto!important;background:transparent;overflow:visible}
.clean-theme .clean-client-cover img{width:100%;height:auto;max-height:560px;object-fit:contain;object-position:center;border-radius:5px}
.clean-theme .main-shell>header>div:first-child{min-width:0}.clean-theme .main-shell>header h1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.clean-theme .header-actions{flex-shrink:0;gap:8px}.clean-theme .mobile-bottom-nav{display:none!important}
.clean-theme-toggle{display:inline-grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:0;border-radius:7px;background:transparent;color:var(--muted);cursor:pointer}
.clean-theme-toggle:hover{background:var(--clean-soft);color:var(--blue)}
.clean-theme .client-header{gap:12px}.clean-theme .client-header>.logo{margin-right:auto}.clean-theme #landing-app nav .clean-theme-toggle{margin-left:0}
.clean-theme .photographer-doubts h3{margin:5px 0}.clean-theme .doubt-alert{color:var(--clean-gold);background:#faf6ec;padding:6px 10px;border-radius:6px;font-size:12px}
.clean-theme .photographer-doubts .selected-preview-grid article>span{display:none}
.clean-theme .photographer-doubts .selected-preview-grid img{object-fit:contain;background:var(--wash)}

/* Explicit foregrounds: the legacy viewer used white controls on a white bar. */
.clean-theme :is(.photo-viewer-header,.photo-viewer-footer,.compare-header,.compare-pane footer){color:var(--ink);background:var(--clean-panel,#fff)}
.clean-theme :is(.photo-viewer-header,.photo-viewer-footer,.compare-header,.compare-pane footer) button{color:var(--ink);background:var(--wash);border:1px solid var(--line);border-radius:7px;min-height:44px;cursor:pointer}
.clean-theme :is(.photo-viewer-header,.compare-header) small{color:var(--muted)}
.clean-theme #close-photo-viewer,.clean-theme #close-comparison{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex-shrink:0;min-width:94px;position:relative;z-index:2}
.clean-theme .photo-viewer-shell{grid-template-rows:auto minmax(0,1fr) auto;min-height:0}
.clean-theme .photo-viewer-header{min-height:66px}.clean-theme .photo-viewer-header>div{min-width:0}.clean-theme #photo-viewer-name{max-width:65vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.clean-theme .photo-viewer-footer{min-height:66px;flex-wrap:wrap;justify-content:center;gap:10px;padding:12px}
.clean-theme :is(.viewer-select,.viewer-doubt){display:inline-grid;place-items:center;width:44px;height:44px;flex:0 0 44px;padding:0;color:var(--muted)!important}
.clean-theme .viewer-select.is-selected{color:var(--blue)!important;background:var(--clean-soft)!important}.clean-theme .viewer-select.is-selected svg{fill:currentColor;stroke:currentColor}
.clean-theme .viewer-doubt.is-doubt{color:var(--clean-gold)!important;background:#faf6ec!important}
.clean-theme .compare-pane footer{flex-wrap:wrap;gap:8px}.clean-theme .compare-pane footer>b{flex:1 1 100%;min-width:0;overflow-wrap:anywhere}
@media(min-width:721px){
 .clean-theme .sidebar{display:flex!important;width:214px}.clean-theme .main-shell{margin-left:214px!important}
 .clean-theme .main-shell>header .mobile-menu{display:none!important}.clean-theme .main-shell>header .clean-mobile-brand,.clean-theme .clean-header-avatar{display:none!important}
 .clean-theme .main-shell>header{height:77px;padding:0 clamp(18px,3vw,48px)}
}
@media(max-width:720px){
 .clean-theme .main-shell>header{gap:6px;padding:0 12px}.clean-theme .main-shell>header .header-actions{gap:2px}
 .clean-theme .main-shell>header .clean-mobile-brand{min-width:0;flex:1;gap:6px;margin-right:0}.clean-theme .clean-mobile-brand .brand-studio-name{font-size:18px;white-space:nowrap}
 .clean-theme .mobile-menu{flex:0 0 34px;width:34px;min-width:34px;height:44px;display:grid!important;place-items:center}
 .clean-theme .header-actions .bell,.clean-theme .header-actions .clean-theme-toggle{width:40px;height:44px;min-width:40px;flex:0 0 40px;padding:0}
 .clean-theme .header-actions .clean-header-avatar{display:grid;width:35px;height:35px;min-width:35px;flex:0 0 35px;border-radius:50%;background-size:cover;background-position:center;aspect-ratio:1}
 .clean-theme .photo-viewer,.clean-theme .compare-view{height:100dvh!important;min-height:0;max-height:100dvh}
 .clean-theme .photo-viewer-footer .viewer-compare{flex:1 1 130px}
 .clean-theme .clean-client-cover img{max-height:420px}.clean-theme .client-header{gap:6px}
}
@media(max-width:360px){.clean-theme .clean-mobile-brand .brand-studio-name{font-size:16px}.clean-theme .clean-mobile-brand .logo-icon{width:23px;height:23px}.clean-theme .client-header .brand-studio-name{font-size:18px}.clean-theme .client-header #back{max-width:95px;font-size:11px}}

/* Theme preferences never change photo pixels, watermarks or cloud data. */
body.clean-theme[data-theme=dark]{--blue:#9ac7ff;--deep:#bcdaff;--ink:#e2e8f0;--muted:#a0aec0;--line:#2c3b4f;--wash:#0c121c;--clean-panel:#141e2d;--clean-soft:#20344d;--clean-gold:#e3c384;--clean-green:#8bc7ac;background:var(--wash);color:var(--ink)}
.clean-theme[data-theme=dark] :is(.sidebar,.main-shell>header,.mobile-drawer,.mobile-profile,.client-header,.workspace-screen,.workspace-screen-surface,.workspace-screen-header,dialog,.modal,.modal-actions,.client-content footer,.notifications,.notification-item,.notification-toolbar,.notification-page-item,.landing-preview,.landing-features article,.clean-gallery-overview,.clean-identity-preview,.clean-manager-options,.clean-manager-options button,.clean-manager-options .sort-controls,.manager-toolbar,.professional-gallery-panel,.brand-logo-editor,.watermark-controls,.final-review-file,.final-review-target,.client-access-card,.client-locked,.delivery-rule-summary,.onboarding-hero){background:var(--clean-panel);color:var(--ink);border-color:var(--line);box-shadow:none}
.clean-theme[data-theme=dark] :is(.panel,.client-list,.stats article,.gallery-card,.settings form,.settings aside,.analytics-panel,.account-controls article,.professional-email-status,.admin-invite-form,.admin-account-card,.tutorial-grid article,.client-group,.client-gallery-choice,.action-item,.selected-preview-grid article,.clean-profile-command){background:var(--clean-panel);color:var(--ink);border-color:var(--line)}
.clean-theme[data-theme=dark] :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),textarea,select,.search){background:var(--wash);border-color:var(--line);color:var(--ink)}
.clean-theme[data-theme=dark] :is(input,textarea)::placeholder{color:var(--muted)}
.clean-theme[data-theme=dark] :is(.button,.mini,.chip,.workspace-back,.clean-manager-menu>summary,.clean-manager-quick button,.photo-viewer-stage,.compare-image-wrap,.clean-photo-surface,.clean-manager-surface){background:var(--clean-panel);color:var(--ink);border-color:var(--line)}
.clean-theme[data-theme=dark] .button.primary{background:#215799;border-color:#215799;color:#fff}.clean-theme[data-theme=dark] .button.primary:hover{background:#2968b5}
.clean-theme[data-theme=dark] :is(.button.secondary,.nav.active,.chip.active,.clean-theme-toggle:hover,.clean-settings-tabs button[aria-selected=true],.clean-gallery-tabs button[aria-selected=true]){background:var(--clean-soft);color:var(--blue)}
.clean-theme[data-theme=dark] :is(.nav,.kicker,.nav-label,label,.client-intro p,.protected,.clean-photo-caption,.selected-preview-empty,.client-locked p,.final-download-row small,.clean-identity-text p,.landing main p,.gallery-quick-actions small,.clean-profile-command small){color:var(--muted)}
.clean-theme[data-theme=dark] :is(.nav:hover,.action-item:hover,.client-gallery-choice:hover){background:var(--clean-soft)}
.clean-theme[data-theme=dark] :is(.clean-photo-tools,.clean-manager-quick){background:#141e2df0;border-color:var(--line)}
.clean-theme[data-theme=dark] :is(.clean-photo-tools button,.clean-photo-touch button,.clean-manager-quick button){color:var(--ink);background:transparent}
.clean-theme[data-theme=dark] :is(.photo.selected .clean-photo-mark,.clean-photo-tools .pick[aria-pressed=true]){background:#215799;color:#fff}
.clean-theme[data-theme=dark] :is(.viewer-doubt.is-doubt,.doubt-alert,.photo.is-doubt .clean-photo-mark){background:#3a3020!important;color:var(--clean-gold)!important}
.clean-theme[data-theme=dark] :is(.clean-doubt-label,.selected-photo-note,.client-comments-list p){color:var(--muted)}
.clean-theme[data-theme=dark] .notifications>header{background:var(--clean-panel)!important;color:var(--ink)}
.clean-theme[data-theme=dark] :is(.button.danger,.button.danger-soft,.button.danger-solid){background:#41242a;color:#ffd2d2;border-color:#704047}
.clean-theme[data-theme=dark] .stats article{background:transparent}.clean-theme[data-theme=dark] .landing-footer{border-color:var(--line);color:var(--muted)}
.clean-theme[data-theme=dark] .client-header #back{background:var(--clean-soft);color:var(--ink)}
.clean-theme[data-theme=dark] :is(.landing,.client-app){background:var(--wash);color:var(--ink)}
.clean-theme[data-theme=dark] :is(.logo,.brand-studio-name,.clean-identity-brand,.access-platform-brand){color:var(--ink)}
.clean-theme[data-theme=dark] :is(.admin-panel,.admin-stats article,.admin-account,.collection-empty,.advanced-gallery-danger,.workflow-control,.security-status span,.final-download-summary,.final-review-summary,.final-download-row,.final-review-row,.final-download-actions,.notifications-open-page,.tutorial-flow span,.tutorial-visual,.client-preview-banner,.manager-client-note,.auth-create){background:var(--clean-panel);color:var(--ink);border-color:var(--line)}
.clean-theme[data-theme=dark] :is(.admin-panel,.admin-stats,.admin-account,.collection-empty,.client-group,.selected-preview-grid,.clean-gallery-overview,.client-studio-identity,.final-download-row,.final-review-row,.client-intro,.client-comments-list) :is(b,h2,h3,strong){color:var(--ink)}
.clean-theme[data-theme=dark] :is(.admin-panel,.admin-stats,.admin-account,.collection-empty,.client-group,.selected-preview-grid,.clean-gallery-overview,.client-studio-identity,.final-download-row,.final-review-row,.client-comments-list) :is(p,small,label){color:var(--muted)}
.clean-theme[data-theme=dark] .final-download-row.is-downloaded{background:#142f28;border-color:#325c4b}.clean-theme[data-theme=dark] .final-download-row.is-downloaded .button{background:#254a3c;color:#bfe6d4;border-color:#325c4b}
.clean-theme[data-theme=dark] .client-preview-banner{color:var(--muted)}
.clean-theme .admin-invite label{display:grid;gap:6px}.clean-theme .admin-invite input{margin-top:0;width:100%}
.clean-theme[data-theme=dark] :is(.admin-invite,.admin-summary article,.admin-list,.tutorial-finish,.invite-only-note){background:var(--clean-panel);color:var(--ink);border-color:var(--line)}
.clean-theme[data-theme=dark] :is(.admin-invite,.admin-summary,.tutorial-finish,.invite-only-note) :is(b,h3){color:var(--ink)}
.clean-theme[data-theme=dark] :is(.admin-invite,.admin-summary,.tutorial-finish,.invite-only-note) :is(p,label,small){color:var(--muted)}

/* Actual populated/empty page panels share the same dark palette. */
.clean-theme[data-theme=dark] :is(.trash-page-list,.trash-toolbar,.trash-more-actions,.analytics-cards article,.analytics-table,.notification-page-panel,.notification-page-panel>header,.notifications-page-list,.notification-empty){background:var(--clean-panel);color:var(--ink);border-color:var(--line);box-shadow:none}
.clean-theme[data-theme=dark] .notifications{background:var(--clean-panel)!important;box-shadow:none!important}
.clean-theme[data-theme=dark] :is(.trash-row,.notification-item){border-color:var(--line)}
.clean-theme[data-theme=dark] .notification-item:hover{background:var(--clean-soft)}
.clean-theme[data-theme=dark] :is(.analytics-cards,.analytics-row,.trash-row,.notification-page-panel,.notifications) :is(b,strong){color:var(--ink)}
.clean-theme[data-theme=dark] :is(.analytics-cards,.analytics-row,.trash-toolbar,.trash-row,.notification-page-panel,.notifications) :is(small,time){color:var(--muted)}
.clean-theme[data-theme=dark] :is(.notification-empty span,.notification-toolbar>span,.trash-toolbar>span){color:var(--muted)}
.clean-theme[data-theme=dark] :is(.analytics-cards article>i,.notification-item>i){background:var(--clean-soft);color:var(--blue)}
.clean-theme[data-theme=dark] .notification-empty i{background:#142f28;color:var(--clean-green)}
.clean-theme[data-theme=dark] .notification-delete:hover{background:var(--clean-soft);color:var(--ink)}
.clean-theme[data-theme=dark] .danger-mini{color:#ffd2d2!important;border-color:#704047!important}
/* The client logo's legacy ID selector must not override the platform wordmark. */
.clean-theme[data-theme=dark] :is(.logo .brand-studio-name,.landing .logo>span,.access-platform-brand>b),
.clean-theme[data-theme=dark] .client-header #client-logo .brand-studio-name{color:var(--ink)}

/* Capacity controls stay separate from account actions, in both themes. */
.clean-theme .admin-capacity{padding:24px;margin:0 0 24px;border:1px solid var(--line);border-radius:18px;background:var(--clean-panel,#fff);color:var(--ink)}
.clean-theme .admin-capacity .page-head{gap:16px;margin-bottom:16px}
.clean-theme .admin-capacity-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin:20px 0}
.clean-theme .admin-capacity-metrics article{display:flex;flex-direction:column;gap:10px;min-width:0;padding:16px;border:1px solid var(--line);border-radius:12px}
.clean-theme .admin-capacity-metrics b{font-size:18px;color:var(--ink);overflow-wrap:anywhere}
.clean-theme .admin-capacity :is(small,.capacity-note),.clean-theme .admin-capacity-metrics span{font-size:12px;color:var(--muted);line-height:1.6}
.clean-theme .admin-capacity>small{display:block;margin-top:12px}
.clean-theme .admin-capacity progress{width:100%;accent-color:var(--blue)}
.clean-theme .admin-quota-control{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:14px;color:var(--muted);font-size:13px}
.clean-theme .capacity-quota-dialog{max-width:min(520px,calc(100vw - 32px));border:1px solid var(--line);border-radius:18px;background:var(--clean-panel,#fff);color:var(--ink)}
.clean-theme .capacity-quota-dialog .modal{background:var(--clean-panel,#fff);color:var(--ink);width:100%;max-width:100%;box-sizing:border-box}
.clean-theme .capacity-quota-dialog input{background:var(--clean-panel,#fff);color:var(--ink);border:1px solid var(--line)}
@media(max-width:600px){.clean-theme .admin-capacity{padding:16px}.clean-theme .admin-capacity .page-head{align-items:flex-start;flex-direction:column}.clean-theme .admin-quota-control{align-items:flex-start;flex-direction:column}}

/* v59: apply night mode before account loading and cover legacy nested surfaces. */
html[data-theme=dark]{--ink:#e2e8f0;--muted:#a0aec0;--line:#2c3b4f;--wash:#0c121c;--clean-panel:#141e2d;--clean-soft:#20344d;background:var(--wash);color-scheme:dark}
html[data-theme=dark] body,html[data-theme=dark] .app-loading{background:var(--wash);color:var(--ink)}
.app-loading{background:var(--wash);color:var(--ink)}
.clean-theme .button .clean-icon{flex:0 0 18px;width:18px;height:18px}
.clean-theme .tutorial-visual>i .clean-icon{width:22px;height:22px}
.clean-theme[data-theme=dark] :is(.selected-preview-empty,.delivery-rule-summary>span,.history-toggle,.tutorial-tip,.tutorial-grid.detailed article>.tutorial-tip,.tutorial-visual>i,.action-icon,.client-group-head>span,.person>span,.detail-stat,.upload-progress,.share-link-box,.client-comments-list article,.client-save-state,.client-delivery-wait,.photo-sort-control,.manager-sort-control,.gallery-selection-toolbar,.extras-summary,.protected){background:var(--clean-soft);color:var(--ink);border-color:var(--line);box-shadow:none}
.clean-theme[data-theme=dark] :is(.selected-preview-empty,.tutorial-grid.detailed article>.tutorial-tip,.upload-progress-head span,.client-save-state,.client-delivery-wait){color:var(--muted)}
.clean-theme[data-theme=dark] :is(.tutorial-grid.detailed article>ol,.tutorial-visual small,.tutorial-visual em,.action-item small,.detail-hero p,.management-block>div>p:last-child,.delivery-rule-summary small,.gallery-timeline article small,.client-row .person small,.client-gallery-choice small,.card-body p,.card-foot,.workflow-control small,.final-review-target small,.final-review-file small){color:var(--muted)}
.clean-theme[data-theme=dark] :is(.tutorial-grid.detailed article>ol strong,.tutorial-visual strong,.client-gallery-choice em,.extra-classification){color:var(--blue)!important}
.clean-theme[data-theme=dark] :is(.history-toggle:hover,.gallery-select-toggle,.clean-header-avatar,.mobile-profile>span){background-color:var(--clean-soft);color:var(--blue);border-color:var(--line)}
.clean-theme[data-theme=dark] .status{background:var(--clean-soft);color:var(--blue)}
.clean-theme[data-theme=dark] :is(.status.acknowledged,.status.delivered,.admin-status,.client-locked>i,.finish>i){background:#142f28;color:var(--clean-green)}
.clean-theme[data-theme=dark] :is(.status.submitted,.status.waiting){background:#3a3020;color:var(--clean-gold)}
.clean-theme[data-theme=dark] :is(.status.expired,.admin-account.is-suspended,.admin-account.is-suspended .admin-status){background:#41242a;color:#ffd2d2}
.clean-theme[data-theme=dark] :is(.progress,.storage-bar,.upload-progress-track){background:var(--line)}
.clean-theme[data-theme=dark] .gallery-timeline article>i{background:#215799;border-color:var(--line)}
.clean-theme[data-theme=dark] :is(.app-loading .logo-icon,.logo-icon,.brand-logo-preview){background-color:var(--clean-panel)!important;border-color:var(--line);box-shadow:none}
.clean-theme[data-theme=dark] :is(.sidebar .logo-icon,.mobile-drawer .logo-icon,.client-header #client-logo .logo-icon){background-color:var(--clean-panel)!important}
html[data-theme=dark] .app-loading .logo-icon{background-color:var(--clean-panel);border-color:var(--line);box-shadow:none}
/* This artwork is only the empty placeholder; actual photographs are untouched. */
.clean-theme[data-theme=dark] img.clean-empty-cover{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='600' viewBox='0 0 900 600'%3E%3Crect width='900' height='600' fill='%231c2c40'/%3E%3Cpath d='M0 470 245 280l130 115 156-145 369 300v50H0z' fill='%232d4762'/%3E%3Ccircle cx='690' cy='150' r='55' fill='%23587898'/%3E%3Ctext x='450' y='520' text-anchor='middle' font-family='Arial,sans-serif' font-size='28' font-weight='700' fill='%239ac7ff'%3ECSAR GALLERY%3C/text%3E%3C/svg%3E")}
.clean-theme[data-theme=dark] :is(.final-delivery-help,.backup-progress,.legal-note,.delivery-preview-note,.tip,.collection-toolbar,.professional-link-controls,.download-policy,.pending-upload-banner,.download-history-row,.download-history-empty,.final-download-progress,.final-download-summary>span,.final-download-row>span,.professional-email-status>i,.professional-email-status>span,.access-photographer-identity,.confirm-symbol,.collection-empty>i,.selected-photo-note,.client-save-state.preview){background:var(--clean-soft);color:var(--ink);border-color:var(--line);box-shadow:none}
.clean-theme[data-theme=dark] :is(.final-delivery-help,.legal-note,.delivery-preview-note,.download-history-empty,.download-policy,.pending-upload-banner) :is(p,small){color:var(--muted)}
.clean-theme[data-theme=dark] :is(.storage-track,.tutorial-slider,.tutorial-slider.short){background:var(--line)}
.clean-theme[data-theme=dark] :is(.nav b,.bell,.mobile-drawer-top>button,.settings aside>i,.final-review-file>span){background:var(--clean-soft);color:var(--blue)}
.clean-theme[data-theme=dark] :is(.final-review-remove,.notification-delete,.manager-photo .manager-remove):hover{background:var(--clean-soft);color:var(--ink)}
.clean-theme[data-theme=dark] :is(.list-row[data-detail]:hover,.list-row[role=button]:hover,.client-row[role=button]:hover){background:var(--clean-soft);border-color:var(--line);box-shadow:none}
.clean-theme[data-theme=dark] :is(.final-review-row.unmatched,.final-review-row.conflict){background:#3a3020;border-color:#675538;color:var(--clean-gold)}
.clean-theme[data-theme=dark] :is(.final-review-row.unmatched,.final-review-row.conflict) .final-review-file>span{background:#3a3020;color:var(--clean-gold)}
.clean-theme[data-theme=dark] #auth-error.success{background:#142f28;color:#8bc7ac!important;border-color:#325c4b}
.clean-theme[data-theme=dark] :is(.profile>span#profile-avatar,.avatar-editor>span){background-color:var(--clean-soft);color:var(--blue)}
.clean-theme[data-theme=dark] .tutorial-visual :is(small,em){color:var(--muted)}
.clean-theme[data-theme=dark] :is(.delivery-rule-summary b,.detail-stat b,.upload-progress-head,.final-download-summary b,.download-history-row b,.professional-email-status b,.storage-numbers b,.tip b,.legal-note b){color:var(--ink)}
.clean-theme[data-theme=dark] :is(.stats article>i,.settings aside>i){background:var(--clean-soft);color:var(--blue)}
/* Avatar image geometry is independent of theme; do not reset it with background. */
.clean-theme :is(#profile-avatar,#mobile-profile-avatar,#profile-avatar-large,.clean-header-avatar){background-size:cover;background-position:center;background-repeat:no-repeat}

/* Persistent confirmation after creating a gallery: calm in light and dark themes. */
.clean-theme .gallery-created-notice{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;margin:0 0 24px;padding:18px 20px;border:1px solid var(--line);border-radius:10px;background:var(--clean-panel);color:var(--ink);box-shadow:0 10px 24px rgba(28,52,84,.05)}
.clean-theme .gallery-created-symbol{width:38px;height:38px;display:grid;place-items:center;flex:none;border-radius:50%;background:#eaf3ff;color:var(--blue)}
.clean-theme .gallery-created-notice .clean-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.clean-theme .gallery-created-copy .kicker{margin:0 0 3px}
.clean-theme .gallery-created-copy h3{margin:0;font-size:16px;line-height:1.3;color:var(--ink)}
.clean-theme .gallery-created-copy p:not(.kicker){margin:4px 0 0;color:var(--muted);font-size:12px;line-height:1.55}
.clean-theme .gallery-created-actions{display:flex;align-items:center;gap:8px}
.clean-theme .gallery-created-actions .button{min-height:38px;padding:8px 12px;white-space:nowrap}
.clean-theme .gallery-created-dismiss{display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:7px;background:transparent;color:var(--muted);cursor:pointer}
.clean-theme .gallery-created-dismiss:hover,.clean-theme .gallery-created-dismiss:focus-visible{background:var(--clean-soft);color:var(--ink)}
.clean-theme[data-theme=dark] .gallery-created-notice{background:var(--clean-panel);border-color:var(--line);box-shadow:none}
.clean-theme[data-theme=dark] .gallery-created-symbol{background:#142f28;color:var(--clean-green)}
@media(max-width:720px){.clean-theme .gallery-created-notice{grid-template-columns:auto minmax(0,1fr);gap:12px;margin-bottom:18px;padding:16px}.clean-theme .gallery-created-actions{grid-column:1/-1;width:100%;display:grid;grid-template-columns:1fr 1fr auto}.clean-theme .gallery-created-actions .button{justify-content:center}.clean-theme .gallery-created-dismiss{align-self:center}.clean-theme .gallery-created-copy h3{font-size:15px}}

/* v78: persistent cleanup progress uses the shared theme. */
.clean-theme .cleanup-card .cleanup-progress{padding:14px 16px;border:1px solid var(--line);border-radius:8px;background:var(--clean-panel);color:var(--ink);font-size:13px;line-height:1.65;overflow-wrap:anywhere}
.clean-theme .cleanup-card .account-control-actions{grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr))}
.clean-theme .cleanup-card .account-control-actions button{white-space:normal;min-height:44px}

/* v79: explicit platform and personal storage ceilings. */
.clean-theme .admin-capacity-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 12px}
.clean-theme .capacity-quota-dialog .capacity-form-message{color:var(--ink);overflow-wrap:anywhere;min-height:1.6em}
.clean-theme .capacity-quota-dialog .show-password{display:flex!important;gap:10px;align-items:flex-start;line-height:1.6}
.clean-theme .capacity-quota-dialog .show-password input{flex:0 0 auto;margin-top:4px!important}
@media(max-width:600px){.clean-theme .admin-capacity-actions{display:grid;grid-template-columns:minmax(0,1fr)}.clean-theme .admin-capacity-actions .button{white-space:normal;min-height:44px}}
