/* A shelf of starting points, and a studio where every trait is independent. */
select{font:inherit;color:inherit}select:focus-visible,[role=tabpanel]:focus-visible{outline:3px solid #7faaa3;outline-offset:3px}
.workspace{grid-template-columns:310px minmax(0,1fr)}.shelf{padding:24px 20px 0}.shelf h1{margin-top:9px;font-size:26px}.shelf-heading p{font-size:12px;margin-bottom:17px}.categories{padding:12px 0}.category{font-size:13px;padding:6px 8px}.shelf-count{margin-bottom:10px}.shelf-bottom{padding:13px 2px}
.make-person-entry{display:flex;align-items:center;gap:10px;width:100%;padding:10px;border:1px solid #cbd9c4;border-radius:13px;background:#e8efdf;text-align:left;margin:0 0 14px;flex:none;transition:background .15s,transform .15s}.make-person-entry:hover{background:#dce8d4;transform:translateY(-1px)}.maker-entry-art{display:block;width:45px;height:45px;flex:none}.maker-entry-art svg{width:100%;height:100%;stroke:none}.make-person-entry strong{display:block;font-size:14px;font-weight:600}.make-person-entry small{display:block;font-size:11px;color:#728268;margin-top:4px}.maker-entry-plus{font-size:23px;font-weight:400;margin-left:auto;color:#7b9270}
.person-miniature{min-height:132px;border-color:#e5e8db;background:#eef0e4;justify-content:flex-start;padding-top:8px}.person-miniature:nth-child(4n+2){background:#f3e8df;border-color:#eee1d5}.person-miniature:nth-child(4n+3){background:#ece8ef;border-color:#e5dfeb}.person-miniature:nth-child(4n+4){background:#e5eeea;border-color:#dce7e1}.person-miniature:hover{border-color:#9db79b;box-shadow:0 3px 7px #47623f10}.person-miniature>svg{height:76px;width:69px;stroke:none}.person-miniature span{font-size:13px;font-weight:500;color:#4a624b}.person-miniature small{font-size:9px;color:#7e8977;margin-top:4px;line-height:1.3}.miniature>svg{stroke:none}.miniature{flex-shrink:0}
.change-person{display:flex;align-items:center;gap:6px;background:#e3edda;border:0;border-radius:7px;padding:9px 10px;white-space:nowrap;font-size:12px;min-height:38px}.change-person:hover{background:#d2e2c7}.change-person svg{width:15px;height:15px}.selection-bar{gap:10px}.pending-person{position:absolute;bottom:49px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;background:#fffdf3f5;border:1px solid #f9efd2;box-shadow:0 5px 25px #6b593328;border-radius:14px;padding:8px 12px 8px 7px;max-width:96%;width:332px;z-index:3}.pending-person>span{width:43px;height:49px;flex:none}.pending-person>span>svg{width:100%;height:100%}.pending-person>div{flex:1}.pending-person strong{font-size:13px;font-weight:600;display:block}.pending-person small{font-size:11px;color:#808673;display:block;margin-top:4px}.pending-person .icon-button{border:0;background:transparent;padding:5px}.pending-person .icon-button svg{width:16px;height:16px}
dialog.person-maker{padding:0;max-width:880px;max-height:calc(100dvh - 32px);width:calc(100% - 32px);overflow:hidden;border-radius:22px}.person-maker #modal-content{display:flex;flex-direction:column;max-height:calc(100dvh - 34px)}.person-maker .modal-close{top:17px;right:18px;padding:10px;z-index:1;background:#f0f1e9;border-radius:50%}.maker-heading{padding:25px 30px 18px;flex:none}.maker-heading h2{margin:7px 0 5px;font-size:29px}.maker-heading p{margin:0;font-size:13px;color:#7c8772}.maker-layout{display:grid;grid-template-columns:225px minmax(0,1fr);min-height:0;border-top:1px solid #e2e7d9;border-bottom:1px solid #e2e7d9;overflow:hidden;flex:1}.maker-preview-panel{background:#edf0e3;display:flex;flex-direction:column;align-items:center;padding:24px 12px;position:relative;overflow:hidden}.person-preview{height:235px;width:190px;display:flex;align-items:center;justify-content:center;position:relative;flex:none}.person-preview::before{content:'';position:absolute;inset:28px 7px 4px;background:#e3dfc6;border-radius:46% 54% 43% 57% / 53% 47% 53% 47%;transform:rotate(-7deg)}.person-preview::after{content:'';position:absolute;width:10px;height:10px;border-radius:50%;background:#c7d1b4;left:7px;top:35px;box-shadow:158px 20px 0 -2px #d4ad80,145px 157px 0 -2px #c7d1b4}.person-preview>svg{height:215px;width:195px;position:relative;z-index:1;filter:drop-shadow(0 5px 3px #78633d12)}.maker-preview-panel h3{font-family:var(--serif);font-size:25px;font-weight:400;text-align:center;margin:18px 0 4px;max-width:100%;line-height:1.2}.maker-preview-panel #person-preview-age{font-size:12px;margin:0;color:#7c8672}.maker-preview-panel .shuffle-person{font-size:12px;min-height:38px;padding:8px 11px;margin-top:23px;border-color:#d6dfca;background:#f8f9ee}.shuffle-person svg{width:17px;height:17px}.person-maker .shuffle-note{font-size:10px;text-align:center;line-height:1.5;margin:9px 0 0;color:#849079}.maker-decoration{margin:auto 0 0;padding-top:18px;color:#b0bea0;font-size:23px;letter-spacing:7px}.maker-decoration span{color:#cfb282;font-size:16px}
.maker-settings{min-width:0;min-height:0;display:flex;flex-direction:column;background:#fcfbf6;overflow:hidden}.person-identity{display:grid;grid-template-columns:1.15fr 1fr;gap:12px;padding:20px 25px 18px;flex:none}.person-select>span{display:block;font-size:11px;color:#798772;margin-bottom:7px}.person-select select{width:100%;border:1px solid #d9e0cf;border-radius:8px;background:#fffef8;padding:10px 29px 10px 11px;font-size:13px;min-height:41px}.maker-tabs{display:flex;gap:5px;padding:0 25px;border-bottom:1px solid #e4e7dc;flex:none}.maker-tabs button{border:0;border-bottom:3px solid transparent;background:none;padding:11px 18px 12px;font-size:13px;color:#8a9382}.maker-tabs button[aria-selected=true]{border-bottom-color:#6d8d60;color:#42633f;font-weight:600}.maker-tabs button:hover{color:#42633f;background:#f1f3e8}.person-maker #person-options{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#cbd6be transparent;padding:21px 25px 6px;height:360px;min-height:150px;flex:1;scroll-padding:12px}.person-fieldset{border:0;padding:0;margin:0 0 23px;min-width:0}.person-fieldset legend{font-size:12px;font-weight:600;color:#4e6549;width:100%;margin-bottom:10px;padding:0;display:flex;align-items:center;gap:10px;justify-content:space-between}.person-fieldset legend span{font-size:10px;color:#87937c;font-weight:400;text-align:right}.person-choices{display:flex;gap:7px;flex-wrap:wrap}.person-choice{border:1px solid #dce2d2;background:#f6f6ee;color:#6b7b61;border-radius:8px;font-size:11px;padding:8px 10px;min-height:35px;transition:background .15s,border-color .15s}.person-choice:hover{background:#edf1e3;border-color:#a6bb95}.person-choice.chosen{background:#e3edd9;border-color:#69875d;color:#46603c;box-shadow:0 0 0 1px #69875d}.colors-choices{gap:7px}.colors-choices .person-choice{width:34px;height:34px;min-height:34px;padding:4px;border-radius:50%;background:transparent;border-color:transparent}.colors-choices .person-choice:hover{background:#e7ebde}.colors-choices .person-choice.chosen{border-color:#69875d;background:#fcfbf6}.color-dot{display:block;width:100%;height:100%;border-radius:50%;background:var(--choice-color);box-shadow:inset 0 0 0 1px #0000000c}.hair-choices,.outfit-choices{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.hair-choices .person-choice,.outfit-choices .person-choice{display:flex;flex-direction:column;align-items:center;padding:4px 2px 7px;min-width:0;gap:3px}.person-choice svg{fill:none;stroke:none;height:49px;width:60px;max-width:100%;flex:none}.person-choice span{font-size:10px;text-align:center}.outfit-choices .person-choice svg{height:69px;width:65px}.person-maker .maker-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 25px;flex:none;background:#fcfbf6}.maker-footer>span{font-size:11px;color:#89957e}.person-maker .maker-footer .button{margin:0;min-width:145px;min-height:44px}
@media(min-width:1600px){.workspace{grid-template-columns:330px minmax(0,1fr)}.shelf{padding-left:25px;padding-right:25px}}
@media(max-width:1150px){.workspace{grid-template-columns:275px minmax(0,1fr)}.shelf{padding:20px 15px 0}.shelf h1{font-size:24px}.shelf-heading p{font-size:11px}.person-miniature small{font-size:8px}.person-miniature>svg{height:70px;width:63px}.person-miniature{min-height:125px}.person-miniature span{font-size:12px}.selection-bar{gap:5px}.selection-actions button{width:30px}.change-person{padding:8px;font-size:11px}}
@media(max-height:760px) and (min-width:801px){.shelf-heading h1{font-size:21px;line-height:1.2;margin:6px 0}.shelf-heading p{margin-bottom:10px}.shelf{padding-top:16px}.make-person-entry{padding:7px;margin-bottom:10px}.categories{padding:8px 0;gap:3px}.category{font-size:12px;padding:5px 7px}.person-miniature{min-height:110px}.person-miniature>svg{height:60px}.maker-heading{padding-top:19px;padding-bottom:14px}.maker-preview-panel{padding-top:13px}.person-preview{height:198px}.person-preview>svg{height:180px}.person-maker #person-options{height:285px}.maker-decoration{display:none}}
@media(max-width:800px){.shelf{max-height:none;padding:18px 20px 0}.make-person-entry{max-width:380px;padding:9px 12px;margin-bottom:11px}.maker-entry-art{width:37px;height:37px}.search{max-width:100%}.miniatures{flex:none;max-height:254px;grid-template-columns:repeat(6,minmax(0,1fr))}.person-miniature{min-height:123px}.person-miniature small{font-size:8px}.categories{padding:12px 0;gap:6px}.category{font-size:13px}.pending-person{bottom:43px}.selection-bar{flex-wrap:wrap;justify-content:center;width:max-content;max-width:96%}.maker-layout{grid-template-columns:190px minmax(0,1fr)}.person-identity{padding:16px 18px}.maker-tabs{padding:0 18px}.person-maker #person-options{padding:18px 18px 4px}.maker-heading{padding:23px 25px 17px}.hair-choices,.outfit-choices{grid-template-columns:repeat(4,minmax(0,1fr))}.maker-preview-panel{padding-left:6px;padding-right:6px}.person-preview{width:170px;height:220px}.person-preview>svg{width:170px;height:200px}.person-preview::after{display:none}.maker-preview-panel h3{font-size:23px}}
@media(max-width:600px){dialog.person-maker{width:calc(100% - 20px);max-height:calc(100dvh - 20px);border-radius:18px}.person-maker #modal-content{max-height:calc(100dvh - 22px)}.person-maker .modal-close{top:10px;right:10px;padding:8px}.maker-heading{padding:18px 20px 12px}.maker-heading h2{font-size:23px;margin:6px 0 4px}.maker-heading .eyebrow{font-size:8px}.maker-heading p{font-size:11px}.maker-layout{display:flex;flex-direction:column;flex:1}.maker-preview-panel{display:grid;grid-template-columns:110px 1fr;grid-template-rows:auto auto auto;align-items:center;column-gap:12px;padding:9px 18px 12px;flex:none}.person-preview{grid-column:1;grid-row:1/5;width:110px;height:120px}.person-preview>svg{width:108px;height:120px}.person-preview::before{inset:13px 1px 0}.maker-preview-panel h3{margin:8px 0 3px;font-size:23px;grid-column:2;text-align:left}.maker-preview-panel #person-preview-age{grid-column:2;font-size:11px}.maker-preview-panel .shuffle-person{grid-column:2;margin:8px 0 0;font-size:11px;min-height:34px;justify-self:start;padding:6px 9px}.person-maker .shuffle-note{grid-column:2;text-align:left;font-size:9px;margin-top:5px}.maker-decoration{display:none}.person-identity{padding:13px 18px 10px;gap:10px}.person-select>span{font-size:10px;margin-bottom:4px}.person-select select{padding:8px 20px 8px 10px;min-height:36px;font-size:12px}.maker-tabs{padding:0 18px;gap:2px}.maker-tabs button{font-size:12px;padding:9px 17px}.person-maker #person-options{height:265px;min-height:90px;padding:16px 18px 3px}.hair-choices,.outfit-choices{grid-template-columns:repeat(5,minmax(0,1fr))}.person-choice span{font-size:9px}.person-choice svg{height:44px}.person-choice{font-size:11px;padding:8px;min-height:36px}.person-fieldset{margin-bottom:19px}.person-fieldset legend{font-size:11px}.colors-choices{gap:6px}.colors-choices .person-choice{width:32px;height:32px;min-height:32px;padding:4px}.person-maker .maker-footer{padding:12px 17px;gap:12px}.maker-footer>span{font-size:10px;max-width:135px;line-height:1.5}.person-maker .maker-footer .button{font-size:12px;min-width:125px;max-width:65%;padding:10px 14px}.person-maker .outfit-choices .person-choice svg{height:60px}}
@media(max-width:480px){.shelf{padding:15px 14px 0}.miniatures{grid-template-columns:repeat(4,minmax(0,1fr));max-height:258px}.person-miniature{min-height:124px}.person-miniature>svg{height:71px;width:63px}.person-miniature span{font-size:12px}.person-miniature small{font-size:8px}.category{font-size:12px;padding:6px 8px}.pending-person{bottom:43px;max-width:94%;padding:6px 8px 6px 5px;gap:8px;width:303px}.pending-person strong{font-size:12px}.pending-person small{font-size:10px}.pending-person>span{width:35px;height:42px}.selection-bar{bottom:43px;gap:4px 7px}.selection-actions button{width:31px;height:34px}.change-person{min-height:34px}.change-person svg{display:none}.tool-hint{min-height:28px;font-size:10px;line-height:1.5}.maker-entry-art{width:40px;height:40px}.maker-entry-plus{margin-right:5px}}
@media(max-width:600px) and (max-height:680px){.maker-heading{padding-top:12px;padding-bottom:10px}.maker-heading p{display:none}.maker-preview-panel{padding-top:5px;padding-bottom:7px;grid-template-columns:80px 1fr}.person-preview{height:91px;width:80px}.person-preview>svg{width:80px;height:90px}.maker-preview-panel h3{font-size:19px;margin:2px 0}.maker-preview-panel .shuffle-person{margin-top:4px}.person-maker .shuffle-note{display:none}.person-identity{padding-top:9px;padding-bottom:7px}.person-maker .maker-footer{padding-top:9px;padding-bottom:9px}.maker-footer>span{font-size:9px}.person-maker #person-options{min-height:72px}}

/* Hair is an optional visual shelf, shared by every role and complexion. */
.maker-tabs{gap:3px}.maker-tabs button{padding-left:15px;padding-right:15px}.hair-browser{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:14px}.hair-browser>span{font-size:10px;color:#7e8e72;white-space:nowrap}.hair-choices{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.hair-choices .person-choice{padding:5px 4px 9px;min-height:117px;justify-content:flex-start;gap:6px}.hair-choices .person-choice svg{width:88px;height:91px;max-width:100%;background:#eeeada;border-radius:6px}.hair-choices .person-choice span{font-size:11px;line-height:1.3;min-height:27px;display:flex;align-items:center;justify-content:center;max-width:100%}.hair-choices .person-choice.chosen svg{background:#e6e6d2}.person-choice[data-choice-field=hairColor][data-choice-value=salt-pepper] .color-dot{background:repeating-linear-gradient(120deg,#666560 0 3px,#c9cac3 3px 5px)}
@media(max-width:800px){.maker-tabs{padding-left:18px;padding-right:18px}.maker-tabs button{padding-left:12px;padding-right:12px}.hair-choices{grid-template-columns:repeat(3,minmax(0,1fr))}.hair-choices .person-choice svg{height:85px;width:80px}.hair-choices .person-choice span{font-size:10px}.hair-browser{gap:6px}}
@media(max-width:600px){.maker-tabs button{padding-left:14px;padding-right:14px}.hair-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.hair-choices .person-choice{min-height:122px;padding:4px 3px 7px}.hair-choices .person-choice svg{width:83px;height:88px}.hair-choices .person-choice span{font-size:10px;min-height:26px}.hair-browser>span{font-size:9px}.hair-browser{margin-bottom:12px}}
