:root{color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,'Microsoft YaHei',sans-serif;color:#342922;background:#faf7f1}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}header{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 6%;border-bottom:1px solid #eadfd3}header>a:last-child{color:#8b604b;font-size:14px}.brand{display:flex;align-items:center;gap:12px;color:#975b42;font-size:24px;font-weight:700}.brand span{color:#342922;font-size:18px}.brand small{display:block;font-size:8px;letter-spacing:.15em;color:#a28d7c}main{max-width:1080px;margin:80px auto;padding:0 24px;display:grid;grid-template-columns:1fr 440px;gap:70px;align-items:center}.intro>p:first-child,.eyebrow{font-size:11px;letter-spacing:.15em;color:#a66b4c;font-weight:700}.intro h1{font-size:clamp(32px,4vw,48px);line-height:1.4}.intro>p:last-child,.hint{color:#88786b;line-height:1.7}.card{background:#fffcf8;border:1px solid #ede3d8;border-radius:26px;padding:36px;box-shadow:0 18px 50px #75523812}.card h2{font-size:25px;margin:8px 0 22px}.tabs{display:flex;gap:8px;margin-bottom:22px}.tabs button{border:0;border-radius:30px;background:#f6ede3;color:#785647;padding:9px 17px;cursor:pointer}.tabs button[aria-pressed=true]{background:#975b42;color:#fff}form>div{margin-bottom:17px}label{display:block;font-weight:650;font-size:14px;margin-bottom:8px}input{width:100%;border:1px solid #e3d4c5;border-radius:11px;padding:13px;font:inherit;background:#fff}input:focus-visible,button:focus-visible{outline:3px solid #d3a486;outline-offset:2px}.hint{font-size:12px;margin:6px 0}.button,.secondary,.quiet{font:inherit;cursor:pointer}.button{display:block;width:100%;border:0;border-radius:12px;background:#975b42;color:#fff;text-align:center;font-weight:700;padding:14px}.button:disabled,.secondary:disabled{opacity:.55}.code-row{display:flex;gap:8px}.secondary{border:1px solid #d9c2b0;background:#fbf3ea;border-radius:11px;color:#86583e;white-space:nowrap;padding:0 14px}.quiet{margin-top:20px;background:none;border:0;color:#975b42}.card strong{font-size:30px;color:#975b42}#message{color:#a55340;line-height:1.6;font-size:14px}[hidden]{display:none!important}@media(max-width:700px){main{margin:36px auto;display:block}.intro h1{font-size:31px}.intro{margin-bottom:28px}.card{padding:25px}}
.library{margin-top:28px;padding-top:18px;border-top:1px solid #eadfd3}.library h3{margin:0 0 10px}.library input[type=file]{font-size:12px;margin-top:8px}.library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}.library-item{min-width:0}.library-item img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:10px}.library-item button{border:0;background:none;color:#975b42;padding:8px 0;cursor:pointer}#library-message{font-size:13px;color:#a55340;line-height:1.6}
select{width:100%;border:1px solid #e3d4c5;border-radius:11px;padding:13px;font:inherit;background:#fff;color:inherit}input[type=checkbox]{width:auto;accent-color:#975b42}#credits input{margin-bottom:12px}
.task-row{padding:12px 0;border-bottom:1px solid #eadfd3;font-size:13px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.task-row .quiet{margin:0}.task-row a{color:#975b42;text-decoration:underline}#refresh-tasks{padding:8px 12px}

#prompt-content{width:100%;font:inherit;border:1px solid #e3d4c5;border-radius:11px;padding:12px;resize:vertical}#refresh-prompts{padding:8px 12px}

/* The signed-in account uses a workspace layout; auth keeps its compact form. */
.account-dashboard main{display:block;max-width:1240px;margin:40px auto 64px;padding:0 28px}.account-dashboard main>.intro{display:none}.account-dashboard main>.card{background:none;border:0;box-shadow:none;padding:0;border-radius:0}.account-dashboard #signed-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}.account-overview,.account-dashboard .library{min-width:0;background:#fffcf8;border:1px solid #e8ded2;border-radius:20px;padding:28px;box-shadow:0 5px 24px #75523806}.account-overview{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:32px;align-items:center;background:linear-gradient(115deg,#f4e6d7,#fffcf8 75%)}.account-overview>.eyebrow{margin:0 0 10px}.account-overview h2{font-size:30px;margin:0 0 12px}.account-overview>.hint{grid-column:1;overflow-wrap:anywhere}.account-overview #account-id{font-family:ui-monospace,monospace;font-size:12px}.account-stats{display:flex;gap:60px;grid-column:1;margin-top:22px}.account-stats>div{display:grid;gap:8px}.account-stats span{font-size:13px;color:#88786b}.account-stats strong{font-size:36px;line-height:1.2;font-variant-numeric:tabular-nums}.account-stats #reserved{font-size:28px;color:#6e6358}.account-create{grid-column:2;grid-row:1/5;align-self:center;width:auto;padding:15px 26px;white-space:nowrap}.account-dashboard .library{margin:0}.account-dashboard .library h3{font-size:21px;letter-spacing:-.03em;margin:0 0 10px}.account-dashboard .hint{line-height:1.8}.account-dashboard .secondary{padding:9px 14px;font-size:13px;margin:8px 0 10px}.account-dashboard #credit-list,.account-dashboard #task-list{max-height:420px;overflow:auto}.account-dashboard .task-row{padding:16px 0;line-height:1.8;overflow-wrap:anywhere}.account-dashboard #account-photos{grid-column:1/-1}.account-dashboard .library-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:18px;margin:20px 0 0}.account-dashboard #library-upload{max-width:520px;border-style:dashed;background:#faf5ee;padding:18px;color:#88786b}.account-dashboard #library-upload::file-selector-button{font:inherit;border:1px solid #dcc6b2;background:#fffaf4;color:#86583e;border-radius:8px;padding:9px 14px;margin-right:12px;cursor:pointer}.account-dashboard #library-upload:disabled{opacity:.55;cursor:not-allowed}.account-dashboard #library-upload:disabled::file-selector-button{cursor:not-allowed}.account-dashboard #library-message,.account-dashboard #task-message,.account-dashboard #credit-message{font-size:13px;line-height:1.8;color:#88786b;margin-bottom:0}.account-footer{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;font-size:13px;color:#88786b;padding:0 4px}.account-footer .quiet{margin:0;padding:10px}.account-dashboard #message:empty{display:none}.account-dashboard a:focus-visible{outline:3px solid #d3a486;outline-offset:3px}@media(max-width:800px){.account-dashboard main{padding:0 20px;margin-top:28px}.account-dashboard #signed-in{grid-template-columns:1fr;gap:18px}.account-overview{grid-template-columns:1fr;gap:0}.account-create{grid-column:1;grid-row:auto;margin-top:24px;text-align:center}.account-overview,.account-dashboard .library{padding:24px}.account-dashboard #account-photos{grid-column:auto}.account-stats{gap:50px}.account-footer{grid-column:auto}}@media(max-width:420px){.account-dashboard main{padding:0 16px}.account-overview,.account-dashboard .library{padding:20px;border-radius:16px}.account-overview h2{font-size:27px}.account-stats{gap:40px}.account-stats strong{font-size:32px}.account-dashboard .library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.photo-upload-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;max-width:520px;margin:20px 0 12px}.photo-upload-fields label{font-size:13px;color:#785647}.photo-upload-fields input{margin-top:8px}.library-item label{font-size:12px;color:#88786b;margin:12px 0 0}.library-item input{margin-top:6px;font-size:14px;padding:10px}.photo-actions{display:flex;justify-content:space-between;gap:12px;margin-top:10px}.photo-actions button:first-child{border:1px solid #dcc6b2;border-radius:8px;padding:8px 12px;background:#fbf3ea}.photo-actions button:disabled{opacity:.5;cursor:wait}.library-item .hint{min-height:20px}@media(max-width:420px){.photo-upload-fields{grid-template-columns:1fr;gap:4px}}

.brand-symbol{display:block;flex:none;vertical-align:middle}

.field-error{font-size:12px;color:#a55340;line-height:1.7;margin:6px 0}.field-error:empty{display:none}input[aria-invalid=true]{border-color:#b65b45}

/* Match the public site's warm surfaces and readable form scale. */
:root { background:#f8f5ef; color:#302720; }
body { font-size:15px; line-height:1.6; }
header { height:68px; border-color:#e7dbcd; }
.brand { line-height:1.2; }
.brand small { color:#6f6256; margin-top:4px; }
.card, .account-overview, .account-dashboard .library { background:#fffdf9; border-color:#e7dbcd; border-radius:16px; }
.card { box-shadow:0 12px 36px #52361e08; }
.account-overview { background:linear-gradient(120deg,#f3e7d8,#fffdf9 75%); }
.intro h1 { font-size:clamp(30px,4vw,44px); line-height:1.3; letter-spacing:-.035em; }
.card h2, .account-overview h2 { font-size:clamp(24px,3vw,32px); line-height:1.3; margin:6px 0 16px; }
.hint, .intro>p:last-child, .account-stats span { color:#6f6256; }
.hint { font-size:13px; line-height:1.65; }
.eyebrow, .intro>p:first-child { color:#8c4c35; font-size:12px; }
.button, .secondary, .tabs button { min-height:44px; border-radius:9px; }
.button, .tabs button[aria-pressed=true] { background:#8c4c35; }
input, select { font-size:16px; border-color:#e7dbcd; }
.account-dashboard .library h3 { font-size:20px; letter-spacing:0; line-height:1.35; }
.account-dashboard #library-message, .account-dashboard #task-message, .account-dashboard #credit-message { color:#6f6256; }
.account-dashboard .task-row { padding-block:12px; font-size:14px; }
@media(max-width:700px) {
  header { height:64px; }
  .account-dashboard .library, .account-overview, .card { padding:20px; }
}
