.theme-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.theme-card{position:relative;display:flex;flex-direction:column;justify-content:flex-start;gap:7px;min-height:0;padding:0;border:1px solid #eae3db;border-radius:14px;background:#fffdfa;overflow:hidden;transition:border-color .2s,box-shadow .2s,background .2s}
.theme-card-visual{width:100%;aspect-ratio:16/9;overflow:hidden;background:#eee8e1}
.theme-card-visual{position:relative}
.theme-card-visual img,.theme-card-visual video{display:block;width:100%;height:100%;object-fit:cover}
.theme-preview-empty{align-content:center;justify-items:center;gap:8px;background:linear-gradient(135deg,#f4eee7,#fbf8f3);color:#918478;font-size:12px;text-align:center}
.theme-preview-empty>span:first-child{font-size:21px;color:#b49767}
.theme-card-select{position:relative;display:flex;flex-direction:column;justify-content:flex-start;gap:7px;min-height:88px;padding:12px 14px;cursor:pointer}
.theme-card input[type=radio]{position:absolute;width:1px;height:1px;margin:0;opacity:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.theme-card strong{font-size:13px;color:#514941}
.theme-card-select>span{font-size:11px;line-height:1.65;color:#81786f}
.theme-card:hover{border-color:#c58e84;background:#fdf7f4}
.theme-card.selected{border-color:#bd8278;background:#fbf2ee;box-shadow:0 0 0 2px rgba(183,110,105,.12)}
.theme-example-caption{padding:0 12px 6px;font-size:10px;line-height:1.5;color:#8b7e73}
.custom-theme-card{grid-column:auto}
.theme-custom-details{margin:0 12px 10px;padding:0 0 0;border-top:1px solid #eee5dd}
.theme-custom-details>summary{display:flex;align-items:center;gap:8px;min-height:42px;list-style:none;color:#875d55;font-size:11px;cursor:pointer}
.theme-custom-details>summary::-webkit-details-marker{display:none}
.theme-custom-details>summary::after{content:"＋";margin-left:auto;color:#9b746c;font-size:15px}
.theme-custom-details[open]>summary::after{content:"−"}
.custom-theme-card .theme-custom-fields{display:grid;grid-template-columns:1fr;gap:12px;padding:0 14px 14px}
.theme-custom-details .theme-custom-fields{grid-template-columns:1fr;padding:0 0 10px}
.custom-theme-card .theme-custom-fields .field{min-width:0}
.custom-theme-card .theme-custom-fields .helper{font-size:10px}
.custom-theme-card textarea{min-height:76px}
.sample-choice-select{display:block;cursor:pointer}
.sample-reference-link{display:inline-flex;margin:0 12px 12px;color:#8c5d50;font-size:10px;text-decoration:none}
.sample-reference-link:hover{text-decoration:underline}
.sample-theme-field{min-width:0;padding:0;border:0}
.sample-theme-field legend{margin-bottom:8px;font-size:12px;color:#665c52}
.sample-theme-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px;padding:10px;border:1px solid #eee6de;border-radius:10px;background:#fffdfa}
.sample-theme-checks .checkbox-row{gap:7px;margin:0;font-size:11px}
.upload-tile{justify-content:flex-start;min-height:190px}
.photo-example{display:block;width:100%;height:108px;object-fit:cover;border-radius:9px;background:#f3ece4}
.photo-example-caption{font-size:10px;color:#a29385}
.photo-angle-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.photo-angle-grid .upload-tile{min-width:0;min-height:0;padding:9px;gap:6px}
.photo-angle-grid .photo-example{height:auto;aspect-ratio:4/5}
.photo-angle-grid .upload-tile strong{font-size:11px}
.photo-angle-grid .upload-tile>span:not(.upload-progress){font-size:10px;line-height:1.45}
.upload-tile .upload-progress{bottom:7px}
.audio-capture{position:relative;padding:15px;border:1px solid #e9e1d7;border-radius:14px;background:#fdfbf8}
.audio-capture.done{border-color:#ced8cc;background:#f5f8f2}
.audio-capture-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.audio-capture-head strong{font-size:13px}
.audio-capture-head p{margin:5px 0 0;color:#8b8278;font-size:11px;line-height:1.6}
.audio-script{display:flex;flex-direction:column;gap:5px;margin:12px 0;padding:11px 12px;border-radius:10px;background:#f4eee8;color:#73675d;font-size:11px;line-height:1.7}
.audio-script strong{color:#9b625c;font-size:11px}
.audio-preview{display:block;width:100%;height:38px;margin:10px 0}
.audio-record-status{min-height:18px;margin-top:7px;color:#897d72;font-size:10px}
.audio-file-input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.privacy-note{line-height:1.8}
.resource-row{align-items:center;gap:14px}
.resource-preview-wrap{flex:0 0 150px;max-width:150px}
.resource-preview{display:block;width:100%;max-height:110px;object-fit:contain;border-radius:9px;background:#f5f1eb}
.resource-preview-wrap audio,.resource-video{display:block;width:100%;max-width:100%;border-radius:8px}
.resource-video{max-height:110px;background:#171411}
.shot-wardrobe-details{margin:0 0 13px;padding:10px 12px;border:1px solid #eee5dd;border-radius:11px;background:#fdfbf8}
.shot-wardrobe-details>summary{font-size:11px;font-weight:600;color:#78675a;cursor:pointer}
.shot-wardrobe-text{margin:9px 0 0;color:#746d65;font-size:11px;line-height:1.7;white-space:pre-wrap}
.shot-wardrobe-sheets{display:flex;gap:9px;overflow-x:auto;margin-top:10px;padding-bottom:3px}
.shot-wardrobe-sheet{flex:0 0 min(220px,70%);color:#746d65;font-size:10px;text-decoration:none}
.shot-wardrobe-sheet img{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;border-radius:8px;background:#f2ede7}
.shot-wardrobe-sheet span{display:block;margin-top:4px;overflow-wrap:anywhere}
@media(max-width:600px){.resource-row{align-items:flex-start;flex-direction:column}.resource-preview-wrap{flex-basis:auto;width:100%;max-width:100%}.resource-preview{max-height:180px}.resource-preview-wrap audio,.resource-video{max-width:100%}}
@media(max-width:720px){.theme-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.theme-card-select{min-height:78px;padding:12px}.theme-example{padding:0 10px 10px}.theme-example video{max-height:190px}.sample-theme-checks{grid-template-columns:1fr}.upload-tile{min-height:176px}.photo-example{height:96px}.audio-capture{padding:12px}.audio-capture-head{flex-direction:column}.audio-capture .button-row{gap:7px}.audio-capture .button{font-size:11px;padding:10px 12px}}
@media(max-width:720px){.photo-angle-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.photo-angle-grid .upload-tile{padding:7px;gap:5px}.photo-angle-grid .photo-example{height:auto;aspect-ratio:4/5}.photo-angle-grid .upload-tile strong{font-size:10px}.photo-angle-grid .upload-tile>span:not(.upload-progress){font-size:9px;line-height:1.35}.photo-angle-grid .photo-example-caption{font-size:8px}}
.experience-entry{margin-top:10px}
.experience-entry-note{text-align:center;margin:8px 0 0}
.experience-locked{opacity:.58;filter:saturate(.55);pointer-events:none;user-select:none}
.upload-tile.experience-locked{border-style:dashed;background:#f4f1ed}
.upload-tile.experience-locked input{cursor:not-allowed}
.experience-lock-caption{color:#947e6b!important;font-weight:600}
.experience-notice{background:#f3eee8;border-color:#e8ddd1;color:#75695d}
.button:disabled{opacity:.52;filter:saturate(.55);cursor:not-allowed}
.experience-actions{display:grid;gap:14px;margin-top:20px}
.experience-actions .button-row{gap:10px}
@media(max-width:600px){.experience-actions .button-row{display:grid;grid-template-columns:1fr}.experience-actions .button-row .button{width:100%}.experience-entry{min-height:46px}}

/* Preserve the full landscape framing of uploaded style and sample references. */
.choice-image{height:auto;aspect-ratio:16/9;min-height:0}

.creative-mode-tabs,.sample-source-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:8px 0 16px}
.creative-mode-option,.sample-source-option{position:relative;display:flex;align-items:center;min-height:76px;padding:13px 15px;border:1px solid #eae3db;border-radius:13px;background:#fffdfa;cursor:pointer;transition:border-color .2s,background .2s,box-shadow .2s}
.creative-mode-option input,.sample-source-option input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.creative-mode-option span,.sample-source-option span{display:flex;flex-direction:column;gap:5px;pointer-events:none}
.creative-mode-option strong,.sample-source-option strong{font-size:13px;color:#514941}
.creative-mode-option small,.sample-source-option small{font-size:11px;line-height:1.5;color:#81786f}
.creative-mode-option.selected,.sample-source-option.selected{border-color:#bd8278;background:#fbf2ee;box-shadow:0 0 0 2px rgba(183,110,105,.12)}
.creative-mode-panel{padding-top:2px}
.mode-intro{margin:0 0 14px;padding:12px 14px;border-radius:11px;background:#f7f1eb;color:#72675d;font-size:12px;line-height:1.8}
.creative-mode-panel h3{margin:0 0 8px;font-size:17px;font-weight:600;color:#514941}
.creative-mode-panel>.panel-subtitle{margin-bottom:12px}
.sample-source-panel{margin-top:4px}
.sample-card-reference-only{cursor:default;opacity:.83}
.sample-card-reference-only:hover{transform:none;box-shadow:none}
.sample-card-reference-only .sample-choice-select{cursor:default}
.sample-card-reference-only .choice-copy .helper{display:block;margin-top:7px;font-size:10px;line-height:1.5}
.sample-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.style-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.comic-style-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px}
.comic-style-choice .choice-image{aspect-ratio:16/9;background:#f0ece6}
.comic-style-choice .choice-copy{min-height:76px}
.style-mode-options{display:flex;flex-wrap:wrap;gap:8px}
.style-mode-options .checkbox-row{align-items:center;min-height:38px;padding:8px 11px;border:1px solid #e8e1d9;border-radius:10px;background:#fffdfa;color:#655c54;cursor:pointer}
.style-mode-options .checkbox-row input{margin:0}
@media(max-width:720px){.creative-mode-tabs,.sample-source-tabs{gap:8px}.creative-mode-option,.sample-source-option{min-height:70px;padding:11px 10px}.creative-mode-option strong,.sample-source-option strong{font-size:12px}.creative-mode-option small,.sample-source-option small{font-size:10px}.style-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.style-choice-grid .choice-copy{padding:10px}.style-choice-grid .choice-copy strong{font-size:12px}.style-choice-grid .choice-copy p{font-size:10px;line-height:1.5}.sample-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sample-choice-grid .sample-card{min-width:0}.sample-choice-grid .choice-image{aspect-ratio:16/9;overflow:hidden}.sample-choice-grid .choice-image video,.sample-choice-grid .choice-image img{width:100%;height:100%;object-fit:cover}.sample-choice-grid .sample-choice-select .choice-copy{padding:8px 9px}}
@media(max-width:600px){.comic-style-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.comic-style-choice .choice-copy{padding:9px}.comic-style-choice .choice-copy strong{font-size:13px}.comic-style-choice .choice-copy p{font-size:10px;line-height:1.5}}
.theme-card:focus-within{outline:2px solid rgba(183,110,105,.26);outline-offset:2px}
.custom-choice-panel{margin-top:12px;padding:13px;border:1px solid #eee2da;border-radius:12px;background:#fbf7f3}
.required-mark{margin-left:5px;color:#ad625a;font-size:11px;font-weight:600}
.duration-picker{position:relative;margin-top:8px}
.duration-wheel{height:144px;overflow-y:auto;overscroll-behavior:contain;scroll-snap-type:y mandatory;scrollbar-width:none;border:1px solid #eae2d9;border-radius:12px;background:#fffdfa;outline:none}
.duration-wheel::-webkit-scrollbar{display:none}
.duration-wheel:focus-visible{box-shadow:0 0 0 3px rgba(183,110,105,.18)}
.duration-wheel-spacer{height:51px}
.duration-option{display:flex;height:42px;align-items:center;justify-content:center;scroll-snap-align:center;color:#a79c90;font-size:15px;cursor:pointer;transition:color .15s,font-size .15s}
.duration-option.selected{color:#875d55;font-size:20px;font-weight:650}
.duration-wheel-marker{position:absolute;top:51px;left:8px;right:8px;height:42px;border-top:1px solid #e8d9d0;border-bottom:1px solid #e8d9d0;border-radius:6px;background:rgba(250,244,239,.28);pointer-events:none}
.occasion-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:9px}
.occasion-card{min-width:0;display:flex;flex-direction:column;gap:6px;overflow:hidden}
.occasion-image-option{position:relative;display:flex;min-height:0;flex-direction:column;align-items:stretch;gap:0;padding:0;overflow:hidden}
.occasion-image-option input{position:absolute;top:9px;left:9px;z-index:1;width:18px;height:18px;margin:0;border:2px solid #fff;border-radius:5px;background:#fff;box-shadow:0 1px 5px rgba(34,25,20,.24);accent-color:#ad7169}
.occasion-option-image{display:block;width:100%;aspect-ratio:16/9;overflow:hidden;background:#f1ece6}
.occasion-option-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.occasion-image-option:hover .occasion-option-image img{transform:scale(1.025)}
.occasion-image-option .occasion-option-copy{display:block;padding:8px 10px}
.occasion-image-option .occasion-option-copy strong{display:block;color:inherit;font-size:11px;line-height:1.4}
.occasion-image-option.selected{border-color:#bd8278;background:#fbf2ee;color:#7e5650;box-shadow:0 0 0 1px rgba(189,130,120,.12)}
.story-intake-empty{margin:12px 0 0;padding:11px 13px;border:1px dashed #e7d9d0;border-radius:10px;background:#fbf7f3;color:#84786d;font-size:12px;line-height:1.6}
.story-purpose-heading{grid-column:1/-1;margin:8px 0 0;padding:11px 13px;border-left:3px solid #bd8278;border-radius:0 10px 10px 0;background:#fbf5f1}
.story-purpose-heading strong{display:block;color:#795d56;font-size:12px;line-height:1.4}
.story-purpose-heading p{margin:4px 0 0;color:#887b70;font-size:11px;line-height:1.6}
.bgm-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:9px}
.occasion-option{display:flex;min-height:42px;align-items:center;gap:9px;padding:9px 11px;border:1px solid #ebe4dc;border-radius:10px;background:#fffdfa;color:#71675e;font-size:11px;line-height:1.45;cursor:pointer}
.occasion-option input{flex:0 0 auto;accent-color:#ad7169}
.occasion-option.selected{border-color:#bd8278;background:#fbf2ee;color:#7e5650}
.sample-consent{align-items:flex-start;margin-top:12px;font-size:11px;line-height:1.65;color:#766b61}
.order-job-progress{display:grid;gap:4px;margin-top:7px;max-width:240px}
.order-job-progress small{font-size:10px;line-height:1.45;color:#84796f}
.order-job-progress .progress-track{height:5px;margin:0}
.sample-admin-meta{display:block;margin-top:6px;color:#897c70;font-size:10px;line-height:1.6}

.language-switch{display:inline-flex;align-items:center;gap:2px;padding:3px;border:1px solid #e7ded5;border-radius:22px;background:#fffdfa;flex:0 0 auto}
.language-option{min-width:34px;min-height:30px;padding:5px 8px;border:0;border-radius:18px;background:transparent;color:#81776e;font-size:11px;font-weight:600;line-height:1;transition:background .18s,color .18s}
.language-option[aria-pressed="true"]{background:#f1e7e2;color:#8d514c}
.language-option:focus-visible{outline:2px solid rgba(183,110,105,.45);outline-offset:2px}
@media(max-width:600px){.top-right{min-width:0;gap:7px}.language-option{min-width:32px;padding:5px 7px}.custom-theme-card .theme-custom-fields{grid-template-columns:1fr}}

.duration-trigger{width:100%;min-height:58px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:1px 10px;padding:10px 13px;border:1px solid #eae2d9;border-radius:12px;background:#fffdfa;text-align:left;color:#74675d}
.duration-trigger:hover{border-color:#bd8278;background:#fdf7f4}
.duration-trigger>span:first-child{font-size:11px;color:#92867b}
.duration-trigger strong{grid-column:1;grid-row:2;font-size:20px;line-height:1.15;color:#875d55}
.duration-trigger-hint{grid-column:2;grid-row:1/3;font-size:11px;color:#98756d}
.duration-modal-backdrop{z-index:40}
.duration-modal{width:min(390px,100%);padding:22px}
.duration-modal .duration-picker{margin-top:15px}
.duration-modal .duration-wheel{height:210px}
.duration-modal .duration-wheel-spacer{height:84px}
.duration-modal .duration-wheel-marker{top:84px}
.duration-modal .modal-actions{margin-top:15px}
.order-links-cell{min-width:360px}
.order-link-list{display:grid;gap:10px;min-width:0}
.order-link-field{display:grid;gap:5px;min-width:0}
.order-link-label{font-size:10px;color:#81776e;font-weight:600}
.order-link-control{display:flex;flex-direction:row;align-items:center;gap:6px;min-width:0}
.order-link-control .order-link-input{flex:1;min-width:0;padding:8px 9px;font-size:10px;letter-spacing:0}
.order-link-control .button{flex:0 0 auto;padding:7px 10px}
/* Keep dashboard cards inside a narrow viewport; let wide tables scroll within their card. */
@media(max-width:850px){.layout-two,.admin-grid{grid-template-columns:minmax(0,1fr)}.layout-two>*,.admin-grid>*,.order-table-wrap{min-width:0}.order-table-wrap{max-width:100%}}
@media(max-width:720px){.theme-card-select{min-height:78px;padding:12px}.custom-theme-card .theme-custom-fields{grid-template-columns:1fr}}
@media(max-width:480px){.occasion-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.duration-modal .duration-wheel{height:194px}.duration-modal .duration-wheel-spacer{height:76px}.duration-modal .duration-wheel-marker{top:76px}.order-links-cell{min-width:310px}}

.maker-dashboard-stack{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;align-items:start}

.unconfirmed-banner{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 16px;padding:13px 16px;border:1px solid #ead9c8;border-radius:14px;background:#fbf5ed;color:#755e4d;font-size:12px;line-height:1.5}
.unconfirmed-banner .button{flex:0 0 auto}
.unconfirmed-banner-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.unconfirmed-banner .helper{flex-basis:100%;text-align:right}
.unconfirmed-banner [data-action="client-confirm-all"]:disabled{opacity:.55;cursor:not-allowed;transform:none}
.points-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-width:180px;text-align:center}
.points-card-summary{display:flex;flex-direction:column;align-items:center;gap:3px}
.points-card-summary strong{font-size:28px;line-height:1.1}
.points-card-summary span{font-size:9px;letter-spacing:.12em;color:#8c7c70}
.points-card .button{white-space:nowrap}
.maker-recharge-actions{display:flex;justify-content:flex-start;margin-top:14px}
.maker-workbench-settings{max-width:760px}
.maker-workbench-settings form{max-width:560px}
.shot-card{scroll-margin-top:105px;transition:outline-color .25s,box-shadow .25s}
.shot-card-highlight{outline:3px solid rgba(183,110,105,.5);outline-offset:3px;box-shadow:0 0 0 7px rgba(183,110,105,.1),var(--shadow)}
@media(max-width:600px){.unconfirmed-banner{align-items:flex-start;flex-direction:column}.unconfirmed-banner-actions{width:100%;justify-content:flex-start}.unconfirmed-banner-actions .button{flex:1}.unconfirmed-banner .helper{text-align:left}.points-card{width:100%;min-width:0;align-items:center;text-align:center}.points-card .button{padding:9px 12px;font-size:11px}}
.image-billing-note{margin:10px 0 0}
.image-error-notice{margin:0 0 12px;color:#8e514a;background:#f9eeeb}
.ledger-filter{display:grid;grid-template-columns:minmax(180px,1fr) minmax(170px,.8fr) auto;align-items:end;gap:12px;margin:0 0 16px;padding:14px;border:1px solid #eee6dd;border-radius:14px;background:#fdfaf6}
.ledger-filter .field{gap:6px}
.ledger-category-tabs{margin:0 0 12px}
.point-delta{font-weight:700;white-space:nowrap}
.point-delta.positive{color:#57745d!important}
.point-delta.negative{color:#a5544f!important}
.pagination-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;color:#81776e;font-size:11px}
.draft-save-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:17px;padding:11px 0 3px;border-top:1px solid #eee8e2}
.draft-save-status{font-size:11px;color:#81776e}
.draft-save-status.is-saving{color:#a17642}
@media(max-width:720px){.unconfirmed-banner{align-items:flex-start;flex-direction:column}.ledger-filter{grid-template-columns:1fr}.ledger-filter .button-row .button{flex:1}.pagination-controls{align-items:flex-start;flex-direction:column}.pagination-controls .button-row{width:100%}.pagination-controls .button{flex:1}.draft-save-row{align-items:flex-start;flex-direction:column}.draft-save-row .button{width:100%}}

.shot-image{aspect-ratio:auto;min-height:0;height:auto;display:flex;align-items:center;justify-content:center;overflow:hidden}
.shot-image>.protected-image{width:100%;max-width:100%;height:auto;align-self:center;aspect-ratio:auto}
.shot-image>img,.shot-image>.protected-media{display:block;width:100%;height:auto;object-fit:contain}
.protected-media{position:relative;overflow:hidden;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.protected-image{display:block;background:#f2efeb}
.protected-image img{display:block;width:100%;max-width:100%;height:auto;max-height:none;object-fit:contain;pointer-events:none;user-select:none;-webkit-user-drag:none;-webkit-touch-callout:none}
.card-code-cell{display:flex;align-items:center;gap:8px;min-width:220px;flex-wrap:wrap}
.card-fast-recharge{display:flex;align-items:center;gap:6px;flex:1 0 100%;flex-wrap:wrap}
.card-fast-recharge .button{padding:6px 10px;font-size:10px}
.point-card-code{font:600 12px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:nowrap;color:#51483f}
.media-watermark{position:absolute;inset:0;z-index:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));align-items:center;justify-items:center;overflow:hidden;pointer-events:none;user-select:none;-webkit-user-select:none}
.media-watermark span{max-width:100%;transform:rotate(-24deg);font-size:clamp(8px,1.05vw,13px);font-weight:650;letter-spacing:.04em;white-space:nowrap;color:rgba(255,255,255,.82);-webkit-text-stroke:.25px rgba(24,20,18,.4);text-shadow:0 1px 3px rgba(0,0,0,.88),0 0 7px rgba(0,0,0,.52);opacity:.2}
.protected-video{width:100%;margin:12px 0;border-radius:13px;background:#181716;display:grid;place-items:center}
.protected-video video{display:block;width:100%;height:auto;max-height:none;object-fit:contain;background:#181716}
.protected-video .media-watermark span{opacity:.28}
.protected-media img,.protected-media video{-webkit-touch-callout:none}
.protected-image.image-load-failed{min-height:180px;display:grid;place-items:center;background:linear-gradient(135deg,#eee7e0,#f7f3ee)}
.protected-image.image-load-failed img{display:none}
.protected-image.image-load-failed::after{content:'画面暂不可用，请联系制作方';padding:18px;color:#8a7e72;font-size:12px;text-align:center}
@media(max-width:600px){.shot-image{aspect-ratio:auto;min-height:0}.media-watermark span{font-size:8px}}
.agency-logo-upload{display:grid;gap:5px;max-width:420px}.agency-logo-upload .helper{max-width:100%}.theme-file-meta{display:block;margin-top:6px;color:#8d8278;font-size:10px;overflow-wrap:anywhere}.admin-order-filter{display:flex;align-items:flex-end;gap:12px;margin:16px 0}.admin-order-filter .field{flex:1;max-width:560px}.admin-order-detail{min-width:min(760px,100%)}.modal:has(.admin-order-detail){width:min(900px,100%)}.admin-order-detail h4{margin:13px 0 8px;font:16px var(--serif);font-weight:600}.admin-order-detail-head{border-bottom:1px solid #eee7df;padding-bottom:9px;margin-bottom:10px}.admin-order-detail-head p{margin:5px 0}.admin-order-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.admin-order-detail-grid>div{min-width:0}.admin-order-detail-grid p,.admin-order-story p,.admin-order-story li{font-size:11px;line-height:1.7;color:#756c63;overflow-wrap:anywhere}.admin-order-detail-grid .field{margin-top:9px}.admin-order-story{border-top:1px solid #eee7df;margin-top:15px;padding-top:5px}.admin-order-story-item{border-left:2px solid #d9b9ac;padding:2px 0 2px 10px;margin:9px 0}.admin-order-story-item strong{font-size:11px}.admin-order-story-item p{margin:3px 0;white-space:pre-wrap}.admin-order-story ul{padding-left:18px}.admin-order-story li{margin:4px 0}.admin-order-detail .notice{margin-top:10px}.theme-current-preview{display:grid;gap:8px}.admin-order-status small{display:inline-block;margin-top:5px;line-height:1.5}
@media(max-width:700px){.admin-order-detail{min-width:0}.admin-order-detail-grid{grid-template-columns:1fr;gap:6px}.admin-order-filter{align-items:stretch;flex-direction:column}.admin-order-filter .field{max-width:none}.agency-logo-upload{width:100%}.modal:has(.admin-order-detail){width:min(100%,560px)}}
.modal.modal-wide{width:min(900px,100%)}@media(max-width:700px){.modal.modal-wide{width:min(100%,560px)}}
.staff-brief-editor{display:grid;gap:10px;margin-top:18px;padding-top:5px;border-top:1px solid #eee7df}.staff-brief-editor h4{margin:11px 0 2px}.staff-brief-editor h5{margin:9px 0 0;font-size:12px;color:#71675e}.staff-brief-editor .field{min-width:0}.staff-brief-editor .textarea{min-height:78px}.staff-acts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.staff-repeated-row{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:10px;padding:10px 0;border-bottom:1px solid #f0ebe5}.staff-repeated-row:last-child{border-bottom:0}
@media(max-width:700px){.staff-acts-grid,.staff-repeated-row{grid-template-columns:1fr;gap:8px}.staff-brief-editor .form-grid{grid-template-columns:1fr}}
.agency-contact-upload{display:grid;gap:7px;margin-top:14px;max-width:460px}.contact-image-preview{display:block;width:min(260px,100%);max-height:360px;height:auto;object-fit:contain;object-position:left center;border:1px solid #eee7df;border-radius:12px;background:#fff}.contact-image-card{display:grid;justify-items:start;gap:4px;margin:14px 0 20px}.contact-image-card .panel-head{width:100%}
.storyboard-image-frame{position:relative;display:block;width:100%;max-width:100%;height:auto;overflow:hidden;background:linear-gradient(135deg,#eee7e0,#f7f3ee)}.storyboard-image-frame img{display:block;width:100%;height:auto}.storyboard-image-frame.image-load-retrying{min-height:180px;display:grid;place-items:center}.storyboard-image-frame.image-load-retrying img,.storyboard-image-frame.image-load-failed:not(.image-load-retrying) img{display:none}.storyboard-image-frame.image-load-retrying .media-watermark{display:none}.storyboard-image-frame.image-load-retrying::after,.storyboard-image-frame.image-load-failed:not(.image-load-retrying)::after{position:absolute;inset:0;display:grid;place-items:center;padding:18px;color:#8a7e72;font-size:12px;text-align:center}.storyboard-image-frame.image-load-retrying::after{content:attr(data-retry-label)}.storyboard-image-frame.image-load-failed:not(.image-load-retrying)::after{content:attr(data-failed-label)}

/* Story-card onboarding and producer marketing entry. */
.maker-order-create-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.maker-order-create-actions .button{min-height:48px}
.maker-order-create-note{margin:11px 0 0}
.created-order-links{margin-top:12px;padding-top:11px;border-top:1px solid rgba(140,123,105,.18)}
.auth-wrap.auth-maker{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(370px,.95fr);align-items:stretch;gap:20px;max-width:1020px;margin:42px auto}
.auth-wrap.auth-admin{max-width:500px}
.maker-auth-marketing{position:relative;isolation:isolate;display:flex;flex-direction:column;min-height:510px;overflow:hidden;padding:clamp(25px,4vw,42px);border:1px solid rgba(204,174,150,.5);border-radius:25px;background:radial-gradient(circle at 91% 11%,rgba(255,255,255,.83),transparent 30%),linear-gradient(145deg,#f2e5dc 0%,#f8f1e9 53%,#eee6d9 100%);box-shadow:0 22px 60px rgba(66,48,39,.07)}
.maker-auth-marketing::before,.maker-auth-marketing::after{position:absolute;z-index:-1;content:"";border:1px solid rgba(165,124,98,.17);border-radius:50%;pointer-events:none}
.maker-auth-marketing::before{width:310px;height:310px;right:-130px;top:-113px}
.maker-auth-marketing::after{width:230px;height:230px;right:-90px;top:-73px}
.maker-auth-marketing-top{display:flex;align-items:center;gap:11px}
.maker-auth-mark{display:grid;width:34px;height:34px;place-items:center;border:1px solid rgba(157,109,97,.4);border-radius:50%;color:#a0645c;font:italic 22px var(--serif)}
.maker-auth-marketing .eyebrow{font-size:9px;letter-spacing:.15em}
.maker-auth-marketing h2{max-width:460px;margin:34px 0 12px;color:#4e433a;font:clamp(29px,3.5vw,42px)/1.25 var(--serif);font-weight:500;letter-spacing:-.025em}
.maker-auth-marketing>p{max-width:460px;margin:0;color:#75695e;font-size:12px;line-height:1.9}
.maker-auth-workflow{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:7px;margin:25px 0 22px;padding:13px 12px;border:1px solid rgba(255,255,255,.78);border-radius:15px;background:rgba(255,253,248,.66);backdrop-filter:blur(8px)}
.maker-auth-workflow>div{display:grid;gap:4px;min-width:0}
.maker-auth-workflow>div>span{color:#b08371;font-size:9px;letter-spacing:.12em}
.maker-auth-workflow strong{color:#5d4e43;font-size:10px;white-space:nowrap}
.maker-auth-workflow small{color:#928579;font-size:9px;line-height:1.4}
.maker-auth-workflow>i{color:#bc9a81;font-size:12px;font-style:normal}
.maker-auth-benefits{display:grid;gap:13px;margin-top:auto}
.maker-auth-benefits>div{display:flex;align-items:flex-start;gap:10px}
.maker-auth-benefits>div>b{display:grid;width:20px;height:20px;flex:0 0 20px;place-items:center;border-radius:50%;background:rgba(255,255,255,.72);color:#ad756a;font-size:11px}
.maker-auth-benefits>div>span{display:grid;gap:3px}
.maker-auth-benefits strong{color:#5b4e43;font-size:11px;font-weight:650}
.maker-auth-benefits small{color:#8b7e71;font-size:10px;line-height:1.55}
.auth-wrap.auth-maker .auth-card{align-self:center;width:100%;padding:clamp(22px,3vw,32px)}
.auth-trial-block{margin-top:18px}
.auth-trial-block>p{margin:0 0 9px;color:#8a8077;font-size:10px;text-align:center}
.auth-trial-link{display:flex;align-items:center;justify-content:center;min-height:44px;border-radius:12px;text-decoration:none}
.auth-small-note{margin:0;color:#978d83;font-size:10px;line-height:1.7}
.experience-upgrade-card{position:relative;display:flex;align-items:center;justify-content:space-between;gap:25px;max-width:1124px;margin:0 auto 20px;padding:clamp(20px,3vw,30px);overflow:hidden;border:1px solid #e9ded0;border-radius:20px;background:linear-gradient(112deg,#fffaf2,#f5eee6 72%,#f1e6db);box-shadow:0 12px 34px rgba(75,54,37,.045)}
.experience-upgrade-copy{position:relative;z-index:1;min-width:0;max-width:830px;flex:1}
.experience-upgrade-copy h2{margin:13px 0 8px;color:#51453b;font:25px/1.35 var(--serif);font-weight:500}
.experience-upgrade-copy p{margin:6px 0;color:#786d62;font-size:11px;line-height:1.8}
.experience-upgrade-link{display:inline-flex;align-items:center;gap:7px;margin-top:8px;color:#9b625c;font-size:11px;font-weight:650;text-decoration:none}
.experience-upgrade-link:hover{text-decoration:underline}
.experience-upgrade-seal{position:relative;display:flex;width:112px;height:112px;flex:0 0 112px;flex-direction:column;align-items:center;justify-content:center;border:1px solid rgba(170,132,96,.42);border-radius:50%;background:rgba(255,253,247,.65);color:#a77b62;transform:rotate(8deg)}
.experience-upgrade-seal::before{position:absolute;inset:7px;border:1px solid rgba(170,132,96,.28);border-radius:50%;content:""}
.experience-upgrade-seal span,.experience-upgrade-seal small{font-size:7px;letter-spacing:.2em}
.experience-upgrade-seal strong{margin:3px 0;text-align:center;font:italic 14px/1.05 var(--serif)}
@media(max-width:820px){.auth-wrap.auth-maker{grid-template-columns:minmax(0,1fr);max-width:560px;margin:22px auto}.maker-auth-marketing{min-height:0;padding:25px}.maker-auth-marketing h2{margin-top:22px}.maker-auth-workflow{margin:18px 0}.maker-auth-benefits{gap:10px}}
@media(max-width:600px){.maker-order-create-actions{grid-template-columns:1fr}.maker-order-create-actions .button{width:100%}.auth-wrap.auth-maker{margin:10px auto 24px;gap:13px}.maker-auth-marketing{padding:22px 18px;border-radius:19px}.maker-auth-marketing h2{font-size:30px}.maker-auth-workflow{gap:4px;padding:11px 8px}.maker-auth-workflow strong{font-size:9px}.maker-auth-workflow small{font-size:8px}.maker-auth-workflow>i{font-size:10px}.maker-auth-benefits{margin-top:2px}.auth-wrap.auth-maker .auth-card{padding:23px 18px}.experience-upgrade-card{align-items:flex-start;gap:12px;margin:0 0 15px;padding:17px 15px;border-radius:16px}.experience-upgrade-copy h2{font-size:21px}.experience-upgrade-copy p{font-size:10px}.experience-upgrade-seal{width:72px;height:72px;flex-basis:72px}.experience-upgrade-seal::before{inset:5px}.experience-upgrade-seal strong{font-size:10px}.experience-upgrade-seal span,.experience-upgrade-seal small{font-size:5px;letter-spacing:.12em}}
.button.button-confirmed:disabled{background:#dff3e2;border:1px solid #86bd91;color:#1e6a32;box-shadow:none;filter:none;opacity:1;cursor:default;transform:none}
.button.button-confirmed:disabled:hover{background:#dff3e2;transform:none}
.auth-forgot-link{display:block;margin:10px 0 2px auto;padding:5px 2px;border:0;background:transparent;color:var(--rose-dark);font-size:12px;text-decoration:underline;text-underline-offset:3px}
.auth-forgot-link:hover{color:var(--rose)}
.order-timestamps{display:flex;flex-wrap:wrap;align-items:center;gap:8px 15px;margin:0 0 17px;padding:12px 15px;border:1px solid #eee5dc;border-radius:12px;background:rgba(255,253,248,.82)}
.order-timestamps strong{color:#746858;font-size:11px;font-weight:650}
.order-timestamps span{color:#8e857c;font-size:10px;line-height:1.5}
.order-timestamps b{color:#655d54;font-weight:600}
@media(max-width:600px){.order-timestamps{gap:6px 12px;padding:10px 12px}.order-timestamps span{font-size:9px}}
.mode-cost-baselines{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:14px 0}
.mode-cost-card{display:grid;gap:7px;min-width:0;padding:14px;border:1px solid #eee5dc;border-radius:13px;background:#fffefa;color:#6e665d}
.mode-cost-card strong{font:17px var(--serif);font-weight:500;color:var(--ink)}
.mode-cost-card span{font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.mode-cost-card small{font-size:10px;line-height:1.6;color:var(--muted);overflow-wrap:anywhere}
.order-table.image-point-matrix{width:100%;min-width:0;table-layout:fixed}
.order-table.image-point-matrix th:first-child{width:84px}
.order-table.image-point-matrix th,.order-table.image-point-matrix td{padding:8px 7px;text-align:center}
.order-table.image-point-matrix .image-point-cell{min-width:0;padding:9px 6px;text-align:center}
.admin-price-matrix-wrap{max-width:100%;overflow-x:auto}
.order-table.image-point-matrix.admin-price-matrix{min-width:735px}
.admin-image-price-cell{display:grid;gap:5px;min-width:84px;text-align:left}
.admin-image-price-cell label{display:grid;grid-template-columns:34px minmax(42px,1fr);gap:4px;align-items:center;color:var(--muted);font-size:9px;line-height:1.2;white-space:nowrap}
.admin-image-price-cell .image-point-cell{width:100%;min-width:0;min-height:30px;padding:4px 5px;text-align:center;font-size:12px}
.admin-image-price-cell small{color:var(--muted);font-size:9px;line-height:1.3;white-space:nowrap}
.admin-story-price-grid{margin:10px 0}
.order-table.model-estimate-table{min-width:640px}
.model-estimate-table code{overflow-wrap:anywhere;word-break:break-word}
@media(max-width:720px){
  .mode-cost-baselines{grid-template-columns:1fr;gap:9px}
  .mode-cost-card{padding:12px}
  .image-point-matrix-wrap{overflow-x:visible}
  .admin-price-matrix-wrap{overflow-x:auto}
  .order-table.image-point-matrix.admin-price-matrix{min-width:735px}
  .order-table.image-point-matrix th:first-child{width:58px}
  .order-table.image-point-matrix th,.order-table.image-point-matrix td{padding:7px 4px;font-size:10px}
  .order-table.image-point-matrix .image-point-cell{padding:7px 4px;font-size:13px}
  .order-table.model-estimate-table{min-width:0}
  .order-table.model-estimate-table thead{display:none}
  .order-table.model-estimate-table,.order-table.model-estimate-table tbody,.order-table.model-estimate-table tr{display:block;width:100%}
  .order-table.model-estimate-table tr{margin:0 0 10px;border:1px solid #eee5dc;border-radius:12px;background:#fffefa;overflow:hidden}
  .order-table.model-estimate-table td{display:grid;grid-template-columns:minmax(112px,42%) minmax(0,1fr);gap:9px;align-items:start;padding:10px 11px;text-align:right;font-size:11px;overflow-wrap:anywhere}
  .order-table.model-estimate-table td::before{content:attr(data-label);text-align:left;color:var(--muted);font-size:10px;font-weight:600;line-height:1.5}
  .order-table.model-estimate-table td[colspan]{display:block;text-align:left}
  .order-table.model-estimate-table td[colspan]::before{content:none}
}
@media(max-width:380px){
  .order-table.image-point-matrix th:first-child{width:50px}
  .order-table.image-point-matrix th,.order-table.image-point-matrix td{padding-left:2px;padding-right:2px}
  .order-table.image-point-matrix .image-point-cell{padding:7px 3px;font-size:12px}
  .order-table.model-estimate-table td{grid-template-columns:minmax(100px,40%) minmax(0,1fr);gap:7px;padding:9px}
}

.admin-model-route-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0 18px}
.admin-model-route-card{display:grid;align-content:start;gap:6px;min-width:0;padding:13px;border:1px solid #eadfd8;border-radius:14px;background:linear-gradient(145deg,rgba(255,252,249,.98),rgba(248,239,234,.88));box-shadow:0 5px 15px rgba(74,49,40,.035)}
.admin-model-route-card>span{color:var(--rose-dark);font-size:10px;font-weight:650;letter-spacing:.035em}
.admin-model-route-card strong{color:var(--ink);font:17px/1.35 var(--serif);font-weight:500;overflow-wrap:anywhere}
.admin-model-route-card code,.admin-token-model-heading code{color:#89796f;font:10px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere;word-break:break-word}
.admin-model-route-card small{color:var(--muted);font-size:10px;line-height:1.55;overflow-wrap:anywhere}
.admin-token-price-editor{margin:17px 0 0;padding-top:4px}
.admin-token-model-grid{display:grid;gap:11px;margin-top:12px}
.admin-token-model-card{display:grid;gap:10px;min-width:0;padding:14px;border:1px solid #eadfd8;border-radius:15px;background:linear-gradient(140deg,#fffdfa 0%,#fbf5f1 100%)}
.admin-token-model-heading{display:flex;align-items:center;justify-content:space-between;gap:11px;min-width:0}
.admin-token-model-heading>div{min-width:0;display:grid;gap:3px}
.admin-token-model-heading strong{color:var(--ink);font:18px/1.35 var(--serif);font-weight:500;overflow-wrap:anywhere}
.admin-token-model-heading .step-badge{flex:0 0 auto;max-width:52%;text-align:center}
.admin-token-model-card>.helper{margin:0}
.admin-token-rate-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.admin-token-rate-item{display:grid;align-content:start;gap:10px;min-width:0;padding:10px;border:1px solid #eee4dd;border-radius:11px;background:rgba(255,255,255,.78)}
.admin-token-rate-cost{display:grid;align-content:start;gap:3px;min-width:0;min-height:43px}
.admin-token-rate-cost>span,.admin-token-rate-item>span{color:#786c63;font-size:10px;line-height:1.4}
.admin-token-rate-cost>strong,.admin-token-rate-item>strong{color:var(--ink);font-size:12px;line-height:1.45;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.admin-token-rate-cost>small,.admin-token-rate-item>small{color:var(--muted);font-size:9px;line-height:1.45}
.admin-token-rate-item>label{display:grid;gap:5px;min-width:0;color:#796f66;font-size:9px;line-height:1.4}
.admin-token-price-input{width:100%;min-width:0;min-height:35px;padding:7px 8px;font-size:12px;font-variant-numeric:tabular-nums}
.admin-token-rate-item.is-unpriced{align-content:center;min-height:96px;background:#faf7f3}
.admin-token-large-rates{padding-top:8px;border-top:1px solid #eee4dd}
.admin-token-large-rates>summary{width:fit-content;color:var(--rose-dark);font-size:10px;font-weight:650;cursor:pointer}
.admin-token-large-rates[open]>summary{margin-bottom:9px}
.admin-resolution-price-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 16px}
.admin-resolution-price-card{display:grid;align-content:start;gap:8px;min-width:0;padding:14px;border:1px solid #eadfd8;border-radius:14px;background:linear-gradient(145deg,#fffdfa,#f9f1ed)}
.admin-resolution-price-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.admin-resolution-price-heading strong{color:var(--rose-dark);font:20px/1.2 var(--serif);font-weight:500}
.admin-resolution-price-heading span{color:var(--muted);font-size:9px}
.admin-resolution-price-card>p{margin:0;color:#7c7168;font-size:10px;line-height:1.5;overflow-wrap:anywhere}
.admin-resolution-price-card>label{display:grid;gap:5px;color:#796f66;font-size:10px;line-height:1.4}
.admin-resolution-price-card .input{width:100%;min-width:0;min-height:38px;font-size:13px;font-variant-numeric:tabular-nums}
@media(max-width:980px){.admin-model-route-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){
  .admin-model-route-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:11px 0 15px}
  .admin-model-route-card{padding:11px;border-radius:12px}
  .admin-model-route-card strong{font-size:15px}
  .admin-model-route-card small{font-size:9px}
  .admin-token-model-card{padding:12px}
  .admin-token-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .admin-token-rate-item{padding:9px}
  .admin-token-rate-cost{min-height:39px}
  .admin-resolution-price-grid{grid-template-columns:1fr;gap:8px;margin:10px 0 14px}
  .admin-resolution-price-card{grid-template-columns:minmax(0,1fr) minmax(120px,.85fr);align-items:center;gap:5px 12px;padding:11px 12px}
  .admin-resolution-price-heading{grid-column:1/-1}
  .admin-resolution-price-card>p{grid-column:1/-1}
  .admin-resolution-price-card>label{grid-column:1/-1;grid-template-columns:minmax(0,1fr) minmax(100px,.8fr);align-items:center;gap:8px}
}
@media(max-width:380px){
  .admin-model-route-grid{grid-template-columns:1fr}
  .admin-model-route-card{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 9px}
  .admin-model-route-card>span,.admin-model-route-card>small{grid-column:1/-1}
  .admin-token-model-heading{align-items:flex-start;flex-direction:column}
  .admin-token-model-heading .step-badge{max-width:100%}
  .admin-token-rate-grid{grid-template-columns:1fr}
  .admin-token-rate-cost{min-height:0}
}

.package-actions-panel{margin:0 0 18px;padding:20px 22px}
.package-actions-panel .panel-head{align-items:center;flex-wrap:wrap;margin:0}
.package-actions-panel .package-download-actions{justify-content:flex-end;gap:8px}
.package-actions-panel .package-download-actions .button{white-space:nowrap}
.package-actions-panel .helper{margin:8px 0 0;text-align:right}
.package-history-panel{margin:0 0 18px}
.package-history-panel .panel-head{align-items:center}
.package-record-list{display:grid;gap:9px}
.package-record-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 15px;border:1px solid #eee6dd;border-radius:13px;background:#fffefa}
.package-record-row.is-building{border-color:#e7cdb5;background:#fffcf7}
.package-record-main{display:grid;gap:5px;min-width:0}
.package-record-main>small{color:var(--muted);font-size:10px}
.package-record-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.package-record-title strong{font-size:12px;overflow-wrap:anywhere}
.package-record-title .status-pill{padding:5px 9px}
.package-record-progress{display:flex;align-items:center;gap:8px;color:#94714f;font-size:11px}
.package-record-progress .spinner,.package-wait-notice .spinner{width:16px;height:16px;flex:0 0 16px}
.package-record-error{color:#a5544f;font-size:10px;line-height:1.5;overflow-wrap:anywhere}
.package-record-actions{flex:0 0 auto}
.package-wait-notice{display:flex;align-items:center;gap:11px;margin:0 0 13px;padding:13px 15px;border:1px solid #ead8c4;border-radius:12px;background:#fbf5eb;color:#7d684d;font-size:12px;line-height:1.7}
.package-download-hint{max-width:250px;margin:7px 0 0}
@media(max-width:720px){
  .package-actions-panel{padding:17px 15px}
  .package-actions-panel .panel-head{align-items:flex-start}
  .package-actions-panel .package-download-actions{justify-content:flex-start}
  .package-actions-panel .package-download-actions .button{padding:10px 13px;font-size:11px}
  .package-actions-panel .helper{text-align:left}
  .package-record-row{align-items:flex-start;padding:12px;gap:10px}
  .package-record-actions .button{padding:8px 11px}
}
.admin-orders-table{min-width:1480px}.admin-order-link-list{display:grid;gap:7px;min-width:330px}.admin-order-link-list .order-link-control{width:100%;min-width:0}.admin-order-link-list .order-link-input{min-width:0;flex:1}.admin-order-link-panel{margin:12px 0 16px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#fffdf9}.admin-order-link-panel h4{margin:0 0 8px}
.maker-create-confirm-skip{margin-top:16px;padding:11px 13px;border:1px solid #eee5dc;border-radius:11px;background:#fcf9f5}
.maker-link-dialog-actions .button{min-width:150px;text-align:center;text-decoration:none}
@media(max-width:720px){
  .order-table-wrap.maker-order-table-wrap{overflow:visible;padding:0}
  .order-table.maker-order-table{min-width:0;table-layout:fixed}
  .maker-order-table thead{display:none}
  .maker-order-table,.maker-order-table tbody,.maker-order-table tr{display:block;width:100%}
  .maker-order-table tr.maker-order-row{margin:0 0 13px;padding:8px 11px;border:1px solid #eee5dc;border-radius:14px;background:#fffefa;box-shadow:0 5px 16px rgba(66,48,39,.04)}
  .maker-order-table td{display:grid;grid-template-columns:82px minmax(0,1fr);gap:9px;align-items:start;width:100%;min-width:0;padding:9px 2px;border-bottom:1px solid #f2ede7!important;overflow-wrap:anywhere;line-height:1.55}
  .maker-order-table td::before{content:attr(data-label);color:#93897f;font-size:10px;font-weight:650;line-height:1.6}
  .maker-order-table td:last-child{border:0!important}
  .maker-order-table .order-links-cell{min-width:0}
  .maker-order-table .order-link-list{display:grid;gap:10px;width:100%;min-width:0}
  .maker-order-table .order-link-field{width:100%;min-width:0}
  .maker-order-table .order-link-control{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;width:100%;min-width:0;gap:6px}
  .maker-order-table .order-link-control .order-link-input{width:100%;min-width:0;flex:1 1 0;font-size:10px}
  .maker-order-table .order-link-control .button{min-width:50px;flex:0 0 auto}
  .maker-order-table .button-row{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;width:100%}
  .maker-order-table .button-row .button{width:100%;min-width:0;justify-content:center}
  .maker-link-dialog-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .maker-link-dialog-actions .button{min-width:0;width:100%;padding:11px 9px;font-size:12px}
}
@media(max-width:380px){
  .maker-guide-button{width:100%}
  .maker-order-table td{grid-template-columns:70px minmax(0,1fr);gap:7px}
}
.maker-order-create-actions .comic-create-launch{grid-column:1/-1}
.comic-create-form{display:grid;gap:5px}.comic-create-form>p{margin:0 0 8px}.comic-create-form .textarea{min-height:240px;font-family:var(--sans);white-space:pre-wrap}.comic-cost-estimate{display:grid;gap:4px;margin-top:13px;padding:13px 15px;border:1px solid #eaded3;border-radius:13px;background:linear-gradient(135deg,#f8f2ec,#fffdfa);color:#70645a;font-size:12px;line-height:1.7}.comic-cost-estimate strong{color:#8c6259}.comic-script-panel{margin-bottom:16px}.comic-script-panel summary{cursor:pointer;font-size:13px;font-weight:650;color:#766b61}.comic-script-preview{max-height:48vh;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;padding:14px;border:1px solid #eee7df;border-radius:11px;background:#faf7f3;color:#62594f;font:12px/1.8 var(--sans)}.comic-progress-panel{margin-bottom:14px}.comic-resume-notice{margin-bottom:14px}.comic-shot-card .shot-image{aspect-ratio:16/9}.comic-shot-card .shot-time{font-size:10px}
.comic-character-voice-panel{display:grid;gap:13px;margin:16px 0;padding:16px;border:1px solid #eee5dc;border-radius:14px;background:#fffdfa}.comic-character-voice-panel h3{margin:0 0 5px;font:20px var(--serif);font-weight:500}.comic-character-voice-panel>div:first-child .helper{margin:0}.comic-character-resource{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.75fr);align-items:center;gap:14px;padding:12px 0;border-top:1px solid #f0ebe5}.comic-character-resource p{margin:5px 0 0;font-size:11px;line-height:1.6}.comic-character-voice{display:grid;gap:7px;min-width:0}.comic-character-voice audio{width:100%;height:36px}.comic-voice-upload-label{position:relative;justify-self:start;overflow:hidden}.comic-voice-upload-label input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.comic-voice-upload-status{min-height:16px;color:var(--muted);font-size:11px}.comic-reference-asset{min-width:0}.comic-reference-asset img{max-width:100%;height:auto;object-fit:contain}
.maker-order-create-actions .comic-create-launch{grid-column:auto}.maker-project-name-line{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;min-width:0}.maker-project-name-line strong{min-width:0;overflow-wrap:anywhere}.maker-project-edit{flex:0 0 auto;padding:4px 8px;font-size:10px}.comic-chapter-sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.comic-chapter-sidebar-head h3{margin:2px 4px 7px}.comic-chapter-sidebar-head .button{min-height:33px;padding:6px 9px;font-size:10px}.comic-chapter-entry{display:grid;grid-template-columns:minmax(0,1fr) 30px;gap:5px;align-items:stretch}.comic-chapter-entry .comic-chapter-link{min-width:0;width:100%}.comic-chapter-title{min-width:0;overflow-wrap:anywhere}.comic-chapter-analysis{display:block;margin-top:3px;color:#a49a90;font-size:9px}.comic-chapter-delete{align-self:center;width:28px;height:28px;border:1px solid #eaded4;border-radius:9px;background:#fff;color:#9b756d;font-size:17px;line-height:1}.comic-chapter-delete:hover:not(:disabled){border-color:#d8b9ae;background:#fbf3ef}.comic-chapter-delete:disabled{opacity:.45;cursor:not-allowed}.comic-storyboard-toolbar{border-color:#e2cfc3;background:linear-gradient(135deg,#fffaf5,#fff)}
@media(max-width:600px){.comic-create-form .textarea{min-height:190px}.maker-order-create-actions .comic-create-launch{grid-column:auto}}
@media(max-width:700px){.comic-character-resource{grid-template-columns:minmax(0,1fr);gap:8px}.comic-character-voice-panel{padding:12px}.comic-character-voice-panel h3{font-size:18px}}
.comic-result-layout{display:grid;grid-template-columns:minmax(190px,235px) minmax(0,1fr);align-items:start;gap:18px;margin-top:14px}.comic-result-main{min-width:0}.comic-chapter-sidebar{position:sticky;top:98px;display:grid;gap:7px;max-height:calc(100vh - 120px);overflow:auto;padding:15px;border:1px solid #e9e1d8;border-radius:16px;background:rgba(255,254,251,.94);box-shadow:0 12px 30px rgba(66,48,39,.06)}.comic-chapter-sidebar h3{margin:2px 4px 7px;font:20px var(--serif);font-weight:500}.comic-chapter-link{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;padding:10px 11px;border:1px solid transparent;border-radius:11px;background:transparent;color:#756b61;text-align:left;font-size:11px;line-height:1.45}.comic-chapter-link>span{display:flex;align-items:flex-start;gap:8px;min-width:0}.comic-chapter-link>span>span{overflow-wrap:anywhere}.comic-chapter-link b{flex:0 0 auto;color:#a2776f;font-size:10px}.comic-chapter-link small{flex:0 0 auto;color:#a49a90;font-size:10px}.comic-chapter-link:hover{background:#f8f2ed}.comic-chapter-link.active{border-color:#ead7cf;background:#f8efea;color:#8f554f}.comic-current-chapter{margin:0 0 14px;padding:16px 18px;border:1px solid #eaded4;border-radius:14px;background:linear-gradient(135deg,#fbf5ef,#fffdfa)}.comic-current-chapter>span,.comic-current-chapter small{color:#9a8c80;font-size:10px}.comic-current-chapter h2{margin:4px 0 5px;font:23px var(--serif);font-weight:500}.shot-image-prompt-editor{margin:14px 0 0;padding:12px;border:1px solid #e9e1d8;border-radius:13px;background:#fffdfa}.shot-image-prompt-editor>summary{cursor:pointer;font-size:12px;font-weight:650;color:#756257}.shot-image-prompt-body{display:grid;gap:10px;margin-top:10px}.shot-image-prompt-body .textarea{min-height:150px;font:12px/1.75 var(--sans);overflow-wrap:anywhere}.shot-image-prompt-actions{gap:7px}.shot-image-prompt-actions .button{min-height:35px}.comic-shot-card .shot-image-prompt-editor{margin-top:12px}
@media(max-width:900px){.comic-result-layout{grid-template-columns:minmax(0,1fr)}.comic-chapter-sidebar{position:static;max-height:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.comic-chapter-sidebar h3,.comic-chapter-sidebar>.helper{grid-column:1/-1}.comic-chapter-link{align-items:flex-start;min-height:42px}}
@media(max-width:600px){.comic-result-layout{gap:12px}.comic-chapter-sidebar{grid-template-columns:minmax(0,1fr);padding:11px}.comic-chapter-link{min-height:0}.shot-image-prompt-editor{padding:10px}.shot-image-prompt-actions{display:grid;grid-template-columns:1fr}.shot-image-prompt-actions .button{width:100%}.shot-image-prompt-body .textarea{min-height:180px}}

.shot-video-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 16px;padding:18px 20px;border:1px solid #eaded6;background:linear-gradient(125deg,#fffaf7,#f8f2ed)}
.shot-video-toolbar-copy{display:flex;align-items:center;justify-content:space-between;gap:18px;min-width:0;flex:1}
.shot-video-toolbar-copy h2{margin:3px 0 5px;font-size:20px}
.shot-video-toolbar-copy .panel-subtitle{margin:0;max-width:690px}
.shot-video-resolution-field{display:grid;gap:5px;min-width:112px;color:#796e64;font-size:11px;font-weight:650}
.shot-video-resolution-field .select{min-width:112px;padding:9px 12px}
.shot-video-batch-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}
.shot-video-batch-button small,.shot-video-generate-button small{font-size:10px;opacity:.82}
.shot-video-action-row{align-items:center;gap:7px}
.shot-video-generate-button{display:inline-flex;align-items:center;justify-content:center;gap:7px}
.shot-video-status{display:inline-flex;align-items:center;min-height:34px;padding:7px 10px;border-radius:9px;background:#f4f0eb;color:#766b61;font-size:11px;line-height:1.4}
.shot-video-status.is-active{background:#f8f1e6;color:#8a6840}
.shot-video-status.is-ready{background:#edf4ee;color:#54725a}
.shot-video-status.is-error{background:#f9eeeb;color:#8e514a}
.shot-video-play-button{position:absolute;z-index:5;right:12px;bottom:12px;display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid rgba(255,255,255,.78);border-radius:50%;background:rgba(35,31,28,.78);color:white;box-shadow:0 5px 18px rgba(0,0,0,.2);backdrop-filter:blur(8px);transition:transform .18s ease,background .18s ease}
.shot-video-play-button:hover{transform:scale(1.07);background:rgba(35,31,28,.92)}
.shot-video-play-button svg{width:19px;height:19px;fill:currentColor;transform:translateX(1px)}
.shot-video-quote-list{max-height:180px;overflow:auto;padding-left:20px;color:#6d6258;font-size:12px;line-height:1.8}
.shot-video-player-modal{width:min(900px,100%);padding:18px}
.shot-video-player-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:13px}
.shot-video-player-head h3{margin:0;font-size:20px}
.shot-video-player-modal video{display:block;width:100%;max-height:70vh;border-radius:12px;background:#151311}
@media(max-width:720px){.shot-video-toolbar{align-items:stretch;flex-direction:column;padding:15px}.shot-video-toolbar-copy{align-items:stretch;flex-direction:column;gap:12px}.shot-video-batch-button{width:100%;white-space:normal;flex-wrap:wrap}.shot-video-resolution-field,.shot-video-resolution-field .select{width:100%}.shot-video-action-row .button{min-height:38px}.shot-video-play-button{right:9px;bottom:9px;width:36px;height:36px}.shot-video-player-modal{padding:13px}.shot-video-player-head h3{font-size:17px}}

body.image-overlay-open{overflow:hidden}
.generated-image-preview{position:relative;display:block;width:100%;max-width:100%;overflow:hidden;border-radius:10px;isolation:isolate}
.generated-image-preview>img{display:block;width:100%;max-width:100%;height:auto;object-fit:contain;cursor:zoom-in;-webkit-user-drag:none}
.generated-image-preview>img:focus-visible{outline:3px solid rgba(183,110,105,.8);outline-offset:-3px}
.image-edit-trigger{position:absolute;right:10px;bottom:10px;z-index:2;max-width:calc(100% - 20px);padding:9px 13px;border:1px solid rgba(255,255,255,.7);border-radius:999px;background:rgba(48,40,35,.82);backdrop-filter:blur(7px);box-shadow:0 5px 16px rgba(0,0,0,.18);color:#fff;font-size:11px;font-weight:650;opacity:0;pointer-events:none;transform:translateY(5px);transition:opacity .16s ease,transform .16s ease;white-space:nowrap}
.generated-image-preview:hover .image-edit-trigger,.generated-image-preview:focus-within .image-edit-trigger{opacity:1;pointer-events:auto;transform:translateY(0)}
.image-edit-trigger:disabled{background:rgba(48,40,35,.88);opacity:1;pointer-events:none;transform:none;cursor:wait}
.generated-image-error{position:absolute;left:8px;right:8px;bottom:8px;z-index:3;padding:8px 10px;border:1px solid #f0cfca;border-radius:9px;background:rgba(255,249,247,.96);color:#984f49;font-size:10px;line-height:1.5;overflow-wrap:anywhere}
.image-editor-backdrop{z-index:60;padding:clamp(8px,2vw,22px);overscroll-behavior:contain}
.image-editor-modal{width:min(1060px,100%);max-height:min(92vh,920px);max-height:min(92dvh,920px);padding:clamp(16px,2.4vw,26px);overscroll-behavior:contain}
.image-editor-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin:0 0 17px}
.image-editor-header h3{margin:4px 0;font-size:25px}
.image-editor-header p{margin:0;overflow-wrap:anywhere}
.image-editor-close,.image-lightbox-close{display:grid;flex:0 0 auto;place-items:center;width:38px;height:38px;border:1px solid #e9dfd6;border-radius:50%;background:#fffefa;color:#6d6259;font-size:24px;line-height:1}
.image-editor-layout{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);align-items:start;gap:22px}
.image-editor-preview{position:sticky;top:0;display:grid;gap:7px;min-width:0}
.image-editor-preview-frame{display:grid;min-height:180px;max-height:68vh;place-items:center;border:1px solid #eee6de;border-radius:13px;background:#f4f0eb}
.image-editor-preview-frame>img{width:100%;height:min(68vh,680px);object-fit:contain}
.image-editor-preview>.helper{text-align:center}
.image-editor-form{display:grid;gap:12px;min-width:0}
.image-editor-form .field{gap:7px}
.image-editor-form .textarea{font-size:12px;line-height:1.75}
.image-editor-form #image-editor-prompt{min-height:220px}
.image-editor-form #image-editor-instruction{min-height:78px}
.image-editor-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.image-editor-actions .button{width:100%;min-height:42px;padding:10px 12px;font-size:11px;line-height:1.4}
.image-editor-price-note{margin:0;padding:9px 11px;border:1px solid #eee4d8;border-radius:10px;background:#faf6f0}
.image-lightbox-backdrop{position:fixed;inset:0;z-index:75;display:grid;place-items:center;padding:54px 18px 58px;background:rgba(22,19,17,.94);backdrop-filter:blur(4px);overscroll-behavior:contain}
.image-lightbox-backdrop>img{display:block;width:auto;height:auto;max-width:min(96vw,1600px);max-height:calc(100vh - 112px);max-height:calc(100dvh - 112px);object-fit:contain;border-radius:5px;box-shadow:0 18px 65px rgba(0,0,0,.35);cursor:zoom-out}
.image-lightbox-close{position:absolute;top:16px;right:16px;z-index:1;border-color:rgba(255,255,255,.25);background:rgba(255,255,255,.94);color:#37312d}
.image-lightbox-caption{position:absolute;right:70px;bottom:17px;left:18px;color:rgba(255,255,255,.8);font-size:11px;text-align:center;overflow-wrap:anywhere}
.comic-dialogue-block{display:grid;gap:5px;margin:12px 0;padding:11px 13px;border:1px solid #eadfd6;border-left:3px solid #bd8278;border-radius:11px;background:#fcf8f4}
.comic-dialogue-block>span{color:#987168;font-size:10px;font-weight:650;letter-spacing:.02em}
.comic-dialogue-block>p{margin:0;color:#5e554d;font-size:12px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}
.comic-dialogue-block.is-inner-os{border-color:#e5e0ec;border-left-color:#9683aa;background:#f9f7fb}
.comic-dialogue-block.is-inner-os>span{color:#806e97}
@media(hover:none),(pointer:coarse){.image-edit-trigger{opacity:1;pointer-events:auto;transform:none}}
@media(max-width:760px){.image-editor-layout{grid-template-columns:minmax(0,1fr);gap:13px}.image-editor-preview{position:static}.image-editor-preview-frame{max-height:42vh}.image-editor-preview-frame>img{height:min(42vh,420px)}.image-editor-modal{padding:16px}.image-editor-form #image-editor-prompt{min-height:170px}.image-lightbox-backdrop{padding:52px 9px 58px}.image-lightbox-backdrop>img{max-width:98vw;max-height:calc(100vh - 108px);max-height:calc(100dvh - 108px)}}
@media(max-width:420px){.image-editor-actions{grid-template-columns:minmax(0,1fr)}.image-editor-actions .button{min-height:40px}.image-edit-trigger{right:7px;bottom:7px;padding:8px 11px;font-size:10px}.image-lightbox-close{top:10px;right:10px;width:36px;height:36px}}
.comic-setting-review-panel,.comic-storyboard-toolbar{margin:14px 0;padding:clamp(16px,2.4vw,24px)}
.comic-setting-review-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin-top:14px}
.comic-setting-review-card{display:grid;align-content:start;gap:9px;min-width:0;padding:12px;border:1px solid #eee6de;border-radius:13px;background:#fffdfa}
.comic-setting-review-card>div:first-child>strong{font-size:12px}
.comic-setting-review-card>div:first-child>p{margin:4px 0 0;font-size:10px;line-height:1.55}
.comic-setting-review-image{min-height:150px;border-radius:10px;overflow:hidden;background:#f5f1eb}
.comic-setting-review-image>img{width:100%;height:auto;max-height:300px;object-fit:contain}
.comic-storyboard-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px}
.comic-storyboard-toolbar>div{min-width:0;flex:1}
.comic-storyboard-toolbar h2{margin:0 0 6px;font:21px var(--serif);font-weight:500}
.comic-storyboard-toolbar>button{flex:0 0 auto}
.comic-shot-generate-button{margin-top:8px}
.panel.shot-production-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(12rem,15rem);align-items:center;gap:12px 24px;min-height:104px;margin:14px 0;padding:16px 20px;border-radius:8px;border:1px solid #dedbd6;background:#fff;box-shadow:none}
.shot-production-copy h2{margin:0 0 5px;font:500 19px var(--serif);letter-spacing:0}
.shot-production-copy .panel-subtitle{margin:0;overflow-wrap:anywhere}
.shot-production-actions{display:grid;justify-items:stretch;gap:5px;text-align:right}
.shot-production-actions .button{display:grid;justify-items:center;gap:3px;min-height:46px;border-radius:8px;white-space:normal;overflow-wrap:anywhere;letter-spacing:0}
.shot-production-actions small{font-size:11px;line-height:1.15}
@media(max-width:700px){.panel.shot-production-toolbar{grid-template-columns:minmax(0,1fr);min-height:0;padding:14px}.shot-production-actions{text-align:left}}
@media(max-width:700px){.comic-storyboard-toolbar{align-items:stretch;flex-direction:column;gap:12px}.comic-storyboard-toolbar>button{width:100%}.comic-setting-review-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}}
.sample-title-link{display:inline-flex;max-width:100%;padding:0;border:0;background:none;color:#775548;font:inherit;font-weight:700;text-align:left;text-decoration:underline;text-decoration-color:#cdb6a9;text-underline-offset:3px;cursor:pointer}
.sample-title-link:hover{color:#a36952;text-decoration-color:currentColor}
.sample-video-preview-modal{width:min(920px,100%);padding:18px}
.sample-video-preview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:13px}
.sample-video-preview-head h3{margin:5px 0 0;font:22px var(--serif);font-weight:500;overflow-wrap:anywhere}
.sample-video-preview-modal>video{display:block;width:100%;max-height:min(68vh,720px);background:#111;border-radius:12px}
.sample-video-preview-modal>.helper{margin:10px 0 0}
.maker-agency-rate{display:flex;align-items:center;gap:6px;min-width:160px}
.maker-agency-rate>.input{min-width:0;max-width:110px}
.maker-agency-rate>.button{flex:0 0 auto}
@media(max-width:760px){.sample-video-preview-modal{padding:14px}.sample-video-preview-head h3{font-size:18px}.sample-video-preview-modal>video{max-height:56vh}.maker-agency-rate{min-width:140px}}
.site-brand-mark{overflow:hidden;border:0;border-radius:12px;background:transparent}.site-brand-mark img{display:block;width:100%;height:100%;object-fit:cover}
.site-logo-settings{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:14px 0 18px;padding:15px;border:1px solid #eee5dc;border-radius:14px;background:#fffdfa}.site-logo-settings-copy{min-width:0}.site-logo-settings h3{margin:0 0 6px}.site-logo-settings .helper{margin:0 0 10px}.site-logo-settings .button-row{flex-wrap:wrap}.site-logo-settings .site-logo-picker{position:relative;overflow:hidden}.site-logo-settings .site-logo-picker input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.site-logo-preview{width:96px;height:96px;flex:0 0 96px;object-fit:cover;border-radius:18px;border:1px solid #eadfd3;background:#f7f1eb}.agency-logo-picker{position:relative;overflow:hidden}.agency-logo-picker input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
@media(max-width:600px){.site-logo-settings{align-items:flex-start;flex-direction:column-reverse}.site-logo-preview{width:76px;height:76px;flex-basis:76px}}
.site-logo-admin-section{margin-bottom:18px;background:linear-gradient(145deg,#fffdfa,#faf5ef);border:1px solid #e8ddd1}.site-logo-admin-section>h2{margin:0 0 6px}.site-logo-admin-section>p{margin:0 0 8px}.site-logo-admin-section .site-logo-settings{margin:0;padding:0;border:0;background:transparent}.site-logo-admin-section .site-logo-preview{width:116px;height:116px;flex-basis:116px;object-fit:contain;padding:8px;background:#fff;border-radius:18px}@media(max-width:600px){.site-logo-admin-section .site-logo-preview{width:92px;height:92px;flex-basis:92px}}
.payment-package-row{grid-template-columns:minmax(155px,1.3fr) repeat(3,minmax(92px,.7fr)) auto;align-items:end;gap:12px;margin:12px 0;padding:15px;border:1px solid #e9e1d8;border-radius:15px;background:linear-gradient(145deg,#fffefa,#fbf7f1)}
.payment-package-row .package-description-field{grid-column:1/-1}
.payment-package-row .package-description-field .textarea{min-height:64px;padding:10px 12px;font-size:12px}
.payment-package-row .package-active-field{align-self:center;min-height:42px;align-items:center;white-space:nowrap}
.recharge-modal{width:min(650px,100%);padding:clamp(18px,3.2vw,29px)}
.recharge-modal-heading .eyebrow{display:block;margin-bottom:6px}
.recharge-modal-heading h3{margin-bottom:5px}
.recharge-modal-heading p{margin:0 0 17px}
.recharge-mode-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:0 0 17px;padding:5px;border:1px solid #eee6de;border-radius:15px;background:#f7f3ee}
.recharge-mode-tabs button{min-height:40px;border:0;border-radius:11px;background:transparent;color:#81766c;font-size:12px;font-weight:650;transition:background .18s,color .18s,box-shadow .18s}
.recharge-mode-tabs button.active{background:#fffefa;color:#975550;box-shadow:0 3px 12px rgba(66,48,39,.09)}
.recharge-mode-tabs button:focus-visible{outline:2px solid #bd8278;outline-offset:2px}
.recharge-online-panel[hidden],.recharge-card-panel[hidden]{display:none!important}
.recharge-package-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.recharge-package-card{position:relative;display:flex;flex-direction:column;gap:8px;min-width:0;min-height:174px;padding:15px;border:1px solid #e9e1d8;border-radius:15px;background:linear-gradient(155deg,#fffefa 4%,#faf5ef 100%);cursor:pointer;transition:transform .18s,border-color .18s,box-shadow .18s}
.recharge-package-card:hover{transform:translateY(-2px);border-color:#d9b8ae;box-shadow:0 12px 26px rgba(54,38,27,.08)}
.recharge-package-card:has(input:checked){border-color:#b76e69;box-shadow:0 0 0 2px rgba(183,110,105,.15),0 12px 26px rgba(54,38,27,.07)}
.recharge-package-card input{position:absolute;top:12px;right:12px;width:16px;height:16px;margin:0;accent-color:#a9615c}
.recharge-package-topline{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-right:23px;color:#907c6c;font-size:10px;letter-spacing:.02em}
.recharge-package-topline strong{color:#975550;font:22px/1.1 var(--serif);font-weight:600;white-space:nowrap}
.recharge-package-name{font:18px/1.3 var(--serif);font-weight:550;color:#302a25;overflow-wrap:anywhere}
.recharge-package-description{flex:1;color:#776e65;font-size:11px;line-height:1.65;overflow-wrap:anywhere}
.recharge-package-description.is-empty{color:#a1988e}
.recharge-package-foot{padding-top:7px;border-top:1px solid rgba(221,211,201,.7);color:#9c8d80;font-size:9px}
.recharge-methods{margin-top:18px}
.recharge-section-label{display:block;margin-bottom:8px;color:#625d56;font-size:11px;font-weight:650}
.recharge-method-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.recharge-method-option{display:flex;align-items:center;gap:9px;min-height:43px;padding:9px 12px;border:1px solid #e9e1d8;border-radius:12px;background:#fffefa;color:#645b53;font-size:11px;cursor:pointer}
.recharge-method-option:has(input:checked){border-color:#bd8278;background:#fcf5f1;box-shadow:0 0 0 2px rgba(183,110,105,.1)}
.recharge-method-option input{margin:0;accent-color:#a9615c}
.recharge-availability-notice{margin:0 0 10px}
.recharge-empty-state{display:grid;justify-items:center;gap:6px;margin-top:12px;padding:22px 14px;border:1px dashed #dfd3c7;border-radius:14px;background:rgba(250,246,240,.75);text-align:center}
.recharge-empty-icon{color:#b76e69;font-size:22px}
.recharge-empty-state strong{font:17px var(--serif);font-weight:550}
.recharge-empty-state>span:last-child{color:#897e73;font-size:11px;line-height:1.6}
.recharge-card-intro{margin:0 0 15px!important;padding:12px 14px;border:1px solid #eee6de;border-radius:12px;background:#faf6f1;color:#776e65!important}
.recharge-card-panel .field{margin-top:8px}
.recharge-card-panel .input{letter-spacing:.08em;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.recharge-modal .modal-actions{margin-top:18px}
.recharge-modal .modal-actions .button-primary:disabled{opacity:.48;cursor:not-allowed;transform:none;box-shadow:none}
@media(max-width:720px){.payment-package-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.payment-package-row .package-name-field,.payment-package-row .package-description-field{grid-column:1/-1}}
@media(max-width:520px){.recharge-modal{padding:17px}.recharge-package-grid{grid-template-columns:1fr}.recharge-package-card{min-height:150px}.recharge-method-grid{grid-template-columns:1fr}.recharge-modal .modal-actions{display:grid;grid-template-columns:minmax(0,1fr)}.recharge-modal .modal-actions .button{width:100%}}
.wechat-native-payment-modal{width:min(620px,100%)}
.wechat-native-payment-modal>.eyebrow{display:block;margin-bottom:6px}
.wechat-native-payment-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:22px;margin-top:17px;padding:16px;border:1px solid #eee6df;border-radius:16px;background:#fbf8f4}
.wechat-native-qr-frame{display:grid;place-items:center;min-width:0;min-height:260px;padding:6px;border-radius:12px;background:#fff}
.wechat-native-qr-frame canvas,.wechat-native-qr-frame img{display:block;width:min(248px,100%);height:auto;image-rendering:pixelated}
.wechat-native-payment-summary{display:grid;gap:10px;min-width:0;color:#776e64;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.wechat-native-expiry{color:#8d7771;font-variant-numeric:tabular-nums}
.wechat-native-amount{font:36px var(--serif);font-weight:500;color:var(--rose-dark)}
.wechat-native-payment-summary code{font-size:10px;overflow-wrap:anywhere}
.wechat-native-payment-modal .modal-actions{flex-wrap:wrap}
@media(max-width:560px){.wechat-native-payment-modal{padding:17px}.wechat-native-payment-layout{grid-template-columns:minmax(0,1fr);gap:12px;padding:11px}.wechat-native-qr-frame{min-height:220px}.wechat-native-payment-summary{text-align:center}.wechat-native-amount{font-size:31px}.wechat-native-payment-modal .modal-actions{display:grid;grid-template-columns:minmax(0,1fr)}.wechat-native-payment-modal .modal-actions .button{width:100%}}

.comic-voice-designer{width:100%;margin:2px 0 3px;border:1px solid #ecdcd8;border-radius:11px;background:linear-gradient(135deg,#fff9f7,#fff)}
.comic-voice-designer>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;color:#814d49;font-size:11px;font-weight:700;cursor:pointer;list-style:none}
.comic-voice-designer>summary::-webkit-details-marker{display:none}
.comic-voice-designer>summary::after{content:"＋";flex:0 0 auto;color:#a76b65;font-size:15px;font-weight:500}
.comic-voice-designer[open]>summary::after{content:"−"}
.comic-voice-designer>summary span{margin-left:auto;color:#94847f;font-size:9px;font-weight:500;text-align:right}
.comic-voice-designer form{display:grid;gap:10px;padding:0 11px 12px}
.comic-voice-designer .field{gap:5px}
.comic-voice-designer .field label,.comic-voice-designer .field-label{font-size:10px}
.comic-voice-designer .textarea{min-height:76px;padding:9px 10px;font-size:11px;line-height:1.65}
.comic-voice-designer .helper{font-size:9px}
.comic-voice-design-actions{display:flex;align-items:end;justify-content:space-between;gap:8px}
.comic-voice-design-actions>.field{min-width:105px;max-width:155px}
.comic-voice-design-actions .select{min-height:34px;padding:7px 9px;font-size:10px}
.comic-voice-design-result{display:grid;gap:8px;padding:10px;border:1px solid #e8d9d5;border-radius:10px;background:#fff}
.comic-voice-design-result[hidden]{display:none}
.comic-voice-preview-head{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#79524d;font-size:10px}
.comic-voice-preview-head span{color:#93837d;font-size:9px}
.comic-voice-design-result audio{width:100%;height:36px}
.admin-ai-integrations-card{grid-column:1/-1}
.admin-ai-integrations-card .form-grid{align-items:start}
.seo-geo-card{margin-top:16px}
.seo-geo-toggle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.seo-geo-toggle{min-height:75px;padding:12px;border:1px solid #eee3e0;border-radius:12px;background:#fffafa}
.seo-geo-toggle>span{display:grid;gap:4px}
.seo-geo-toggle strong{color:#4e3d3c;font-size:11px}
.seo-geo-toggle small{color:#837672;font-size:10px;line-height:1.55}
.seo-geo-image-field{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,280px);align-items:center;gap:16px;margin:16px 0}
.seo-geo-image-field>img{display:block;width:100%;max-height:150px;object-fit:cover;border:1px solid #eadedb;border-radius:12px;background:#fff}
.seo-geo-route-links{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 16px}
@media(max-width:700px){.comic-voice-design-actions{align-items:stretch;flex-direction:column}.comic-voice-design-actions>.field{max-width:none}.comic-voice-design-actions>.button{width:100%}.seo-geo-toggle-grid{grid-template-columns:minmax(0,1fr)}.seo-geo-image-field{grid-template-columns:minmax(0,1fr)}.seo-geo-image-field>img{max-width:420px}}

/* Keep playback controls inside storyboard-free placeholders. */
.shot-image > .placeholder { display:flex; align-items:center; justify-content:center; width:100%; min-height:88px; padding:14px 72px; box-sizing:border-box; text-align:center; }

/* Direct clips occupy the same preview area as storyboard images. */
.shot-image>.shot-direct-video,.shot-image>.shot-direct-video-placeholder{display:block;width:100%;aspect-ratio:16/9;max-height:560px;object-fit:contain;background:#161316}
.shot-image>.shot-direct-video-placeholder{display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center;color:#eee4df}
.shot-direct-video-placeholder span{display:grid;place-items:center;width:50px;height:50px;border:1px solid #b1a29d;border-radius:50%;padding-left:3px}
.shot-direct-video-placeholder small{font-size:13px;color:#d1c4bf}
