@charset "UTF-8";
:root{--ink:#173333;--muted:#5c6b68;--accent:#126456;--dark:#123c3c;--lime:#d7f177;--paper:#f5f5ef;--surface:#fff;--line:#dfe4dc;--danger:#ad3e34;--radius:20px;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none;color-scheme:light}
*{box-sizing:border-box}body{margin:0;min-width:300px}button,input,textarea,select{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:var(--accent)}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--accent);outline-offset:3px}svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.hidden{display:none!important}.skip-link{position:fixed;top:-60px;left:20px;z-index:100;background:white;padding:12px;min-height:44px}.skip-link:focus{top:10px}.topbar{height:88px;padding:0 max(28px,calc((100vw - 1200px)/2));display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:var(--paper);gap:16px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--dark);font-size:27px;letter-spacing:-1.4px;font-weight:800;line-height:1.05;min-height:44px}.brand-light{font-weight:400}.brand small{display:block;font-size:8px;letter-spacing:2px;font-weight:600;margin:6px 0 0 2px}.brand-mark{width:43px;height:43px;border-radius:13px;background:var(--dark);color:var(--lime);display:grid;place-items:center}.brand-mark svg{width:31px;height:31px;stroke-width:1.6}.topbar-actions{display:flex;align-items:center;gap:22px}.connection{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:7px;white-space:nowrap}.connection i{width:6px;height:6px;background:#4d956b;border-radius:50%}.connection.is-offline i{background:#c58a30}.icon-button{border:1px solid var(--line);background:transparent;width:44px;height:44px;border-radius:50%;display:inline-grid;place-items:center;color:var(--ink);flex-shrink:0;padding:0;line-height:1}.icon-button:hover{background:#e9eee5}main{max-width:1200px;margin:0 auto;padding:44px 28px 130px}h1,h2,h3,p{margin-top:0;overflow-wrap:anywhere}h1{font-size:clamp(30px,4vw,44px);line-height:1.12;letter-spacing:-1.6px;font-weight:650;margin-bottom:13px}h2{font-size:24px;letter-spacing:-.7px;font-weight:650}h3{font-size:17px;letter-spacing:-.25px}p{line-height:1.6}.eyebrow{font-size:12px;font-weight:750;letter-spacing:1.7px;color:var(--accent);margin-bottom:12px;text-transform:uppercase}.muted{color:var(--muted)}.small{font-size:12px;line-height:1.55}.page-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:30px}.page-intro>div{min-width:0;flex:1}.page-intro p{margin-bottom:0;color:var(--muted);font-size:14px}.button{min-height:47px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:12px 20px;border:1px solid var(--line);border-radius:11px;background:var(--surface);color:var(--ink);text-decoration:none;font-weight:650;font-size:13px;line-height:1.35}.button:hover{filter:brightness(.97)}.button.primary{background:var(--dark);border-color:var(--dark);color:white}.button.lime{background:var(--lime);border-color:var(--lime);color:var(--dark)}.button.quiet{border-color:transparent;background:transparent}.button.full{width:100%}.button.danger{color:var(--danger)}.button svg{width:19px;height:19px}.button-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.button-row>*{flex-shrink:0}.notice{background:#e8eee3;border:1px solid #d9e1d2;padding:13px 16px;border-radius:12px;display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.6;margin:18px 0}.notice p{margin:0}.notice.error{background:#fff1ed;border-color:#f0c7bc;color:#9a382c}.notice.warning{background:#fff6e1;border-color:#ead9b2;color:#795a22}.dashboard-summary{display:grid;grid-template-columns:1.35fr 1fr;gap:22px;margin-bottom:36px}.feature-card{border-radius:var(--radius);background:var(--dark);color:white;min-height:190px;padding:28px 30px;display:flex;align-items:center;gap:25px;overflow:hidden;position:relative}.feature-card .eyebrow{color:var(--lime)}.feature-card h2{max-width:300px;margin-bottom:10px;font-size:27px;line-height:1.2}.feature-card p{color:#c2d3cd;margin:0;font-size:13px;max-width:310px}.feature-art{margin-left:auto;width:112px;height:112px;display:grid;place-items:center;border:1px solid #547775;border-radius:24px;flex-shrink:0;background:#234b49}.feature-art svg{width:65px;height:65px;stroke:var(--lime);stroke-width:1.1}.stats-card{background:#e9eddf;border:1px solid #e0e6d6;border-radius:var(--radius);padding:27px 30px;display:flex;flex-direction:column;justify-content:space-between}.stats-card .eyebrow{margin-bottom:18px}.stats-row{display:flex;gap:36px}.stat strong{display:block;font-size:39px;font-weight:500;letter-spacing:-1.5px;line-height:1.2}.stat span{font-size:12px;color:var(--muted)}.stats-foot{font-size:12px;color:var(--muted);margin-top:15px;display:flex;align-items:center;gap:6px}.stats-foot svg{width:13px;height:13px}.section-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:16px}.section-toolbar h2{font-size:20px;margin:0}.count-pill{display:inline-flex;align-items:center;justify-content:center;min-width:25px;height:24px;font-size:12px;background:#e6ebe1;border-radius:7px;margin-left:8px;vertical-align:middle;letter-spacing:0}.search-box{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:10px;padding:0 12px;background:#fff;max-width:320px;width:100%;border-color:#7e8e85}.search-box svg{width:17px;color:#81918b}.search-box:focus-within{outline:3px solid var(--accent);outline-offset:3px}.search-box input{border:0;background:transparent;padding:12px 0;width:100%;min-height:48px;font-size:16px;outline:none}.album-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px}.album-card{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--surface);color:var(--ink);text-decoration:none;display:flex;flex-direction:column;transition:box-shadow .15s}.album-card:hover{box-shadow:0 8px 25px #1733330c}.album-cover{height:178px;background:#e8ede5;overflow:hidden;position:relative;display:grid;place-items:center}.album-cover img{width:100%;height:100%;object-fit:cover}.album-cover>svg{width:50px;height:50px;stroke:#9aaea4;stroke-width:1}.album-cover .album-badge{position:absolute;bottom:12px;left:13px;background:#fffef2ed;backdrop-filter:blur(8px);padding:5px 9px;border-radius:6px;font-size:12px;font-weight:650;display:flex;gap:5px;align-items:center}.album-badge svg{width:12px;height:12px}.album-details{padding:18px 19px;display:flex;flex-direction:column;flex:1;min-width:0}.album-details h3{margin-bottom:7px;overflow-wrap:anywhere;font-size:16px}.album-details p{font-size:12px;color:var(--muted);margin-bottom:16px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:19px}.album-bottom{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px;margin-top:auto;gap:8px;flex-wrap:wrap}.album-bottom svg{width:18px;color:var(--accent)}.empty-state{padding:48px 24px;border:1px dashed #cbd5c7;border-radius:16px;text-align:center;grid-column:1/-1;background:#f1f4ec}.empty-state>svg{width:44px;height:44px;stroke:#789487;margin-bottom:14px}.empty-state h3{margin:0 0 8px}.empty-state p{font-size:13px;color:var(--muted);max-width:430px;margin:0 auto 20px}.footnote{margin:30px 0 0;display:flex;justify-content:center;align-items:center;gap:7px;font-size:12px;color:var(--muted);text-align:center}.footnote svg{width:14px;height:14px}.back-link{display:inline-flex;align-items:center;gap:7px;border:0;background:none;color:var(--muted);font-size:12px;padding:0;margin-bottom:24px;text-decoration:none;min-height:44px}.back-link svg{width:16px;height:16px}.album-heading .page-intro{align-items:flex-start}.album-heading h1{overflow-wrap:anywhere}.album-meta{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-top:16px}.album-meta span{display:flex;align-items:center;gap:5px}.album-meta svg{width:14px;height:14px}.capture-panel{background:var(--dark);border-radius:var(--radius);padding:25px;display:grid;grid-template-columns:1fr 1fr;gap:24px;color:#fff;margin-bottom:30px}.capture-panel h2{font-size:20px;margin-bottom:6px}.capture-panel p{font-size:12px;color:#bed0ca;margin-bottom:18px}.capture-fields{display:grid;grid-template-columns:1fr;gap:12px}.capture-fields label{font-size:14px;color:#c8d9d2;font-weight:500}.capture-fields input{background:#ffffff0b;border-color:#8fac9f;color:white;font-size:16px;min-height:48px}.capture-fields input::placeholder{color:#a2b9b0}.field-help{font-size:12px!important;margin:0!important;color:#b8c9c1!important}.capture-actions{display:flex;gap:10px;flex-wrap:wrap}.capture-actions .button{flex:1;white-space:nowrap}.capture-actions .secondary-dark{background:#ffffff0c;border:1px solid #597771;color:white}.photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.photo-card{background:white;border:1px solid var(--line);border-radius:13px;overflow:hidden;cursor:pointer;padding:0;text-align:left;color:var(--ink);width:100%;display:flex;flex-direction:column}.photo-card:hover{box-shadow:0 4px 18px #17333313}.photo-image{aspect-ratio:1.15;background:#e6eae2;position:relative;overflow:hidden;width:100%;flex-shrink:0}.photo-image img{width:100%;height:100%;object-fit:cover}.photo-sequence{position:absolute;left:9px;top:9px;font-size:12px;font-weight:650;background:#fffef5ee;padding:4px 7px;border-radius:5px;letter-spacing:.5px}.photo-card-info{padding:12px;display:flex;flex-direction:column;flex:1;min-width:0;width:100%}.photo-card h3{font-size:14px;font-weight:650;margin:0 0 6px;white-space:normal;overflow:hidden;text-overflow:ellipsis;overflow-wrap:anywhere;line-height:1.35}.photo-card p{font-size:12px;color:var(--muted);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:auto}.queue-panel{border:1px solid #d4dfcc;background:#eef3e8;border-radius:14px;margin:0 0 28px;padding:18px}.queue-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.queue-top h3{margin:0;font-size:14px}.queue-top .button{min-height:44px;padding:6px 10px;font-size:13px}.queue-panel>p{font-size:12px;color:var(--muted);margin:7px 0 0}.queue-list{display:grid;gap:9px;margin-top:14px}.queue-item{display:flex;gap:12px;align-items:center;padding:9px;background:#ffffffa8;border-radius:9px;font-size:12px}.queue-item img{width:46px;height:46px;object-fit:cover;border-radius:6px;background:#dfe5da}.queue-item>div{min-width:0;flex:1}.queue-item strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.queue-item small{font-size:12px;display:block;margin-top:4px;color:var(--muted);overflow-wrap:anywhere}.queue-item .is-error{color:var(--danger)}.queue-status{color:var(--accent);font-size:12px;text-align:right}.auth-layout{display:grid;grid-template-columns:1fr 1fr;gap:85px;max-width:1000px;margin:42px auto 0;align-items:center}.auth-intro .eyebrow{margin-bottom:22px}.auth-intro h1{font-size:clamp(37px,5vw,61px);max-width:500px;line-height:1.06;letter-spacing:-2px}.auth-intro h1 em{font-style:normal;color:var(--accent)}.auth-intro>p{font-size:14px;color:var(--muted);max-width:360px;margin-top:23px}.auth-steps{margin:30px 0 0;padding:0;list-style:none;display:grid;gap:19px}.auth-steps li{display:flex;align-items:center;gap:14px;font-size:12px;color:var(--muted)}.auth-steps b{display:grid;place-items:center;width:29px;height:29px;background:#e5ecdb;border-radius:9px;font-size:12px;color:var(--accent)}.auth-card{border:1px solid var(--line);background:white;border-radius:22px;padding:34px;box-shadow:0 10px 50px #17333306;max-width:480px;width:100%;margin:auto}.auth-card h2{font-size:25px;margin-bottom:10px}.auth-card>p{font-size:12px;color:var(--muted);margin-bottom:25px}.auth-icon{width:48px;height:48px;background:#edf2e7;display:grid;place-items:center;border-radius:14px;margin-bottom:21px}.auth-card .button{min-height:48px}.auth-divider{display:flex;align-items:center;gap:12px;margin:20px 0;font-size:12px;color:var(--muted)}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:var(--line);flex:1}.auth-security{display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;color:var(--muted);margin:20px 0 0}.auth-security svg{width:13px;height:13px}form{margin:0}.form-fields{display:grid;gap:17px;margin-bottom:22px}label{display:block;font-size:14px;font-weight:650;margin-bottom:7px}input:where(:not([type=checkbox],[type=radio],[type=hidden],[type=file])),textarea{border:1px solid #7e8e85;border-radius:9px;min-height:48px;padding:11px 12px;background:#fbfcf9;color:var(--ink);width:100%;font-size:16px}input[type=checkbox],input[type=radio]{width:20px;min-width:20px;height:20px;min-height:20px;padding:0;margin:0;flex:0 0 auto;accent-color:var(--accent);vertical-align:middle}textarea{min-height:95px;resize:vertical;line-height:1.5}.field-hint{font-size:12px;color:var(--muted);margin:6px 0 0}.form-error{font-size:12px;line-height:1.6;color:var(--danger);padding:11px 12px;background:#fff0ea;border-radius:8px;margin-bottom:16px}.modal{border:1px solid var(--line);border-radius:22px;padding:0;width:min(530px,calc(100vw - 28px));max-height:calc(100dvh - 40px);color:var(--ink);box-shadow:0 20px 90px #082f3440;background:var(--paper)}.modal::backdrop{background:#102b2d91;backdrop-filter:blur(4px)}.modal-content{padding:27px}.modal-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px}.modal-header h2{margin:0;font-size:22px}.modal-content>p{font-size:12px;color:var(--muted)}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}.account-profile{display:flex;align-items:center;gap:15px;background:#e9eee2;padding:17px;border-radius:12px;margin-bottom:22px}.account-profile svg{width:28px;height:28px}.account-profile strong{display:block;font-size:14px}.account-profile span{font-size:12px;color:var(--muted)}.account-actions{display:grid;gap:12px}.account-actions .button{justify-content:flex-start}.share-link{font-size:12px;word-break:break-all;padding:13px;border:1px solid var(--line);border-radius:9px;background:#fff;line-height:1.6;margin:15px 0}.share-links{display:flex;gap:13px;font-size:12px;margin:18px 0;flex-wrap:wrap}.share-links a{display:inline-flex;align-items:center;gap:4px;min-height:44px;min-width:44px}.share-links svg{width:12px;height:12px}.share-prompt{font-size:16px;min-height:150px;background:white}.viewer-image{background:#e1e7dc;display:flex;align-items:center;justify-content:center;min-height:150px;margin:0 0 20px;border-radius:12px;overflow:hidden}.viewer-image img{max-width:100%;max-height:52dvh;display:block;object-fit:contain}.viewer-meta{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-bottom:20px;gap:10px;flex-wrap:wrap}.camera-modal{width:min(650px,calc(100vw - 20px));background:#122421;color:#fff}.camera-modal .modal-header{padding:18px;margin:0}.camera-modal .modal-header h2{font-size:15px;color:white}.camera-modal .icon-button{color:white;border-color:#4d645d}.camera-stage{position:relative;background:#07100e;aspect-ratio:3/4;max-height:60dvh;overflow:hidden;display:flex;align-items:center;justify-content:center}.camera-stage video{width:100%;height:100%;object-fit:contain}.camera-guide{position:absolute;inset:14%;border:1px solid #ffffff70;border-radius:15px;pointer-events:none}.camera-hint{position:absolute;top:16px;left:15px;right:15px;text-align:center;color:#fff;font-size:12px;text-shadow:0 1px 5px #000}.camera-controls{display:flex;align-items:center;justify-content:space-between;padding:18px 26px;gap:12px}.shutter{width:69px;height:69px;background:white;border:5px solid #122421;outline:2px solid #d5e3ce;border-radius:50%;padding:0;flex-shrink:0}.shutter:active{transform:scale(.92)}.camera-controls .button{color:#dbe8d7;font-size:12px;background:transparent;border:0;padding:8px;min-width:76px;max-width:100px;line-height:1.4;flex-direction:column}.camera-message{padding:0 22px 15px;text-align:center;font-size:12px;line-height:1.5;color:#b9cdbf;min-height:32px;margin:0}.camera-fallback{padding:32px 25px;text-align:center;line-height:1.7;font-size:13px;color:#ceded4}.toast{position:fixed;bottom:calc(24px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);background:var(--dark);color:#fff;box-shadow:0 8px 28px #123c3c35;border:1px solid #49736b;padding:14px 20px;border-radius:12px;max-width:min(500px,calc(100vw - 32px));width:max-content;font-size:12px;line-height:1.5;z-index:100}.toast.is-error{background:#7e342a;border-color:#bd7e6e}.initial-loading{padding:80px 20px;text-align:center;color:var(--muted);font-size:13px}.spinner{display:inline-block;vertical-align:middle;width:20px;height:20px;border:2px solid #bed0bb;border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}.initial-loading .spinner{margin-bottom:15px;width:28px;height:28px}@keyframes spin{to{transform:rotate(360deg)}}.noscript{max-width:500px;margin:20px auto;padding:30px;border:1px solid var(--line)}.install-banner{margin-top:25px;display:flex;align-items:center;gap:14px;padding:17px 20px;background:#fff;border:1px solid var(--line);border-radius:13px}.install-banner>svg{color:var(--accent)}.install-banner>div{flex:1}.install-banner strong{font-size:12px;display:block}.install-banner p{font-size:12px;color:var(--muted);margin:4px 0 0}.install-banner .button{min-height:44px;padding:8px 12px;font-size:13px}
/* The same visual language is available to the server-rendered shared gallery. */
.shared-gallery{max-width:1200px;margin:auto;padding:35px 24px}.shared-gallery header{margin-bottom:28px}.shared-gallery h1{margin-bottom:14px}.shared-gallery .photo-grid a{color:var(--ink);text-decoration:none}.shared-gallery figure{margin:0}.shared-gallery figcaption{padding:12px;font-size:12px;overflow-wrap:anywhere}.shared-gallery img{width:100%;aspect-ratio:1;object-fit:cover}.shared-gallery nav{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0 25px}
@media(min-width:1450px){main{padding-top:54px}.album-cover{height:192px}}
@media(max-width:900px){.auth-layout{gap:35px}.auth-intro h1{font-size:45px}.auth-card{padding:27px}.album-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.feature-art{display:none}.stats-row{gap:25px}.dashboard-summary{grid-template-columns:1.1fr 1fr;gap:16px}}
@media(max-width:600px){.topbar{height:73px;padding:0 20px}.brand{font-size:25px;gap:9px;min-height:44px}.brand-mark{width:37px;height:37px;border-radius:11px}.brand-mark svg{width:27px;height:27px}.brand small{font-size:7px;letter-spacing:1.7px}.topbar-actions{gap:13px}.connection{font-size:12px;gap:5px}.icon-button svg{width:18px;height:18px}main{padding:28px 20px 65px}h1{font-size:31px;letter-spacing:-1.2px}.page-intro{align-items:flex-start;margin-bottom:24px;gap:12px}.page-intro>.button{padding:10px 12px;min-height:44px;font-size:13px;white-space:nowrap;margin-top:18px}.page-intro>.button svg{width:15px;height:15px}.page-intro p{font-size:12px}.eyebrow{font-size:12px;letter-spacing:1.4px;margin-bottom:10px}.dashboard-summary{grid-template-columns:1fr;gap:13px;margin-bottom:29px}.feature-card{padding:23px;min-height:160px;gap:10px}.feature-card h2{font-size:24px;max-width:225px}.feature-card p{font-size:12px;max-width:240px}.feature-art{display:grid;width:78px;height:87px;border-radius:16px}.feature-art svg{width:47px;height:47px}.stats-card{padding:18px 22px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:14px}.stats-card .eyebrow{margin:0;max-width:100px;line-height:1.7;font-size:12px}.stats-row{gap:25px}.stat strong{font-size:29px}.stat span{font-size:12px}.stats-foot{grid-column:1/-1;margin-top:0;font-size:12px}.section-toolbar{align-items:flex-start;flex-direction:column;gap:14px;margin-bottom:17px}.section-toolbar h2{font-size:19px}.search-box{max-width:none;border-color:#7e8e85}.album-grid{gap:14px}.album-cover{height:133px}.album-details{padding:13px}.album-details h3{font-size:16px;line-height:1.25;margin-bottom:6px}.album-details p{font-size:12px;line-height:1.5;margin-bottom:12px}.album-bottom{font-size:12px;gap:5px}.album-bottom svg{width:14px}.album-cover .album-badge{left:9px;bottom:9px;font-size:12px;padding:4px 6px}.album-card{border-radius:13px;transition:box-shadow .15s}.album-cover>svg{width:37px;height:37px}.empty-state{padding:33px 19px}.empty-state p{font-size:12px}.footnote{font-size:12px;line-height:1.5;margin-top:24px}.auth-layout{display:flex;flex-direction:column;gap:29px;margin:10px auto 0;align-items:stretch}.auth-intro h1{font-size:39px;letter-spacing:-1.6px;max-width:340px;margin-bottom:12px}.auth-intro>p{font-size:12px;margin:14px 0 0;max-width:330px}.auth-intro .eyebrow{margin-bottom:14px}.auth-steps{display:none}.auth-card{padding:25px;border-radius:18px}.auth-card h2{font-size:22px}.auth-icon{display:none}.auth-card>p{margin-bottom:22px}.auth-security{font-size:12px}.back-link{margin-bottom:21px;font-size:12px;min-height:44px}.album-heading .page-intro{display:block}.album-heading .button-row{margin-top:21px}.album-heading .button-row .button{min-height:44px;padding:10px 13px;font-size:13px}.album-heading h1{font-size:31px}.album-meta{font-size:12px;gap:12px}.capture-panel{grid-template-columns:1fr;padding:22px;gap:20px;border-radius:17px;margin-bottom:27px}.capture-panel h2{font-size:20px}.capture-panel p{font-size:12px;margin-bottom:16px}.capture-panel .capture-fields{border-top:1px solid #42645b;padding-top:18px;gap:11px}.capture-actions .button{font-size:12px;padding:13px 12px}.capture-fields input{font-size:16px;min-height:48px}.capture-fields label{font-size:14px}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.photo-card-info{padding:11px}.photo-card h3{font-size:14px}.photo-card p{font-size:12px}.photo-image{aspect-ratio:1;width:100%;flex-shrink:0}.queue-panel{padding:15px}.queue-item{gap:9px}.queue-top h3{font-size:12px}.queue-status{max-width:75px;font-size:12px}.modal{max-height:calc(100dvh - 24px);border-radius:18px}.modal-content{padding:23px}.modal-header h2{font-size:20px}.modal-actions{flex-wrap:wrap}.modal-actions .button{flex:1;font-size:12px;padding:12px}.camera-stage{max-height:57dvh}.camera-controls{padding:18px 20px}.install-banner{padding:14px;gap:10px;flex-wrap:wrap}.install-banner>div{min-width:180px}.install-banner .button{margin-left:31px;min-height:44px;font-size:13px}.viewer-meta{font-size:12px;flex-wrap:wrap}.toast{bottom:calc(17px + env(safe-area-inset-bottom));font-size:12px;padding:12px 16px}}
@media(max-width:360px){main{padding-left:15px;padding-right:15px}.topbar{padding-left:15px;padding-right:15px}.connection{font-size:12px}.feature-art{display:none}.page-intro>.button{font-size:13px;padding:9px;min-height:44px}.album-grid{gap:10px}.album-cover{height:115px}.capture-actions .button{font-size:12px;padding:11px 9px}.stats-row{gap:19px}}
.share-copy{margin-top:10px}.shared-header{padding:23px max(24px,calc((100vw - 1152px)/2));display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid var(--line);font-size:18px}.shared-header strong{letter-spacing:1px;font-size:17px}.shared-header span{font-size:12px;color:var(--muted)}.shared-container{max-width:1200px;margin:auto;padding:40px 24px}.shared-summary{display:flex;gap:30px;flex-wrap:wrap;margin:24px 0}.shared-summary dt,.shared-metadata dt{font-size:12px;color:var(--muted);margin-bottom:5px}.shared-summary dd{font-size:15px;margin:0;font-weight:650}.shared-links{display:flex;gap:11px;flex-wrap:wrap;margin:23px 0 32px}.shared-links a{font-size:13px;padding:10px 14px;border:1px solid var(--line);border-radius:9px;background:white;text-decoration:none;min-height:44px;display:inline-flex;align-items:center;justify-content:center}.shared-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;list-style:none;padding:0;margin:0}.shared-card{border-radius:15px;border:1px solid var(--line);overflow:hidden;background:white;display:flex;flex-direction:column}.shared-photo-link{display:block;background:#e5ebdf}.shared-photo-link img{width:100%;height:auto;aspect-ratio:1.2;object-fit:contain;display:block}.shared-card-body{padding:19px;display:flex;flex-direction:column;flex:1}.shared-card-body>a{display:inline-flex;align-items:center;align-self:flex-start;min-height:44px;margin-top:auto}.shared-card-body h2{font-size:18px;line-height:1.4;overflow-wrap:anywhere;margin-bottom:12px}.shared-card-body>p,.shared-card-body>a{font-size:14px;line-height:1.65}.shared-metadata{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.shared-metadata dd{font-size:13px;margin:0;overflow-wrap:anywhere}.shared-description,.shared-note{white-space:pre-wrap;overflow-wrap:anywhere}.shared-description{font-size:14px;color:var(--muted);max-width:850px}.shared-note{background:#f2f5ec;border-radius:8px;padding:10px 12px}.shared-empty{border:1px dashed #cbd5c7;background:#edf2e7;border-radius:15px;padding:45px;text-align:center;font-size:14px}.shared-footer{border-top:1px solid var(--line);margin-top:35px;padding-top:23px;color:var(--muted);font-size:12px;line-height:1.7}.shared-footer a{color:var(--accent)}
@media(max-width:900px){.shared-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.shared-header{padding:20px;align-items:flex-start}.shared-header span{font-size:12px;max-width:160px;text-align:right;line-height:1.6}.shared-container{padding:29px 20px}.shared-grid{grid-template-columns:1fr}.shared-card-body{padding:19px;display:flex;flex-direction:column;flex:1}.shared-links{gap:8px}.shared-links a{padding:9px 12px;font-size:13px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}.shared-summary{gap:22px}.shared-summary dd{font-size:13px}.shared-empty{padding:30px 20px}}
/* Compact overview and clear focus on dark capture surfaces. */
.collection-intro{align-items:center;flex-wrap:wrap}.collection-intro h1{margin-bottom:0}.collection-intro>.button{margin-top:0}
.collection-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;margin-bottom:28px;border:1px solid var(--line);border-radius:var(--radius);background:#e9eddf}.collection-summary .stats-row{gap:28px}.collection-summary .stat strong{font-size:26px;letter-spacing:-.7px}.collection-summary p{font-size:13px;color:var(--muted);max-width:260px;margin:0}.capture-panel :is(button,a,input,textarea):focus-visible,.camera-modal :is(button,a):focus-visible,.feature-card :is(button,a):focus-visible{outline-color:var(--lime)}
@media(max-width:600px){.collection-summary{padding:16px;gap:14px;flex-wrap:wrap;margin-bottom:24px}.collection-summary .stats-row{gap:30px}.collection-summary p{font-size:12px;flex-basis:100%;max-width:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
/* Photo management keeps selection separate from the image viewer. */
.photo-selection-start{display:flex;justify-content:flex-end;margin:-3px 0 16px}.photo-selection-start:has([hidden]){display:none}.photo-selection-start .button{font-size:13px;min-height:44px;padding:9px 13px}
.selection-toolbar{border:1px solid #a8b9a8;background:#edf2e7;border-radius:12px;padding:12px 14px;margin-bottom:17px}.selection-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.selection-top strong{font-size:14px}.selection-actions{display:flex;gap:8px;flex-wrap:wrap}.selection-toolbar .button{min-height:44px;padding:9px 12px;font-size:13px}.selection-toolbar p{font-size:12px;color:var(--muted);margin:8px 0 0}.photo-select-card{cursor:default}.photo-select-card.is-selected{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.photo-select{display:flex;align-items:center;gap:9px;width:100%;min-height:48px;padding:10px 12px;border-top:1px solid var(--line);margin:0;font-size:13px;cursor:pointer;background:#f8faf4}.photo-select:focus-within{outline:2px solid var(--accent);outline-offset:-3px}.photo-select-card.is-selected .photo-select{background:#e5eddf}.photo-select input[type=checkbox]{width:20px;height:20px;min-height:20px;min-width:20px}
.viewer-management{display:flex;gap:9px;flex-wrap:wrap;margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}.viewer-management .button{min-height:44px;flex:1;font-size:13px}.management-summary{font-weight:650;font-size:16px;overflow-wrap:anywhere;margin:0 0 16px}.management-summary span{display:block;font-weight:400;font-size:13px;color:var(--muted);margin-top:6px}.move-album-select{width:100%;border:1px solid #7e8e85;border-radius:9px;min-height:48px;padding:11px 12px;background:#fbfcf9;color:var(--ink);font-size:16px}.move-album-select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}#move-form-region>p,#trash-album-form>p:not(.management-summary),#trash-photos-form>p:not(.management-summary){font-size:13px;line-height:1.6;color:var(--muted)}
.trash-section{margin:28px 0}.trash-section>h2{font-size:20px;margin:0 0 16px;display:flex;align-items:center;gap:9px}.trash-list{display:grid;gap:12px;list-style:none;margin:0;padding:0}.trash-item{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:15px;align-items:center;padding:16px;background:white;border:1px solid var(--line);border-radius:13px}.trash-thumbnail,.trash-album-icon{height:64px;width:64px;border-radius:9px;object-fit:cover;background:#edf2e7}.trash-album-icon{display:grid;place-items:center;color:var(--accent)}.trash-album-icon svg{width:27px;height:27px}.trash-item-content{min-width:0}.trash-item-content h3{font-size:15px;line-height:1.4;margin:0 0 5px;overflow-wrap:anywhere}.trash-item-content p{font-size:13px;color:var(--muted);margin:0;overflow-wrap:anywhere}.trash-item-content .field-hint{font-size:12px;margin-top:5px}.trash-item>.button{min-height:44px;font-size:13px;padding:9px 12px}.trash-item>.form-error{grid-column:1/-1;margin:0}.collection-intro>.button-row{flex-wrap:wrap}
@media(max-width:600px){.collection-intro>.button-row{width:100%}.collection-intro>.button-row .button{min-height:44px;font-size:13px;padding:10px 12px}.collection-intro>.button-row #new-album{flex:1}.album-heading .button-row{gap:8px;flex-wrap:wrap}.album-heading .button-row .button{padding:10px 11px}.photo-selection-start{justify-content:flex-start}.selection-toolbar{padding:10px 12px}.selection-actions .button{flex:1;white-space:nowrap}.trash-item{grid-template-columns:56px minmax(0,1fr);gap:11px;padding:14px}.trash-thumbnail,.trash-album-icon{height:56px;width:56px}.trash-item>.button{grid-column:2;justify-self:start}.trash-item-content p{font-size:12px}.viewer-management .button{padding:10px 13px}}
