@font-face{font-family:Najwa;src:url('/media/najwa.otf') format('opentype');font-display:swap}
:root{color-scheme:light;--paper:#f2eee8;--ink:#46382e;--muted:#665749;--line:#d8cbbd;--brass:#765538;--milk:#fffaf2}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font:1.15rem/1.55 Najwa,Tahoma,sans-serif}
button,input,textarea,select{font:inherit}a{color:inherit;text-decoration:none}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}img{display:block;max-width:100%}[hidden]{display:none!important}
:focus-visible{outline:2px solid #866346;outline-offset:4px}
.album-shell{width:min(91%,1260px);margin-inline:auto}
.album-header{background:#fffaf2;border-bottom:1px solid var(--line)}
.album-header>.album-shell,.album-header nav,.album-brand,.album-footer{display:flex;align-items:center;gap:1rem}
.album-header>.album-shell,.album-footer{justify-content:space-between}
.album-header>.album-shell{min-height:76px}
.album-header nav>a:first-child:hover,a.text-link:hover{text-decoration:underline;text-underline-offset:4px}
.album-brand{gap:.6rem;font-weight:700;line-height:1.1;white-space:nowrap}
.album-brand img{border-radius:50%;background:#f3e6ce}
.album-brand small{display:block;font-weight:400;margin-top:.2rem;color:var(--muted);font-size:.86rem}
.album-action{border:1px solid #a18362;background:#805f41;color:#fffaf2;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.35rem .9rem;line-height:1.15;text-align:center;white-space:normal}
.album-action:hover{background:#5b412d}.album-action.secondary{background:#fffcf7;color:var(--brass);border-color:var(--line)}.album-action.secondary:hover{background:#ede0d3}.album-action.danger{background:#fff4ef;color:#823d32;border-color:#d2a196}
.album-footer{flex-wrap:wrap;padding:1.5rem 0;margin-top:3.5rem;border-top:1px solid var(--line);color:var(--muted)}
#albumMain{min-height:63vh}.album-state{padding:2.5rem 0;color:var(--muted)}
h1,h2,h3,p{margin:0}h1{line-height:1.22;font-size:clamp(2.3rem,5vw,4.5rem)}h2{font-size:1.8rem;line-height:1.2}h3{font-size:1.3rem}
.album-intro,.manage-top{display:flex;align-items:end;justify-content:space-between;gap:1.1rem;flex-wrap:wrap;padding:clamp(1.7rem,5vw,4rem) 0 1.6rem}
.album-intro p{color:var(--muted);margin-top:.45rem}
.album-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,285px),1fr));gap:1.2rem}
.gallery-card{min-width:0;background:var(--milk);border:1px solid var(--line);padding:.65rem;box-shadow:0 7px 24px #59453312;border-radius:6px}
.gallery-card>a{display:block}
.gallery-card .album-photo{position:relative;width:100%;aspect-ratio:4/3;overflow:hidden}
.gallery-card .album-photo img,.gallery-card .photo-fallback{position:absolute;inset:0;width:100%;height:100%}
.gallery-card .album-photo img{object-fit:cover}
.gallery-card-content{padding:.7rem .35rem .35rem;overflow-wrap:anywhere}
.gallery-card h2{font-size:1.55rem}.gallery-card p{margin-top:.15rem;color:var(--muted)}.gallery-card a:hover h2{color:#957454}
.gallery-card .album-buttons{margin-top:.65rem}
.album-crumb{display:inline-block;margin:1.2rem 0 .9rem;color:var(--brass);text-decoration:underline;text-underline-offset:4px}
.album-cover{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:clamp(1.5rem,4vw,5rem);align-items:center;min-height:360px;padding:clamp(1.5rem,5vw,5rem);background-color:#ede7df;background-image:radial-gradient(ellipse at 70% 14%,#fdfaf4,transparent 64%),repeating-linear-gradient(35deg,#68554616 0 1px,transparent 1px 5px),repeating-linear-gradient(143deg,#fff3 0 1px,transparent 1px 4px);border:1px solid #d9cfc2;border-radius:4px;overflow:hidden}
.album-inscription{text-align:center;position:relative;z-index:1}.album-inscription .occasion{font-size:clamp(1.1rem,2vw,1.42rem);color:#644a36;margin-bottom:.65rem}.album-inscription h1{color:#69503f;overflow-wrap:anywhere}.album-inscription p{margin-top:.6rem;color:#645347;white-space:pre-wrap}.album-inscription time{font-size:1.34rem;display:block;margin-top:.85rem;color:#745744}
.album-collage{min-width:0;position:relative;aspect-ratio:1.27;direction:ltr}.album-collage:before,.album-collage:after{position:absolute;content:'';width:56%;height:66%;border-radius:100% 5% 100% 0;transform:rotate(26deg);background:#c1a59245;left:-19%;top:7%;z-index:0}.album-collage:after{transform:rotate(-19deg);top:17%;left:-9%;background:#ba907923;width:45%}
.album-collage .album-photo{position:absolute;border:6px solid #fffcf7;box-shadow:0 7px 20px #543c3533;z-index:1;overflow:hidden}
.album-collage img{width:100%;height:100%;object-fit:cover}.collage-main{left:14%;top:0;width:84%;height:75%;transform:rotate(-1deg)}.collage-side{left:1%;top:42%;width:39%;height:53%;transform:rotate(2deg)}
.album-photos{margin-top:2.3rem}.album-photos>h2{margin-bottom:1rem}
.album-masonry{columns:3;column-gap:.85rem}
.album-masonry .album-photo{break-inside:avoid;display:block;width:100%;margin:0 0 .85rem;position:relative;background:#e9dfd4;border:0;padding:0}
.album-masonry img{width:100%;height:auto}.album-photo:has(img[hidden]){display:grid;place-items:center;min-height:100px}.photo-fallback{background:#e9dfd4;color:var(--brass);width:100%;height:100%;min-height:75px;display:grid;place-items:center;padding:.4rem;text-align:center}
.photographer-credit{text-align:center;margin:2.8rem auto;color:#765841;border-top:1px solid var(--line);padding-top:1.2rem}.photographer-credit span{display:block;color:var(--muted);font-size:1rem}.photographer-credit strong{font-size:1.65rem}
.album-form,.album-login,.album-panel{background:#fffaf3;border:1px solid var(--line);border-radius:9px;padding:clamp(1rem,3vw,2rem);margin-bottom:1rem}
.album-form,.album-login form{display:grid;gap:.9rem}.album-form label,.album-login label{display:grid;font-weight:700;gap:.2rem}.album-login{max-width:460px;margin:clamp(1.2rem,7vw,4rem) auto}.album-login h1{margin-bottom:1.2rem}
.album-form input,.album-form textarea,.album-login input{width:100%;min-width:0;background:#fffdfa;color:var(--ink);border:1px solid #cdbcab;padding:.5rem .7rem;border-radius:6px}
.album-form textarea{resize:vertical;min-height:85px}.album-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.album-buttons,.album-photo-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.55rem}.album-photo-actions{padding:.5rem}.album-photo-actions .album-action{font-size:.96rem;min-height:36px;padding:.35rem .55rem}
.album-editor-files{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,178px),1fr));gap:.55rem}.edit-photo{background:#f4ece1;border:1px solid var(--line);border-radius:6px;overflow:hidden}.edit-photo img{width:100%;height:105px;object-fit:contain}.edit-photo p{padding:.25rem .55rem;overflow-wrap:anywhere;font-size:1rem}
.album-alert:not(:empty){display:block;padding:.7rem;background:#efe5d7;border-radius:5px;color:#653d27}.album-panel>p{margin:.5rem 0}.album-small{color:var(--muted);font-size:1rem}.album-list-more{margin-top:1.3rem}
#albumViewer{padding:.75rem;background:#fffbf6;color:var(--ink);border:1px solid var(--line);border-radius:9px;width:min(94vw,1050px);max-height:93vh}#albumViewer::backdrop{background:#251912d7}.viewer-head,.viewer-actions{display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap;padding:.45rem}#albumViewerMedia{display:grid;place-items:center;background:#e9dfd4;min-height:150px}#albumViewerMedia img{max-height:70vh;object-fit:contain}
@media(max-width:760px){.album-cover{grid-template-columns:1fr;gap:.7rem}.album-collage{width:min(100%,530px);margin:0 auto}.album-inscription{padding:.3rem 0 .7rem}.album-masonry{columns:2}.album-header nav{gap:.5rem}.album-header>.album-shell{min-height:66px}.album-footer{gap:.6rem;font-size:1rem}.album-fields{grid-template-columns:1fr}}
@media(max-width:355px){.album-brand img{width:36px;height:36px}.album-header nav>a:first-child{display:none}.album-masonry{columns:1}}
@media(prefers-reduced-motion:no-preference){.gallery-card{transition:box-shadow .18s}.gallery-card:hover{box-shadow:0 10px 23px #5945332c}}
.file-input{position:absolute;width:1px!important;height:1px;opacity:0;overflow:hidden}#drivePick{cursor:pointer}#drivePick:focus-within{outline:2px solid #866346;outline-offset:3px}.album-check{display:flex!important;flex-direction:row;align-items:center}.album-check input{width:auto!important;margin-inline-end:.3rem}.upload-progress{margin:.85rem 0;padding:.75rem;border:1px solid var(--line);background:#f5ecdf;border-radius:8px}.upload-progress progress{width:100%;accent-color:#886647;height:.7rem}.upload-progress p{margin-top:.25rem}.album-editor-files{margin-top:.75rem}.blank-collage{background:radial-gradient(ellipse at 55% 40%,#f8f1e5,#d6c4b5)}.album-form details{margin-top:.75rem}.album-form summary,.album-panel summary{cursor:pointer;color:var(--brass)}.album-form details textarea{display:block;margin:.55rem 0}.album-form[id=driveConfig]{margin-top:.65rem}

.album-action[data-destructive]{background:#fff4ef;color:#823d32;border-color:#d2a196}
.folder-controls{border-block:1px solid var(--line);padding:1rem 0;margin:.9rem 0;display:grid;gap:.55rem}.folder-controls .album-small{margin:0}

.footer-login-links{display:flex;flex-wrap:wrap;gap:12px 20px;font-size:1rem}.account-state{font-weight:700;color:#82601c}.account-help{line-height:1.9}

/* Shared editorial identity with the public site; keep the current Najwa font. */
:root{--paper:#f6f2e8;--ink:#273329;--muted:#697363;--line:#daddce;--brass:#95713a;--milk:#fffdf7;--forest:#19251f}
body{background:var(--paper);color:var(--ink)}h1,h2,h3,.album-brand,.album-form label,.album-login label{font-weight:400}
.album-header{background:var(--paper);border-color:var(--line)}.album-header>.album-shell{min-height:96px}.album-brand{font-size:1.9rem}.album-brand small{font-size:.86rem}.album-brand img{box-shadow:0 0 19px #b58e4933}
.album-action{background:var(--forest);border-color:var(--forest);color:#fff6e4;border-radius:5px;padding:.6rem 1.1rem;box-shadow:none;font-size:1.05rem;min-height:46px}.album-action:hover{background:#334730}
.album-action.secondary{background:#f8f8ef;color:#43563b;border-color:#cbd2be}.album-action.secondary:hover{background:#e8eddd}
.album-intro{padding-block:55px 35px}.album-intro h1{font-size:3.6rem}.album-intro p{font-size:1.25rem}
.album-list{gap:26px}.gallery-card{border:0;background:transparent;padding:0;border-radius:0;box-shadow:none}.gallery-card:hover{box-shadow:none}.gallery-card .album-photo{border-radius:5px;aspect-ratio:1.4}.gallery-card h2{font-size:1.7rem;font-weight:400}.gallery-card p{font-size:1.05rem}.gallery-card-content{padding:17px 0 0}
.album-cover{background:var(--forest);border:0;border-radius:6px;color:#f9f5e8;padding:55px}.album-inscription h1{color:#e4c794;font-weight:400}.album-inscription p,.album-inscription .occasion,.album-inscription time{color:#d9dfcc}.album-collage:before,.album-collage:after{display:none}.album-collage .album-photo{border:4px solid #eadbb8;border-radius:4px;box-shadow:0 8px 30px #050f0755}.album-photos>h2{font-weight:400;font-size:2.4rem;margin-bottom:24px}.album-masonry .album-photo{border-radius:4px;overflow:hidden}.photographer-credit{color:var(--brass)}
.album-form,.album-login,.album-panel{background:var(--milk);border-color:var(--line);border-radius:7px;box-shadow:none}.album-form,.album-login form{gap:20px}.album-form input,.album-form textarea,.album-login input{background:#fffef9;border-color:#cdd4c1;padding:12px 14px;border-radius:5px;min-height:48px}.album-check input{min-height:0}.album-form label,.album-login label{font-size:1.1rem}.album-fields{gap:20px}.album-form h2{font-weight:400;font-size:1.8rem}
.album-login{max-width:480px;margin:65px auto;padding:35px}.album-login h1{font-size:2.6rem;color:var(--forest)}.album-login>p{font-size:1.1rem;color:var(--muted);margin-bottom:24px}
.folder-controls{background:#f0f3e7;border:1px solid #d6deca;border-radius:6px;padding:24px;margin-block:25px;gap:16px}.upload-progress{background:#eef1e3;border-color:#d7dec9}.upload-progress progress{accent-color:#566c42}.album-alert:not(:empty){background:#edf0e0;color:#465c38}.edit-photo{background:#f4f5eb;border-color:var(--line)}
.album-footer{padding-block:30px;color:var(--muted)}
.albumWorkspace>.album-header,.albumWorkspace>.album-footer{display:none}
.albumWorkspace #albumMain{width:100%;max-width:none;margin:0}
.studioLayout{display:grid;grid-template-columns:235px minmax(0,1fr);min-height:100vh;background:#f2f2e9}.studioSidebar{background:var(--forest);color:#e5e9d7;padding:28px 18px;display:flex;flex-direction:column;min-width:0}.studioBrand{display:flex;gap:10px;align-items:center;font-size:1.65rem;line-height:1.1;margin-bottom:25px}.studioBrand img{width:43px;height:43px;border-radius:50%}.studioBrand small{display:block;margin-top:7px;font-size:.85rem;color:#c2ccb5}.studioGroup{color:#acbda2;font-size:.85rem;margin:10px 12px 14px}.studioSidebar nav{display:grid;gap:5px}.studioSidebar nav a{display:block;padding:12px 14px;border-radius:5px;color:#e1e6d4;font-size:1.1rem}.studioSidebar nav a:hover,.studioSidebar nav a[aria-current]{background:#354631;color:#f0d5a0}.studioIdentity{margin-top:auto;border-top:1px solid #46543b;display:grid;gap:12px;padding-top:25px;color:#bcc8af;font-size:1rem}.studioIdentity strong{color:#ead4a5;font-size:1.25rem;font-weight:400}.studioIdentity .album-action{background:transparent;color:#eadfc8;border-color:#617052}
.studioMain{min-width:0}.studioTop{display:flex;justify-content:space-between;align-items:center;gap:15px;background:#fffdf7;border-bottom:1px solid var(--line);padding:25px 34px;min-height:83px;font-size:1rem;color:var(--muted)}.studioTop span{color:var(--ink)}.studioContent{padding:34px;max-width:1550px;margin:auto}.studioContent .manage-top{padding:0 0 28px;align-items:center}.studioContent .manage-top h1{font-size:2.6rem;font-weight:400}.studioContent .manage-top p{color:var(--muted);margin-top:8px;font-size:1.1rem}.studioContent .manage-top .album-crumb{display:none}.studioContent>.album-form,.studioContent>.album-panel{padding:28px}.studioContent .album-list .gallery-card{background:#fffdf7;border:1px solid var(--line);padding:14px;border-radius:6px}.studioContent .photographer-form{min-width:0}.studioContent .photographer-form .album-fields{grid-template-columns:1fr}.studioContent .album-list:has(.photographer-form){grid-template-columns:repeat(2,minmax(0,1fr))}.studioContent .album-small{font-size:1.05rem}.studioContent .album-form .album-panel{padding:24px;background:#f9faf2;margin-top:10px}.studioContent .account-help{max-width:850px}
@media(max-width:1100px){.studioLayout{grid-template-columns:205px minmax(0,1fr)}.studioContent{padding:25px}.studioContent .album-list:has(.photographer-form){grid-template-columns:1fr}.studioContent .manage-top h1{font-size:2.3rem}}
@media(max-width:720px){.album-header>.album-shell{min-height:74px}.album-brand{font-size:1.6rem}.album-brand img{width:39px;height:39px}.album-cover{padding:25px}.album-intro{padding-top:35px}.album-intro h1{font-size:2.8rem}.album-login{margin:30px auto;padding:25px}.album-fields{grid-template-columns:1fr}.studioLayout{display:block}.studioSidebar{padding:19px 17px}.studioBrand{font-size:1.5rem;margin-bottom:15px}.studioBrand img{width:37px;height:37px}.studioSidebar nav{display:flex;flex-wrap:wrap;gap:5px}.studioSidebar nav a{font-size:1rem;padding:8px 11px}.studioGroup,.studioIdentity{display:none}.studioTop{padding:18px;min-height:66px}.studioContent{padding:25px 17px}.studioContent .manage-top h1{font-size:2.1rem}.studioContent .manage-top{align-items:flex-start}.studioContent>.album-form,.studioContent>.album-panel{padding:20px 16px}.studioContent .album-form .album-panel{padding:18px 13px}.folder-controls{padding:18px 14px}.album-action{font-size:1rem}.album-form input,.album-form textarea{min-width:0}.album-buttons{gap:10px}.studioContent .album-list{grid-template-columns:1fr}.album-inscription h1{font-size:2.6rem}}
.studioGuide{display:flex;gap:15px;justify-content:space-between;align-items:center;padding:18px 22px;background:#e8eddf;border:1px solid #d7dfc9;border-radius:5px;margin-block:25px;color:#53684a;font-size:1rem;flex-wrap:wrap}.studioEmpty{grid-column:1/-1;text-align:center;padding:55px 22px;background:#fffdf7;border:1px solid var(--line);border-radius:7px}.studioEmpty svg{width:56px;height:56px;color:var(--brass);margin:0 auto 23px;display:block}.studioEmpty h2{font-size:2.2rem;font-weight:400}.studioEmpty p{font-size:1.15rem;color:var(--muted);max-width:510px;margin:15px auto 25px}
.studioBrandRow{display:flex;align-items:center;justify-content:space-between;gap:12px}.studioBrandRow .studioBrand{margin-bottom:0}.studioMenuButton{display:none}
@media(max-width:720px){.studioMenuButton{display:block;background:#344331;color:#f0d5a0;border:1px solid #607154;border-radius:5px;padding:8px 13px;font-size:1rem}.studioSidebar nav{display:none;margin-top:18px}.studioSidebar.open nav{display:flex}}
