:root{--ink:#252538;--muted:#9696a6;--purple:#6259df;--purple-light:#f0efff;--line:#ededf3;--bg:#f7f8fc;--radius:15px;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);font-size:14px}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}button,a,label.dropzone{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid #bdb7ff;outline-offset:3px}button{transition:background .16s,transform .16s}button:hover:not(:disabled){filter:brightness(.97)}a{color:inherit;text-decoration:none}.sidebar{position:fixed;inset:0 auto 0 0;width:218px;background:#fff;border-right:1px solid var(--line);padding:32px 20px;display:flex;flex-direction:column;z-index:2}.brand{display:flex;gap:10px;align-items:center;font-size:21px;font-weight:750;letter-spacing:1px;padding:0 4px}.brand-mark{display:grid;place-items:center;width:38px;height:42px;border-radius:12px;color:white;font-size:31px;background:var(--purple);box-shadow:0 4px 12px #6259df20}.brand small{display:block;font-size:8px;font-weight:600;letter-spacing:1.5px;color:#aaa8be;margin-top:6px}.space-label{font-size:11px;color:#b2b1c0;letter-spacing:2px;margin:49px 12px 18px}.nav-active,.nav-item{height:46px;width:100%;display:flex;align-items:center;gap:12px;padding:0 14px;border-radius:9px;font-size:13px}.nav-active{background:var(--purple-light);color:var(--purple);font-weight:600}.nav-active>span:first-child,.nav-item>span{font-size:20px}.nav-dot{width:6px;height:6px;background:var(--purple);border-radius:50%;margin-left:auto}.nav-item{border:0;background:transparent;color:#858599;margin-top:9px;text-align:left}.nav-item b{margin-left:auto;font-size:11px;background:#f1f2f7;border-radius:5px;padding:2px 6px}.sidebar-guide{margin:40px 12px;color:#9696a6;font-size:12px}.tiny-label{font-size:10px;letter-spacing:1px;color:#b3b2c1}.sidebar-guide div{margin-top:21px;display:flex;gap:10px;align-items:center}.sidebar-guide i{width:19px;height:19px;border:1px solid #e5e5ee;display:grid;place-items:center;border-radius:50%;font-size:10px;font-style:normal}.local-note{margin-top:auto;border:1px solid var(--line);border-radius:12px;background:linear-gradient(140deg,#fafaff,#fff);padding:17px 13px}.shield{display:block;font-size:22px;color:#9590d9;margin-bottom:9px}.local-note strong{font-size:12px;font-weight:600}.local-note p{font-size:11px;color:#9a98aa;line-height:1.9;margin:8px 0 13px}.local-note button{border:0;background:none;padding:0;color:var(--purple);font-size:11px}.local-note button span{margin-left:13px}.sidebar-footer{font-size:9px;color:#b4b4c0;margin:24px 6px 0;display:flex;justify-content:space-between}main{margin-left:218px}.topbar{height:71px;border-bottom:1px solid var(--line);background:#ffffffb0;padding:0 38px;display:flex;align-items:center;justify-content:space-between;font-size:11px}.breadcrumb{color:#aaa9b9}.slash{color:#c6c5cf;margin:0 13px}.local-badge{font-size:10px;color:#92929f;display:flex;align-items:center;gap:6px}.local-badge i{background:#6abf9c;height:5px;width:5px;border-radius:50%}.page-heading{padding:34px 38px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px}.eyebrow{font-size:9px;letter-spacing:2px;color:#9d9aae;font-weight:550}h1{font-size:27px;letter-spacing:1px;margin:11px 0 11px;font-weight:700}h1 span{color:var(--purple)}.page-heading p{font-size:11px;color:#9694a7;margin:0;line-height:1.7}.button{border:1px solid #e4e4ee;background:white;border-radius:8px;padding:11px 15px;font-size:12px;font-weight:550;color:#626174;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:9px}.button.primary{background:var(--purple);border-color:var(--purple);color:white;box-shadow:0 4px 10px #6259df16}.button.primary>span:first-child{font-size:18px;font-weight:400}.button-count{margin-left:5px;background:#ffffff28;border-radius:4px;font-size:10px;padding:2px 6px}.button.secondary{background:#f2f0ff;border-color:#f2f0ff;color:var(--purple);flex:1}.button.small{padding:8px 12px;font-size:10px}.workspace{display:grid;grid-template-columns:minmax(300px,360px) minmax(0,1fr);gap:22px;margin:0 38px;align-items:start}.input-column{display:flex;flex-direction:column;gap:20px}.panel{background:#fff;border:1px solid #e8e8f0;border-radius:var(--radius);box-shadow:0 3px 12px #24244302}.person-panel,.upload-panel{padding:21px}.panel-heading,.preview-heading,.queue-heading,.people-title,.settings-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}h2{display:flex;align-items:center;gap:9px;font-size:13px;margin:0;font-weight:650}.step{font-size:10px;font-weight:600;letter-spacing:0;color:#a3a0c1;font-variant-numeric:tabular-nums}.text-button{border:0;background:transparent;padding:2px 0;font-size:10px;color:#8e88c8;white-space:nowrap}.panel-subtitle{font-size:10px;color:#aaa7b9;margin:10px 0 19px}label:not(.dropzone){display:block;font-size:11px;color:#7d7a8f}input:not([type=range]):not([type=color]):not([type=checkbox]),textarea{display:block;border:1px solid #e6e5ef;border-radius:7px;padding:10px 11px;background:#fdfdff;color:#434153;outline:none;width:100%;margin-top:7px;font-size:11px}input::placeholder,textarea::placeholder{color:#c0becc}input:not([type=range]):focus,textarea:focus{border-color:#9b92ee;box-shadow:0 0 0 3px #6259df09}form>label{margin-top:13px}.form-row{display:grid;grid-template-columns:1fr 1.2fr;gap:12px;margin-top:13px}.form-actions{display:flex;align-items:center;gap:12px;margin-top:17px}.people-title{border-top:1px solid var(--line);padding-top:16px;margin-top:20px;font-size:10px;color:#9290a3}.people-title b,.queue-heading b{font-size:10px;font-weight:500;background:#f1f0f7;padding:2px 6px;border-radius:4px;margin-left:5px;color:#817d9a}.muted{color:#aaa7b9;font-size:10px}.people-list{margin-top:11px;max-height:142px;overflow:auto}.people-empty{font-size:10px;color:#b6b3c2;text-align:center;padding:10px 0 4px}.person-item{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid #f4f3f8}.person-avatar{height:29px;width:29px;border-radius:9px;background:#f2f0ff;color:#8980c9;display:grid;place-items:center;font-size:11px}.person-select{background:none;border:0;flex:1;text-align:left;padding:0;min-width:0;color:#666174;font-size:11px}.person-select small{display:block;color:#b1adbc;font-size:9px;margin-top:4px}.delete-button{border:0;background:none;color:#c1bdce;font-size:17px;padding:3px 5px}.dropzone{border:1.5px dashed #dbd8ef;border-radius:10px;background:#fbfaff;display:flex;flex-direction:column;align-items:center;padding:20px 8px;cursor:pointer;margin:19px 0 20px}.dropzone.dragover{border-color:var(--purple);background:#f0edff}.upload-icon{display:grid;place-items:center;background:white;border:1px solid #eeecfa;border-radius:11px;width:37px;height:37px;color:#9c92db;font-size:28px;margin-bottom:11px}.dropzone strong{font-size:11px;font-weight:500;color:#89839f}.dropzone>span:last-child{font-size:9px;color:#b3afc3;margin-top:8px}.small-tag{color:#a09bb8;border:1px solid #ebe9f3;background:#fcfbff;border-radius:4px;padding:3px 6px;font-size:9px;font-weight:400}.queue-heading{font-size:10px;color:#9290a3}.match-note{font-size:9px;color:#afacbe;line-height:1.75;margin:10px 0}.image-list{display:flex;flex-direction:column;gap:8px;max-height:260px;overflow:auto}.image-empty{border:1px dashed #efedf5;border-radius:7px;padding:15px;text-align:center;font-size:10px;color:#bcb8ca}.image-item{display:flex;align-items:center;gap:9px;padding:8px;border:1px solid #eeecf4;border-radius:8px;background:#fff}.image-item.selected{background:#faf9ff;border-color:#c7c0f2}.image-thumb-button{border:0;background:none;padding:0;flex:none;height:44px;width:30px}.image-thumb{width:30px;height:44px;object-fit:cover;object-position:top;border-radius:3px;border:1px solid #eee}.image-detail{min-width:0;flex:1}.image-name{display:block;font-size:10px;color:#777084;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:0;background:none;text-align:left;padding:0;width:100%}.image-detail select{margin-top:5px;border:0;background:#f2f0f8;color:#8a82a2;border-radius:4px;padding:3px;font-size:9px;width:100%;outline:none}.preview-panel{overflow:hidden}.preview-heading{padding:21px 23px}.preview-heading p{font-size:9px;color:#aaa7b9;margin:9px 0 0 25px}.preview-tools{display:flex;align-items:center;gap:8px}.icon-button{background:#fff;border:1px solid #e8e7f0;border-radius:7px;color:#9b95b0;width:31px;height:31px;font-size:18px}.icon-button.active{color:var(--purple);background:#f3f1ff;border-color:#c7c0f3}.preview-stage{height:493px;background-color:#f4f4f9;background-image:radial-gradient(#dedde8 .7px,transparent .7px);background-size:13px 13px;position:relative;display:flex;align-items:center;justify-content:center;border-top:1px solid #eeedf4;border-bottom:1px solid #eeedf4;padding:25px 20px 32px;overflow:hidden}.canvas-wrap{height:100%;max-width:100%;filter:drop-shadow(0 6px 12px #29294416);display:flex;justify-content:center;align-items:center}canvas{display:block;max-width:100%;max-height:100%;object-fit:contain;background:white;border-radius:2px;cursor:move;touch-action:none}.stage-label{position:absolute;top:15px;left:18px;font-size:9px;color:#b2aec3}.stage-hint{position:absolute;bottom:11px;font-size:9px;color:#aaa5bd;background:#f4f4f9bf;padding:3px 10px;border-radius:20px}.settings-heading{padding:19px 23px 0}h3{font-size:11px;font-weight:600;margin:0}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 25px;padding:20px 23px}.range-label>span{display:flex;justify-content:space-between;font-size:10px;color:#9b95aa}.range-label output{font-variant-numeric:tabular-nums;font-size:9px;color:#8f86bb}input[type=range]{display:block;width:100%;margin:10px 0 0;accent-color:var(--purple);height:3px;cursor:pointer}.style-bottom{display:flex;align-items:center;gap:18px;margin:2px 23px 18px}.style-bottom label{font-size:9px;display:flex;align-items:center;gap:6px;color:#9b95aa}.style-bottom input[type=color]{width:20px;height:20px;border:1px solid #e7e4ee;padding:2px;border-radius:5px;background:#fff;cursor:pointer}.style-bottom input[type=checkbox]{accent-color:var(--purple);width:12px;height:12px}.format-control{margin-left:auto}.format-control select{border:1px solid #ece9f2;background:white;font-size:9px;color:#8d859f;border-radius:5px;padding:5px 4px}.settings-footnote{border-top:1px solid var(--line);background:#fdfdff;padding:12px 23px;display:flex;justify-content:space-between;font-size:9px;color:#b4afc3}.page-footer{display:flex;justify-content:space-between;margin:23px 38px;padding-bottom:17px;color:#b1adbf;font-size:9px}.page-footer b{font-size:8px;font-weight:400;margin-left:5px}.warning{margin:10px 23px 0;background:#fff6e8;color:#ba8030;padding:10px;font-size:11px;border-radius:7px}dialog{border:1px solid #e9e6f1;border-radius:17px;max-width:530px;width:calc(100% - 32px);padding:25px;box-shadow:0 24px 80px #29214622;color:var(--ink)}dialog::backdrop{background:#22203845;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.dialog-heading h2{font-size:18px}dialog>p{font-size:12px;color:#9a94aa;line-height:1.8}textarea{resize:vertical;line-height:1.8}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:23px}.help-list{padding-left:20px;color:#716b84;font-size:13px}.help-list li{padding:8px 0}.help-list p{font-size:12px;color:#9a94aa;line-height:1.8;margin-bottom:4px}.info-box{font-size:11px;line-height:1.9;background:#f5f3fe;color:#958daf;padding:14px;border-radius:9px}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,15px);background:#353044;color:white;padding:12px 23px;border-radius:10px;box-shadow:0 6px 25px #0002;font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:10;max-width:90%;line-height:1.7}#toast.visible{opacity:1;transform:translate(-50%,0)}[hidden]{display:none!important}
@media(min-width:1600px){.workspace,.page-heading,.topbar,.page-footer{padding-left:0;padding-right:0;margin-left:auto;margin-right:auto;max-width:1250px}.topbar{max-width:none;padding:0 48px}.page-heading{padding-top:38px}.workspace{grid-template-columns:380px 1fr}.preview-stage{height:550px}.page-footer{margin-top:25px}.sidebar{width:230px}main{margin-left:230px}}
@media(max-width:1180px){.sidebar{width:182px;padding:27px 15px}.brand{font-size:18px;gap:8px}.brand small{font-size:6px}.brand-mark{width:32px;height:36px}.space-label{margin-top:36px}main{margin-left:182px}.topbar{padding:0 24px}.page-heading{padding:28px 24px}.workspace{margin:0 24px;grid-template-columns:300px minmax(0,1fr);gap:16px}.page-heading h1{font-size:23px}.page-heading p{font-size:10px}.page-heading .button{font-size:11px;padding:10px}.person-panel,.upload-panel{padding:18px}.preview-heading{padding:19px 15px}.preview-tools{gap:5px}.preview-tools .button{padding:8px;font-size:9px}.preview-stage{height:480px}.style-bottom{gap:9px;margin-left:18px;margin-right:18px}.settings-grid{padding:20px 18px;gap:16px 20px}.page-footer{margin-left:24px;margin-right:24px}.sidebar-guide{margin:35px 9px}.local-note{padding:14px 10px}.sidebar-footer{font-size:8px}}
@media(max-width:930px){.sidebar{width:72px;padding:25px 13px}.brand{padding:0;justify-content:center}.brand>span:last-child,.space-label,.nav-active,.nav-item,.sidebar-guide,.local-note,.sidebar-footer{display:none}main{margin-left:72px}.topbar{height:57px}.local-badge{font-size:8px}.page-heading{align-items:flex-start}.page-heading h1{font-size:21px}.workspace{grid-template-columns:280px minmax(0,1fr);gap:14px;margin:0 20px}.page-heading{padding:25px 20px}.preview-heading{align-items:flex-start;gap:5px;flex-direction:column}.preview-tools{margin-left:24px;margin-top:8px}.preview-stage{height:445px}.settings-grid{gap:16px 16px}.style-bottom{flex-wrap:wrap}.format-control{margin-left:0}.settings-footnote span:last-child{display:none}}
@media(max-width:700px){.sidebar{display:none}main{margin-left:0}.topbar{padding:0 18px}.local-badge{font-size:8px}.page-heading{padding:24px 18px;flex-direction:column;gap:19px}.page-heading h1{font-size:23px}.page-heading p{font-size:10px}.page-heading .button{width:100%;padding:12px}.workspace{grid-template-columns:1fr;margin:0 16px;gap:18px}.input-column{gap:18px}.person-panel,.upload-panel{padding:21px}.preview-heading{flex-direction:row;align-items:center;padding:21px}.preview-tools{margin:0}.preview-stage{height:510px}.settings-grid{padding:22px;gap:20px 25px}.style-bottom{margin:0 22px 20px}.format-control{margin-left:auto}.settings-footnote span:last-child{display:block}.page-footer{margin:22px 18px;font-size:8px}.sidebar-footer{display:none}}
/* Dedicated people and batch pages. */
.nav-item.nav-active{background:var(--purple-light);color:var(--purple)}
.mobile-nav{display:none}.people-page{display:grid;grid-template-columns:minmax(300px,360px) minmax(0,1fr);gap:22px;margin:0 38px;align-items:start;min-height:540px}.directory-panel{padding:24px}.directory-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.directory-panel .people-title{margin-top:0;border:0;padding-top:0}.directory-panel .people-list{max-height:540px}.directory-panel .person-item{padding:17px 2px}.directory-panel .person-avatar{width:39px;height:39px;font-size:13px}.directory-panel .person-select{font-size:13px}.directory-panel .person-select small{font-size:10px;line-height:1.8}.directory-panel .people-empty{padding:85px 0}.roster-summary{padding:19px 21px;display:flex;align-items:center;justify-content:space-between}.roster-summary strong{display:block;font-size:12px;font-weight:600}.roster-summary span{display:block;font-size:10px;color:#a39bae;margin-top:7px}.roster-summary b{color:var(--purple);font-weight:500}.roster-summary a{font-size:11px;color:var(--purple)}#peopleMissing a{display:block;color:var(--purple);margin-top:6px}.rotation-row{display:flex;align-items:center;gap:10px;padding:0 23px 17px}.rotation-row .range-label{flex:1;margin-right:12px}.rotation-row .button{font-size:12px}.gesture-guide{font-size:10px;color:#a29ab3;line-height:1.9;background:#faf9fe;border:1px solid #f1edf8;border-radius:7px;padding:9px 12px;margin:0 23px 19px}.canvas-wrap{touch-action:none}.preview-stage{overscroll-behavior:contain}.preview-stage canvas{user-select:none;-webkit-user-select:none}.person-panel .panel-subtitle{line-height:1.8}
@media(min-width:1600px){.people-page{max-width:1250px;margin-left:auto;margin-right:auto;grid-template-columns:380px 1fr}}
@media(max-width:1180px){.people-page{grid-template-columns:300px minmax(0,1fr);margin:0 24px;gap:16px}}
@media(max-width:930px){.mobile-nav{display:flex;gap:5px;margin:16px 20px 0}.mobile-nav a{font-size:12px;color:#9a90ac;padding:9px 16px;border-radius:7px}.mobile-nav a.active{background:var(--purple-light);color:var(--purple)}.people-page{grid-template-columns:280px minmax(0,1fr);gap:14px;margin:0 20px}.rotation-row{padding-left:18px;padding-right:18px}.gesture-guide{margin-left:18px;margin-right:18px}}
@media(max-width:700px){.people-page{grid-template-columns:1fr;margin:0 16px;gap:18px;min-height:0}.directory-panel .people-list{max-height:420px}.directory-panel .person-select small{font-size:9px}.directory-panel{padding:21px}.mobile-nav{margin:14px 16px 0}.rotation-row{padding:0 22px 20px}.gesture-guide{margin:0 22px 20px}.preview-stage{height:540px}.page-heading a.button{width:100%}}
/* Pick a person directly beside the current screenshot. */
.batch-people-panel{padding:21px}.batch-people-panel .panel-subtitle{margin-bottom:14px}.batch-people-list{margin-top:13px;display:flex;flex-direction:column;gap:8px;max-height:415px;overflow:auto}.batch-person{width:100%;border:1px solid #eeecf4;border-radius:9px;background:#fff;display:flex;align-items:center;gap:10px;text-align:left;padding:12px 10px;color:#81788f}.batch-person.selected{border-color:#b8aff0;background:#f7f5ff;box-shadow:0 0 0 1px #6259df0a}.batch-person.selected .person-avatar{background:#e9e4ff;color:var(--purple)}.batch-person-info{display:block;flex:1;min-width:0}.batch-person-info strong{font-size:12px;font-weight:600;color:#625b73}.batch-person-info small{display:block;font-size:9px;color:#aaa1b6;margin-top:5px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.person-check{font-size:16px;color:#c6bfd4;flex:none}.batch-person.selected .person-check{color:var(--purple)}.selection-note{margin-top:14px;padding-top:12px;border-top:1px solid var(--line);font-size:10px;color:#9c90bc;line-height:1.8}.batch-people-panel input[type=search]{background:#fbfaff}.batch-people-panel .people-empty{padding:22px 0}
@media(max-width:1180px){.batch-people-panel{padding:18px}}
@media(max-width:700px){.batch-people-panel{padding:21px}.batch-people-list{max-height:290px}}
/* Save individual image files on desktop, iOS and Android. */
.save-dialog{max-width:830px;max-height:90dvh;overflow:auto;overscroll-behavior:contain}.save-dialog>.dialog-heading{position:sticky;top:-25px;padding:12px 0;background:white;z-index:1;margin-bottom:8px}.save-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0 10px}.save-status{font-size:11px;color:#9387ba;line-height:1.8;min-height:20px}.save-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.save-gallery.single-image{grid-template-columns:minmax(0,1fr);max-width:460px;margin:auto}.save-image-card{min-width:0;border:1px solid #eae6f2;background:#faf9fd;border-radius:10px;overflow:hidden;padding:12px}.saved-image{display:block;width:100%;height:340px;object-fit:contain;user-select:auto;-webkit-user-select:auto;-webkit-touch-callout:default;touch-action:pan-x pan-y pinch-zoom;background:#eeecf5;border-radius:5px}.single-image .saved-image{height:auto;max-height:57dvh}.save-image-name{font-size:10px;color:#9b91ac;line-height:1.7;overflow-wrap:anywhere;margin:10px 0}.save-image-actions{display:flex;gap:8px;flex-wrap:wrap}.save-footnote{font-size:10px;color:#aaa0b7;line-height:1.9;padding-top:16px}.save-image-actions .button{min-height:36px}.save-actions .button{min-height:44px}
@media(max-width:700px){.save-dialog{padding:18px;max-height:94dvh}.save-dialog>.dialog-heading{top:-18px}.save-gallery{grid-template-columns:minmax(0,1fr)}.saved-image{height:auto;max-height:58dvh}.save-actions .button{flex:1}.save-image-actions .button{min-height:44px;flex:1}.save-footnote{padding-bottom:env(safe-area-inset-bottom,0px)}}
.preview-empty{text-align:center;align-self:center;color:#aaa3bc;padding:30px 15px}.preview-empty>span{display:grid;place-items:center;font-size:38px;width:76px;height:88px;border:1px solid #e0dbea;background:#faf9fc;border-radius:13px;color:#c1b7d4;margin:0 auto 22px;box-shadow:0 8px 25px #67527d05}.preview-empty strong{font-size:14px;font-weight:500;color:#aaa0bb}.preview-empty p{font-size:11px;color:#bcb3ca;line-height:1.8;margin-top:12px}
