/* Only studio-specific content; shared appearance tokens and shell are imported verbatim. */
[hidden]{display:none!important}
#status:empty{display:none}
.studio-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:1rem;margin-bottom:1rem}
.studio-grid .card{min-width:0}
.record{overflow-wrap:anywhere;padding:1rem;border-bottom:1px solid var(--crm-user-card-border)}
.record:last-child{border-bottom:0}
.record h3{font-size:1rem}
.record pre,.narration{white-space:pre-wrap;overflow-wrap:anywhere}
.record details{margin:1rem 0}
.actions{display:flex;align-items:center;flex-wrap:wrap;gap:.75rem}
.actions h2{margin:0 auto 0 0}
#records,#ops-content{min-width:0}
#ops-content>a.record{display:block}
.studio-content label{display:grid;gap:.35rem;margin-bottom:.8rem}
.studio-content :is(input,textarea,select):not([type=checkbox]):not([type=radio]){width:100%;min-height:38px;padding:.5rem .75rem;border:1px solid var(--crm-user-input-border);border-radius:var(--crm-user-button-radius);background:var(--crm-user-input-bg);color:var(--crm-user-main-text)}
.studio-content textarea{resize:vertical}
.studio-content form{max-width:100%}
.studio-content fieldset{border:1px solid var(--crm-user-card-border);border-radius:var(--crm-user-card-radius);padding:1rem;min-width:0;margin:1rem 0}
.studio-content fieldset legend{font-size:1rem;font-weight:600;width:auto;padding:0 .4rem}
.studio-content .error{color:#b91c1c}
.studio-content .review-media{display:block;width:min(100%,800px);margin:1rem 0;border-radius:var(--crm-user-card-radius)}
.studio-content .button{display:inline-block;text-decoration:none}
.studio-content :is(button,.button):not(.btn):not(.crm-row-action){display:inline-flex;align-items:center;justify-content:center;padding:.5rem .85rem;gap:.35rem;border:1px solid var(--crm-user-accent);border-radius:var(--crm-user-button-radius);background:var(--crm-user-accent);color:var(--crm-user-accent-text,#fff);font:inherit;cursor:pointer}
.studio-content button:disabled{opacity:.55;cursor:not-allowed}
.studio-content input[type=checkbox]{width:auto;justify-self:start}
.studio-step-nav{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:1rem}
.studio-step-nav .crm-status[aria-current=step]{background:var(--crm-user-accent-soft);color:var(--crm-user-accent)}
[data-appearance-preset="facebookLight"] > span {--preset-1:#ffffff;--preset-2:#1877f2;--preset-3:#f0f2f5;--preset-4:#e7f3ff;--preset-5:#1c1e21}
[data-appearance-preset="whiteBlack"] > span {--preset-1:#ffffff;--preset-2:#f8fafc;--preset-3:#f4f5f7;--preset-4:#111827;--preset-5:#dfe3e8}
[data-appearance-preset="linkedin"] > span {--preset-1:#ffffff;--preset-2:#0a66c2;--preset-3:#f3f2ef;--preset-4:#e8f3ff;--preset-5:#191919}
[data-appearance-preset="tealProfessional"] > span {--preset-1:#ffffff;--preset-2:#0f766e;--preset-3:#f7faf9;--preset-4:#ccfbf1;--preset-5:#17332f}
[data-appearance-preset="whatsapp"] > span {--preset-1:#075e54;--preset-2:#128c7e;--preset-3:#25d366;--preset-4:#d9fdd3;--preset-5:#ffffff}
[data-appearance-preset="practo"] > span {--preset-1:#28328c;--preset-2:#14bef0;--preset-3:#f4f8fb;--preset-4:#ffffff;--preset-5:#2d2d32}
[data-appearance-preset="slack"] > span {--preset-1:#4a154b;--preset-2:#611f69;--preset-3:#36c5f0;--preset-4:#ffffff;--preset-5:#1d1c1d}
[data-appearance-preset="fiverr"] > span {--preset-1:#003912;--preset-2:#1dbf73;--preset-3:#f5f5f5;--preset-4:#ffffff;--preset-5:#222325}
[data-appearance-preset="amazon"] > span {--preset-1:#131921;--preset-2:#232f3e;--preset-3:#ff9900;--preset-4:#eaeded;--preset-5:#ffffff}
[data-appearance-preset="flipkart"] > span {--preset-1:#2874f0;--preset-2:#ffffff;--preset-3:#f1f3f6;--preset-4:#ffe500;--preset-5:#172337}
[data-appearance-preset="google"] > span {--preset-1:#4285f4;--preset-2:#ea4335;--preset-3:#fbbc05;--preset-4:#34a853;--preset-5:#ffffff}
[data-appearance-preset="softBlue"] > span {--preset-1:#f2f6fc;--preset-2:#5b7fb5;--preset-3:#f6f9fd;--preset-4:#dfeaf8;--preset-5:#26364d}
[data-appearance-preset="softGreen"] > span {--preset-1:#f0f8f4;--preset-2:#4f8f70;--preset-3:#f6faf8;--preset-4:#dcefe5;--preset-5:#294439}
[data-appearance-preset="softPurple"] > span {--preset-1:#f6f2fb;--preset-2:#8069ad;--preset-3:#faf8fc;--preset-4:#e9e0f5;--preset-5:#403552}
[data-appearance-preset="softPeach"] > span {--preset-1:#fff5f0;--preset-2:#bd775e;--preset-3:#fff9f6;--preset-4:#f9e3d9;--preset-5:#543a31}
[data-appearance-preset="softGrey"] > span {--preset-1:#f5f6f8;--preset-2:#667085;--preset-3:#f7f8fa;--preset-4:#e4e7ec;--preset-5:#344054}
[data-appearance-preset="softOrange"] > span {--preset-1:#fff7ed;--preset-2:#c97932;--preset-3:#fffbf6;--preset-4:#fde7cb;--preset-5:#513b27}

[x-cloak]{display:none!important}

.studio-content .crm-table td{vertical-align:top;overflow-wrap:anywhere}.studio-content .crm-table td:first-child{min-width:14rem}.studio-content .crm-table details{margin-top:.65rem}.studio-content .crm-table .actions{min-width:9rem}.studio-content .crm-table pre{white-space:pre-wrap;overflow-wrap:anywhere}

/* Studio operational content, using the existing CRM appearance tokens. */
.studio-chart-row{display:grid;grid-template-columns:3.5rem minmax(0,1fr);align-items:center;gap:.75rem;margin-bottom:.75rem}
.studio-chart-bars{display:grid;gap:.3rem}.studio-chart-line{display:flex;align-items:center;gap:.5rem}.studio-chart-line span{min-width:2.5rem;text-align:right;font-variant-numeric:tabular-nums}
.studio-chart-line progress{width:100%;height:.65rem;appearance:none;border:0;border-radius:6px;overflow:hidden;background:var(--crm-user-accent-soft)}
.studio-chart-line progress::-webkit-progress-bar{background:var(--crm-user-accent-soft)}
.studio-chart-line progress::-webkit-progress-value{background:var(--crm-user-accent)}
.studio-chart-line progress::-moz-progress-bar{background:var(--crm-user-accent)}
.studio-chart-line .studio-chart-published::-webkit-progress-value{background:#16865b}
.studio-chart-line .studio-chart-published::-moz-progress-bar{background:#16865b}
.studio-activity-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.25rem .5rem;padding:.8rem 0;border-bottom:1px solid var(--crm-user-card-border)}
.studio-activity-row:last-child{border:0}.studio-activity-row small{grid-column:1/-1}.studio-activity-row a{overflow-wrap:anywhere}

.studio-filter-bar{display:flex;flex-wrap:wrap;gap:.5rem}.studio-filter-bar>*{flex:1 1 11rem;min-width:0}.studio-video-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:1rem}.studio-video-card{min-width:0;overflow:hidden;margin-bottom:0!important}.studio-video-card .card-body{display:grid;gap:.5rem}.studio-thumbnail{position:relative;aspect-ratio:16/9;background:var(--crm-user-page-bg);display:flex;align-items:center;justify-content:center;overflow:hidden;text-align:center}.studio-thumbnail img{width:100%;height:100%;object-fit:contain}.studio-duration{position:absolute;right:.5rem;bottom:.5rem;background:#111827;color:#fff;border-radius:.25rem;padding:.15rem .35rem;font-size:.75rem}.crm-table .studio-thumbnail{max-width:160px;margin-bottom:.5rem}.studio-job-journey{list-style:none;display:flex;flex-wrap:wrap;gap:.35rem;padding:0;margin:.75rem 0}.studio-stage{font-size:.72rem;padding:.25rem .4rem;border:1px solid var(--crm-user-card-border);border-radius:.25rem;color:var(--crm-user-muted-text)}.studio-stage.is-done{color:#16865b;border-color:#16865b}.studio-stage.is-current{color:var(--crm-user-accent);border-color:var(--crm-user-accent);font-weight:700}.studio-stage.is-failed,.studio-stage.is-warning{color:#b45309;border-color:#b45309}

.studio-review-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1rem;align-items:start}.studio-review-workspace>div{min-width:0}.studio-review-workspace .review-media{width:100%;margin:.75rem 0}.studio-review-workspace video,.studio-review-workspace img{aspect-ratio:16/9;object-fit:contain;background:var(--crm-user-page-bg)}.studio-review-workspace audio{max-width:100%}.studio-dialog{width:min(480px,calc(100vw - 2rem));max-height:calc(100dvh - 2rem);overflow:auto;color:var(--crm-user-main-text);background:var(--crm-user-card-bg);border:1px solid var(--crm-user-card-border);border-radius:var(--crm-user-card-radius);padding:0;margin:auto}.studio-dialog::backdrop{background:rgba(15,23,42,.48)}@media(max-width:1199px){.studio-review-workspace{grid-template-columns:1fr}}

.studio-channel-avatar{width:2.75rem;height:2.75rem;flex:0 0 2.75rem;display:grid;place-items:center;border-radius:50%;background:var(--crm-user-accent-soft);color:var(--crm-user-accent);font-weight:700}.studio-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.25rem}.studio-calendar-label{text-align:center;font-size:.75rem;color:var(--crm-user-muted-text);padding:.25rem}.studio-calendar-day{min-width:0;min-height:4rem;display:flex!important;flex-direction:column;align-items:center;justify-content:center;background:var(--crm-user-card-bg)!important;border:1px solid var(--crm-user-card-border)!important;color:var(--crm-user-main-text)!important;padding:.25rem!important;border-radius:var(--crm-user-button-radius)}.studio-calendar-day.is-selected{background:var(--crm-user-accent-soft)!important;border-color:var(--crm-user-accent)!important}.studio-calendar-day span{overflow-wrap:anywhere}.studio-cost-chart-row{display:grid;grid-template-columns:6rem minmax(0,1fr) 5rem;gap:.5rem;align-items:center;margin-bottom:.5rem}.studio-cost-chart-row progress{width:100%;accent-color:var(--crm-user-accent)}@media(max-width:575px){.studio-calendar-day{min-height:3rem;font-size:.75rem}.studio-calendar-day span{font-size:.62rem}.studio-cost-chart-row{grid-template-columns:5rem minmax(0,1fr) 4rem}}

.studio-oauth-result{width:min(100%,30rem)}
