/* Live platform layout: preserves Aswati Core's olive, clay and cream design. */
.hp{position:absolute!important;inset-inline-start:-9999px!important;width:1px;height:1px;overflow:hidden}
.form-stack{display:grid;gap:16px;margin:0}.form-stack>.button{justify-self:start}.form-stack>.field{margin:0}.form-stack>.check{margin-block:0}.form-stack>.form-feedback:empty{display:none}.editor-settings-actions{display:grid;gap:10px;margin-top:16px}.form-feedback{margin-top:18px;padding:13px 16px;border-radius:12px;font-size:12px;line-height:1.9;overflow-wrap:anywhere}
.form-feedback.success{color:#275d3b;background:#e9f3e9}.form-feedback.error,.notice.error{color:#923a31;background:#fae9e6;border:1px solid #e7b9b3}
.toast{display:flex;gap:14px;align-items:center;justify-content:space-between;background:#fffdf9;color:#34493a;border:1px solid #d3dfd2;border-inline-start:4px solid #536b58;box-shadow:0 10px 38px #22302924;padding:13px 16px;border-radius:14px;line-height:1.8}.toast.error{border-inline-start-color:#a94339}.toast .icon-button{flex:none;width:30px;height:30px;min-width:30px;padding:0}
.toast-region{position:fixed;inset-inline-end:24px;bottom:24px;z-index:10000;display:grid;gap:12px;width:calc(100% - 48px);max-width:440px;pointer-events:none}.toast-region>*{pointer-events:auto}
button[aria-busy=true]{cursor:progress}.check{display:flex;align-items:flex-start;gap:10px;margin:14px 0;font-size:12px;line-height:2}.check input{flex:none;width:18px;height:18px;margin-top:4px;accent-color:var(--clay)}.check a{text-decoration:underline;text-underline-offset:3px;color:var(--sage-dark)}
.consent-box,.clone-consent{padding:16px;background:#edf4f7;border:1px solid #d4e3eb;border-radius:14px}.consent-box .check{margin-block:8px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-grid>*{min-width:0}
.auth-wrap{max-width:550px;margin-inline:auto}.auth-wrap>.panel{padding:30px}.auth-wrap form>.button{width:100%}.auth-wrap .actions{margin-top:16px}.auth-wrap>h2,.auth-wrap>p{text-align:center}
.field input[type=file]{width:100%;padding:12px;background:var(--paper-deep);border:1px dashed #b9c8b8;border-radius:12px;cursor:pointer}.field input[type=file]::file-selector-button{border:0;background:#e7eee7;color:#34493a;padding:8px;border-radius:8px;margin-inline-end:10px;cursor:pointer}
.field input[readonly]{background:#f6f3ed;color:var(--muted)}.field input[type=range]{accent-color:var(--clay);padding:0}.field:has(input:disabled),.field:has(select:disabled){opacity:.62}.field>small{line-height:1.8}
.toolbar{align-items:flex-end}.toolbar>.field{margin-bottom:0}.voice-card{display:flex;flex-direction:column;gap:15px;min-width:0}.voice-head{display:flex;align-items:center;gap:12px}.voice-head>div{flex:1;min-width:0}.voice-head h3{font-size:15px;line-height:1.6;overflow-wrap:anywhere;margin:0 0 4px}.voice-head p{font-size:11px;margin:0}.voice-avatar{width:44px;height:44px;background:var(--cream);display:grid;place-items:center;border-radius:50%;color:var(--clay);flex:none}.voice-meta{display:flex;gap:7px;flex-wrap:wrap}.voice-style-note{font-size:11px;color:var(--muted);margin:0}.voice-bottom{display:flex;gap:10px;justify-content:space-between;align-items:center;margin-top:auto;padding-top:13px;border-top:1px solid var(--border)}.voice-bottom>span{font-size:10px}.favorite-button.is-favorite{color:var(--clay);background:#fcf0e8}.favorite-button.is-favorite svg{fill:#c9613e24}.voice-grid>.empty{grid-column:1/-1}.catalog-more{display:flex;margin:24px auto 0}
.editor-layout{margin-bottom:24px}.editor-main,.editor-settings{min-width:0}.editor-toolbar{flex-wrap:wrap}.editor-toolbar .actions{flex:none}.editor-toolbar .field{margin-bottom:0}.editor-settings{align-self:start}.editor-settings .field{display:flex;flex-direction:column}.editor-settings h3{margin-bottom:18px}.paragraph textarea{resize:vertical;min-height:165px}.paragraph-tools{gap:12px}.paragraph-tools .field{margin:0}.paragraph-tools input[type=number]{max-width:110px;padding:6px 8px;min-height:36px}.paragraph-tools label{display:grid;grid-template-columns:1fr;gap:5px;font-size:10px;text-align:center}.paragraph-tools input[type=number]{width:90px;border:1px solid var(--border-strong);border-radius:10px;background:white}.paragraph-tools .icon-button{padding:0}.paragraph+.add-paragraph,#paragraphs+.button,#paragraphs+.add-paragraph{margin-top:12px}.editor-tools{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-top:14px;gap:12px}.editor-tools input[type=file]{font-size:11px;max-width:220px}.editor-tools label{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.save-state{font-size:11px;color:var(--muted)}
#studio-result:not(:empty){margin-top:22px}#job-progress:not(:empty){margin-top:15px;padding:14px;background:#edf4ec;border:1px solid #ccdeca;border-radius:12px;font-size:12px;line-height:1.9}#job-progress progress{display:block;width:100%;margin-top:8px;accent-color:var(--clay)}#generation-estimate{font-size:12px;line-height:1.9;padding:13px;background:var(--cream);border-radius:12px;margin-block:16px}#generation-estimate:empty{display:none}.job-progress-copy{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.job-history{margin-top:24px}.job-table td{vertical-align:middle}.job-table [data-audio-player]{min-width:260px}.real-player{display:block;width:100%}
.plan-card{display:flex;flex-direction:column}.plan-body{display:flex;flex-direction:column;flex:1}.plan-body .plan-action{margin-top:auto}.plan-summary{min-height:3.8em}.plan-features{flex:1}.plan-features li{align-items:flex-start}.plan-features .plan-check{flex:none}.plan-ribbon .plan-amount{font-size:29px}.plan-current .numeric{white-space:nowrap}.pricing-grid>.plan-card:last-child{grid-column:auto;width:auto;justify-self:stretch}.plan-body .quota{line-height:1.8;margin-bottom:15px}.plan-max{color:var(--sage-dark);font-size:12px;font-weight:700;padding-block:8px;border-block:1px solid var(--border);margin-bottom:14px}
.legal-copy{max-width:900px;margin-inline:auto;line-height:2.15}.legal-copy>div{white-space:normal;overflow-wrap:anywhere}.legal-copy hr{margin-block:28px}.chat{display:grid;gap:16px;margin-block:20px}.chat-message p{white-space:normal;overflow-wrap:anywhere}.invoice .numeric{font-size:15px}.invoice table td:last-child{white-space:nowrap}.invoice .actions{margin-top:22px}
.success-icon{display:grid;place-items:center;width:64px;height:64px;background:var(--sage-soft);color:var(--sage-dark);border-radius:50%;margin:0 auto 18px}.success-icon svg{width:29px;height:29px}.table-wrap .actions{flex-wrap:nowrap}.table-wrap .empty{min-width:220px}.empty>svg{width:40px;height:40px;color:var(--sage)}.empty h3{margin-block:12px}.empty p{max-width:540px;margin-inline:auto}.pagination{display:flex;gap:8px;justify-content:center;margin-block:22px}.section-title .actions{margin-inline-start:auto}
.admin-open .admin-sidebar{transform:none!important}.admin-open .admin-backdrop{display:block}.admin-nav a[hidden]{display:none!important}.admin-sidebar .brand-name,.admin-sidebar .brand small{color:white}.admin-sidebar .brand{padding-inline:10px}.admin-sidebar footer .button{color:#fff;border-color:#ffffff40;background:#ffffff12}.admin-sidebar footer .button:hover{color:var(--footer-interaction);background:#ffffff20}.admin-main .admin-content{min-width:0}.admin-area{min-width:0}.footer-minimal{text-align:center;padding:20px;font-size:11px;color:var(--muted)}.footer-minimal a{color:var(--clay)}
.dialog[open]{display:block}.dialog{width:min(620px,calc(100% - 32px));padding:0;color:var(--ink);border:1px solid var(--border);border-radius:20px;background:var(--paper);max-height:88dvh;box-shadow:0 25px 90px #1b332b40}.dialog::backdrop,.drawer::backdrop{background:#19312477;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 24px;border-bottom:1px solid var(--border)}.dialog-head h2{margin:0;font-size:19px}.dialog-body{padding:24px;overflow:auto;max-height:calc(88dvh - 90px)}.dialog-body .table-wrap{margin-bottom:20px}.drawer{inset:0 auto 0 0;margin:0;border:0;background:var(--paper);height:100dvh;max-height:none;width:min(360px,92vw);padding:22px;border-radius:0 20px 20px 0}.drawer[open]{display:block}[dir=rtl] .drawer{inset:0 0 0 auto;border-radius:20px 0 0 20px}.drawer>header{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:20px}.drawer-nav{display:grid;gap:4px}.drawer-nav a{display:flex;align-items:center;gap:12px;padding:12px;border-radius:10px}.drawer-nav a.active{color:var(--clay);background:var(--cream)}
@media(max-width:1040px){.pricing-grid>.plan-card:last-child{grid-column:auto;width:auto}.voice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.plan-summary{min-height:0}.plan-ribbon .plan-amount{font-size:28px}.voice-grid{grid-template-columns:1fr}.voice-card{padding:18px}.voice-head h3{font-size:16px}.voice-head p,.voice-bottom>span{font-size:11px}.form-grid{grid-template-columns:1fr}.auth-wrap>.panel{padding:23px 18px}.check{font-size:11px}.editor-toolbar>.field{width:100%;flex-basis:100%}.editor-toolbar .actions{justify-content:stretch}.editor-toolbar .actions .button{flex:1}.editor-settings{width:100%}.paragraph textarea{min-height:150px}.paragraph-tools{justify-content:flex-end}.paragraph-tools .field>span{font-size:10px}.paragraph-tools input[type=number]{width:80px}.toast-region{inset-inline:14px;bottom:84px;width:calc(100% - 28px)}.page-admin .toast-region{bottom:18px}.invoice .brand-name{font-size:23px}.invoice-head h2{font-size:19px}.plan-current .numeric{font-size:30px}.voice-bottom .button{min-height:40px}.section-title .actions{width:100%;margin:0}.toolbar .field{min-width:120px}.site-footer .footer-col:last-child{display:block}.footer-grid>div:last-child{display:block}}
@media print{.invoice{margin:0;max-width:none}.invoice h2{font-size:20px}.invoice .brand small{display:block}.invoice .table-wrap{border:0}.invoice td,.invoice th{padding:12px}.footer-minimal{display:none}}

.plan-card .plan-features .unavailable{color:#8c8c84}.avatar-preview{width:88px;height:88px;object-fit:cover;border-radius:24px;border:1px solid var(--border);margin-bottom:18px}
