/* A small library and one editor: choosing content is distinct from editing it. */
.studio{display:grid;grid-template-columns:220px minmax(0,1fr);gap:30px;align-items:start}.unit-library{padding:18px 0;position:sticky;top:18px;min-width:0}.library-heading{display:flex;align-items:center;justify-content:space-between;padding:0 8px}.library-heading h2{font-size:17px;font-weight:650}.library-count{font-size:12px;color:#8a947c}.library-hint{font-size:11px;padding:8px 8px 18px;color:#8a947c;letter-spacing:.2px}.unit-list{display:flex;flex-direction:column;gap:5px;max-height:410px;overflow:auto;scrollbar-width:thin}.unit-item{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:stretch;border:1px solid transparent;border-radius:9px 15px 9px 12px;min-height:68px;position:relative}.unit-item.active{background:#e7ecda;border-color:#d8dfc7}.unit-item:hover{background:#edf0e3}.unit-select{display:flex;align-items:center;justify-content:center;cursor:pointer;padding-left:6px;min-height:54px}.unit-select input{appearance:none;-webkit-appearance:none;width:17px;height:17px;border:1px solid #b5c2a4;border-radius:5px;background:#fffdf5;display:grid;place-items:center;cursor:pointer;margin:0}.unit-select input:checked{background:#547a50;border-color:#547a50}.unit-select input:checked:after{content:'✓';font-size:12px;color:#fffdf5}.unit-open{border:0;background:transparent;display:flex;text-align:left;align-items:center;gap:10px;min-width:0;padding:12px 10px 12px 4px}.folder-icon{width:24px;height:19px;border:1px solid #9eaf84;border-radius:3px 5px 4px 4px;background:#dce5c9;position:relative;flex-shrink:0;margin-top:4px}.folder-icon:before{content:'';position:absolute;left:-1px;top:-5px;width:12px;height:5px;background:#dce5c9;border:1px solid #9eaf84;border-bottom:0;border-radius:3px 4px 0 0}.unit-copy{display:flex;flex-direction:row;align-items:center;gap:8px;min-width:0}.unit-copy strong{font-size:14px;line-height:1.5;font-weight:550;overflow-wrap:anywhere}.unit-copy small{font-size:11px;color:#879076}.add-unit{width:100%;margin-top:13px;background:transparent;border:1px dashed #bdc8ab;border-radius:8px;min-height:45px;color:#5f7956;font-size:13px;text-align:left;padding:10px 14px}.add-unit:hover{background:#e9eedf}.library-storage{font-size:10px;margin:16px 8px;color:#8c967f;line-height:1.7}.unit-workbench{min-width:0;display:flex;flex-direction:column;gap:30px}.studio .editor,.studio .review{padding:26px 30px}.studio .editor:before{width:62px}.studio .editor .section-head{margin-bottom:12px}.section-kicker{font-size:11px;letter-spacing:1.5px;color:#8a957c}.delete-unit{font-size:11px;color:#8d927c;min-height:36px}.delete-unit:hover{color:#a35c4b;background:#f5e9dd}.unit-name{width:100%;background:transparent;border:0;border-bottom:1px solid #e0e5d4;border-radius:0;padding:4px 1px 13px;margin:0 0 18px;font-size:25px;font-weight:600;letter-spacing:1px;color:#3e5c44}.unit-name::placeholder{color:#a6af98;font-weight:400}.studio textarea{min-height:230px;max-height:450px}.input-foot{padding-top:9px}.preset-picker{margin-top:8px;border:0}.preset-picker summary{font-size:12px;color:#648154;cursor:pointer;min-height:40px;display:flex;align-items:center;list-style:none}.preset-picker summary::-webkit-details-marker{display:none}.preset-picker[open] summary{font-weight:600}.preset-picker .small{font-size:11px;margin-bottom:10px;color:#8a947c}.preset-options{display:flex;gap:7px;flex-wrap:wrap;padding-bottom:8px}.preset-options button{font-size:12px;padding:8px 12px;min-height:40px;background:#f0f2e6;border:1px solid #dae1ca;border-radius:8px;color:#5a7553}.preset-options button:hover{background:#e7eed8}.unit-message{font-size:11px;min-height:0;color:#6f865c}.unit-message:not(:empty){padding:8px 0}.selection-summary{margin-top:16px;padding-top:20px;border-top:1px solid #e1e5d6}.selection-summary>div{display:flex;align-items:baseline;justify-content:space-between;gap:15px}.selection-label{font-size:11px;color:#8a947c;letter-spacing:1px}.selection-summary strong{font-size:14px;font-weight:600;color:#59734c}.selection-summary p{font-size:11px;color:#89947c;margin-top:8px;line-height:1.8;overflow-wrap:anywhere}.studio fieldset{margin:18px 0}.studio .primary.full{justify-content:center;font-size:14px}.studio .reading-list{height:auto;max-height:360px}.studio .reading-row{grid-template-columns:28px minmax(70px,1fr) minmax(100px,1.2fr)}.studio .reading-row .word{font-size:17px}.studio .title-input{margin:10px 0 14px}.studio .publish-actions .secondary,.studio .publish-actions .primary{flex:1}.studio .merge-note{font-size:11px;color:#7e8d6f;margin:5px 0 10px}.unselected-note{font-size:11px;background:#f1ecdf;padding:9px 11px;border-radius:7px;margin:-4px 0 13px}.conflict-dot{margin-left:5px;font-size:11px;color:#ac7748}.unit-undo{margin:18px 0 0 250px;font-size:12px;background:#e8efda;padding:6px 12px;border-radius:8px;color:#65804f;display:flex;align-items:center;justify-content:space-between}.library-empty{font-size:12px;color:#899378;line-height:1.8;padding:15px 8px}.row-source{display:block;font-size:10px;font-weight:400;letter-spacing:0;color:#8a957b;margin-top:3px}.game-teasers{margin-top:32px}.studio .review{scroll-margin-top:25px}.studio #save-warning{font-size:11px;padding:0 8px}.studio .primary:disabled{opacity:.5}.studio .section-head .pill{font-size:11px}
@media(min-width:1000px){.unit-workbench{max-width:800px}.studio .editor,.studio .review{padding:28px 34px}.studio .preset-picker .small{max-width:600px}}
@media(max-width:800px){.studio{grid-template-columns:180px minmax(0,1fr);gap:18px}.studio .editor,.studio .review{padding:21px}.unit-copy strong{font-size:13px}.unit-open{gap:7px;padding-right:7px}.unit-name{font-size:22px}.folder-icon{width:20px;height:17px}.unit-undo{margin-left:198px}.selection-summary>div{flex-wrap:wrap;gap:5px}.unit-library{top:8px}}
@media(max-width:600px){.studio{grid-template-columns:1fr;gap:24px}.unit-library{position:static;padding:0}.library-heading{padding:0 2px}.library-heading h2{font-size:16px}.library-hint{padding:6px 2px 12px}.unit-list{display:grid;grid-template-columns:1fr 1fr;gap:6px;max-height:235px;overflow:auto}.unit-item{grid-template-columns:32px minmax(0,1fr);min-height:72px;background:#fffdf16b;border-color:#e2e7d6}.unit-select{padding-left:2px}.unit-open{gap:6px;padding:10px 7px 10px 2px}.unit-copy strong{font-size:13px}.unit-copy small{font-size:10px}.folder-icon{width:18px;height:15px}.add-unit{margin-top:9px;min-height:44px;text-align:center}.library-storage{margin:10px 2px 0;font-size:10px}.unit-name{font-size:23px}.studio .editor,.studio .review{padding:21px}.studio textarea{min-height:205px}.selection-summary strong{font-size:13px}.unit-workbench{gap:26px}.unit-undo{margin-left:0}.studio .review .section-head{flex-wrap:wrap}.studio .review .section-head h2{font-size:16px}.studio .reading-row{grid-template-columns:22px minmax(60px,.9fr) minmax(95px,1.1fr)}.studio .publish-actions button{padding:12px;font-size:13px}.preset-options button{flex:1;white-space:normal;min-width:65px}.unit-select input{width:19px;height:19px}.unit-copy{gap:4px}.unit-list:has(.unit-item:only-child){grid-template-columns:1fr}.studio .review .small{font-size:11px}.unit-undo .quiet{font-size:12px}}
/* Each step occupies the same workbench; no expanding second panel below it. */
.unit-workbench{gap:14px;scroll-margin-top:20px}.prep-steps{display:flex;align-items:center;gap:12px;padding:0 4px;min-height:42px}.prep-steps button{display:flex;align-items:center;gap:7px;background:transparent;border:0;padding:4px 0;font-size:12px;color:#8b967f;min-height:40px}.prep-steps button[aria-current=step]{color:#3f6646;font-weight:650}.prep-steps button:disabled{opacity:.5;cursor:default}.step-number{display:grid;place-items:center;width:21px;height:21px;border:1px solid #cfd9c1;border-radius:50%;font-size:10px;font-weight:500}.prep-steps [aria-current=step] .step-number{background:#6b885a;border-color:#6b885a;color:#fffdf2}.step-separator{color:#b0baa0;font-size:17px}.studio[data-step=review] .review{margin:0;min-height:550px}.review-back{padding-left:0;min-height:40px;font-size:12px}.studio .review .section-head{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px;margin-bottom:18px}.studio .review .review-back{grid-column:1/-1;justify-self:start}.studio .review h2{font-size:23px;font-weight:600;letter-spacing:1px}.studio .review .merge-note{margin-bottom:15px}.game-title-options{margin:0 0 15px}.game-title-options summary{font-size:11px;color:#7b8c69;cursor:pointer;min-height:38px;padding:8px 0}.game-title-options .title-input{margin:0 0 9px}.studio .review .reading-list{max-height:390px}.studio .review .publish-actions button{min-height:48px}.studio .review .publish-actions .primary{flex:1}.studio .review .publish-actions .secondary{flex:1;background:#477553;color:#fffdf1;border-color:#345f43;box-shadow:0 3px 0 #294f3a}.studio .review .publish-actions #share{background:#f0eddb;border-color:#d7d5be;color:#6f7050;box-shadow:none}.unit-library{margin-top:42px}
@media(max-width:600px){.unit-library{margin-top:0}.studio[data-step=review] .unit-library{display:none}.studio[data-step=review]{gap:0}.unit-workbench{gap:12px;scroll-margin-top:16px}.prep-steps{gap:10px}.prep-steps button{font-size:11px}.studio[data-step=review] .review{min-height:0}.studio .review h2{font-size:21px}.studio .review .section-head{display:grid;grid-template-columns:1fr auto}.studio .review .publish-actions{flex-direction:column}.studio .review .reading-list{max-height:340px}.studio .review .publish-actions button{width:100%;font-size:14px}.game-title-options summary{font-size:12px}}
.studio .review .section-head{margin-bottom:10px;gap:8px}.studio .review .section-head h2{grid-column:1;grid-row:1}.studio .review .section-head .review-back{grid-column:2;grid-row:1;justify-self:end}.studio .review .section-head .pill{display:none}.studio .review .merge-note{margin-bottom:8px}.game-title-options{margin-bottom:7px}.studio .review .reading-list{max-height:clamp(170px,calc(100dvh - 440px),330px)}
@media(max-width:600px){.studio .review .reading-list{max-height:clamp(140px,calc(100dvh - 480px),300px)}.studio .review .section-head .review-back{font-size:11px}.studio .review .section-head h2{font-size:21px}}
