.studio-shell{--paper:#f4f0e8;--ink:#142129;--muted:#555d66;--accent:#b5a896;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(56px,auto) minmax(52px,auto) minmax(180px,1fr) auto auto minmax(24px,auto);height:auto;min-height:100dvh;background:var(--paper);color:var(--ink);font:14px/1.4 Segoe UI,system-ui,sans-serif}body:has(.studio-shell){overflow-x:hidden;overflow-y:auto;background:#f4f0e8}.studio-shell>*{min-width:0}.studio-shell button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 11px;border:1px solid transparent;border-radius:6px;white-space:nowrap;font:inherit;cursor:pointer;color:inherit;background:transparent}.studio-shell button:hover:not(:disabled){background:#e7e1d7}.studio-shell button[aria-pressed=true]{background:var(--ink);color:var(--paper)}.studio-shell button[aria-pressed=true]:is(:hover,:active):not(:disabled),.studio-shell .studio-primary:active:not(:disabled){background:#2b3e49;color:var(--paper)}.studio-shell button:disabled{opacity:.38;cursor:default}.studio-shell button:focus-visible,.studio-shell input:focus-visible{outline:2px solid #142129;outline-offset:3px}.studio-header{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:5px 18px;border-bottom:1px solid #d6d0c6}.studio-header>img{-o-object-fit:contain;object-fit:contain;flex-shrink:0;width:88px;height:44px}.studio-context{display:flex;flex:1 1 180px;flex-direction:column;gap:2px;min-width:0}.studio-context strong{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.studio-context>span{color:var(--muted);font-size:12px}.studio-header-actions{margin-left:auto;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px 6px;min-width:0}.studio-header-actions .studio-primary{background:var(--ink);color:var(--paper);padding-inline:16px}.studio-header-actions .studio-primary:hover:not(:disabled){background:#2b3e49}.studio-toolstrip{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 16px;padding:4px 18px;border-bottom:1px solid #d6d0c6;overflow:visible}.studio-toolgroup,.studio-history{display:flex;flex-wrap:wrap;gap:4px;align-items:center;min-width:0}.studio-history{border-left:1px solid #d6d0c6;padding-left:12px}.studio-workspace{min-height:calc(100dvh - 230px);display:flex;flex-direction:column;background:#242a2e;color:#f4f0e8}.studio-panes{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);gap:1px;background:#596064}.studio-panes.is-comparison{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-pane{min-width:0;min-height:0;display:flex;flex-direction:column;background:#242a2e}.studio-pane-title{display:flex;align-items:center;gap:12px;padding:5px 16px;color:#f4f0e8;font-weight:600;font-size:13px}.studio-pane-title>span{margin-left:auto;font-size:11px;font-weight:400;color:#bfc6c9}.studio-photo-area{flex:1;min-height:0;position:relative;overflow:hidden;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.studio-photo-area canvas{position:absolute;left:50%;top:50%;max-width:none;max-height:none}.studio-brush-cursor{position:absolute;border:1px solid white;outline:1px solid #142129;border-radius:50%;pointer-events:none;transform:translate(-50%,-50%)}.studio-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;min-height:58px;gap:8px 16px;padding:6px 16px;overflow:visible;border-top:1px solid #d6d0c6}.studio-controls label{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:13px}.studio-controls input{width:105px;accent-color:#142129;height:26px}.studio-controls output{width:42px;color:#555d66;font-variant-numeric:tabular-nums;font-size:12px}.studio-view-selector{display:flex;flex-wrap:wrap;justify-content:center;gap:2px;margin-right:auto}.studio-view-selector button{padding-inline:10px}.studio-strength{position:relative}.studio-strength summary{cursor:pointer;padding:12px 8px;font-size:12px;white-space:nowrap}.studio-strength>div{position:absolute;bottom:calc(100% + 10px);right:0;z-index:10;padding:16px;background:var(--paper);border:1px solid #b5a896;border-radius:6px;box-shadow:0 6px 22px #0003}.studio-strength summary:focus-visible{outline:2px solid #142129;outline-offset:2px}.studio-status{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 12px;padding:2px 18px;color:#555d66;font-size:11px;border-top:1px solid #dfd9cf;overflow-wrap:anywhere}.studio-loading{margin:auto}.studio-error{background:#f4e3cf;color:#58370e;padding:8px 16px;font-size:13px}.studio-image-info{display:flex;flex-wrap:wrap;gap:3px 16px;padding:7px 16px;background:#30373b;color:#f4f0e8;font-size:12px}.studio-command-panel{border-top:1px solid #d6d0c6;padding:0 18px}.studio-command-panel>summary{padding:8px 0;cursor:pointer;font-size:12px;color:#555d66}.studio-command-content{max-width:960px;padding:8px 0 20px}.studio-command-content p{margin:6px 0;font-size:12px}.studio-command-content label{display:grid;gap:6px;font-size:12px}.studio-command-content textarea{resize:vertical;width:100%;background:#fffdf8;border:1px solid #b5a896;padding:8px;font:12px/1.5 monospace;color:#142129}.studio-command-buttons{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}.studio-command-buttons button{border:1px solid #b5a896}.studio-command-content pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;overflow:auto;font:11px/1.5 monospace;background:#e9e4dc;padding:12px}.studio-command-panel summary:focus-visible,.studio-command-content textarea:focus-visible{outline:2px solid #142129;outline-offset:2px}.studio-preview-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:4px 16px;background:#ded3be;color:#142129;font-size:13px}.studio-preview-bar>span{margin-right:auto}.studio-preview-bar button{border:1px solid #817767;min-height:34px}@media (prefers-reduced-motion:reduce){.studio-shell *{transition:none!important;animation:none!important}}@media (max-width:1260px){.studio-header-actions{flex-basis:100%;margin-left:0;justify-content:flex-end}.studio-history button[aria-label] span{display:none}.studio-controls input{width:80px}.studio-controls{gap:8px 12px;padding-inline:12px}.studio-controls>button span{display:none}}@media (max-width:800px){.studio-header{gap:6px 10px;padding-inline:12px}.studio-header>img{width:76px;height:38px}.studio-toolstrip{padding-inline:12px;gap:6px 10px}.studio-history{padding-left:8px}.studio-status>span:last-child{display:none}}@media (max-width:650px){.studio-shell{grid-template-rows:auto auto minmax(240px,1fr) auto auto minmax(24px,auto)}.studio-workspace{min-height:420px}.studio-header>img{width:72px;height:36px}.studio-header-actions{justify-content:flex-start}.studio-header-actions button{font-size:12px;padding-inline:8px}.studio-header-actions .studio-primary{padding-inline:12px}.studio-toolstrip{justify-content:center;gap:4px}.studio-history{border-left:0;padding-left:0;justify-content:center}.studio-view-selector{margin-right:0}.studio-controls{justify-content:center}}@media (max-width:500px){.studio-pane-title{padding-inline:10px}.studio-pane-title>span{display:none}.studio-view-selector button{padding-inline:8px;font-size:12px}}@media (max-width:430px){.studio-toolgroup{width:100%;justify-content:space-between;gap:2px}.studio-toolgroup button{padding-inline:7px;font-size:12px}.studio-toolgroup svg{display:none}.studio-header-actions button svg{display:none}}.studio-library{box-sizing:border-box;width:min(1080px,calc(100vw - 40px));height:min(780px,calc(100dvh - 40px));max-width:none;max-height:none;margin:auto;padding:0;border:1px solid #b5a896;border-radius:12px;background:#f4f0e8;color:#142129;box-shadow:0 24px 80px #0005;font:14px/1.45 Segoe UI,system-ui,sans-serif}.studio-library[open]{display:flex;flex-direction:column}.studio-library::backdrop{background:#142129a6}.studio-library *{box-sizing:border-box}.studio-library button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 12px;border:1px solid #c7bfb2;border-radius:6px;background:transparent;color:#142129;font:inherit;cursor:pointer}.studio-library button:disabled{opacity:.45;cursor:default}.studio-library button:focus-visible,.studio-library input:focus-visible{outline:2px solid #142129;outline-offset:3px}.studio-library-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px 10px;flex-shrink:0}.studio-library-eyebrow{color:#555d66;font-size:11px;letter-spacing:.05em}.studio-library h2{margin:2px 0 0;font-size:25px;font-weight:600;letter-spacing:-.025em}.studio-library .studio-library-close{border-color:transparent}.studio-library-close>span{font-size:24px;font-weight:300;line-height:1}.studio-library-scope{margin:0;padding:0 24px 16px;color:#555d66;font-size:12px;flex-shrink:0}.studio-library-columns{min-height:0;flex:1;display:grid;grid-template-columns:minmax(260px,.85fr) minmax(0,1.3fr);border-block:1px solid #d6d0c6}.studio-library-patients,.studio-library-attachments{min-height:0;min-width:0;display:flex;flex-direction:column;padding:18px 20px 12px}.studio-library-patients{border-right:1px solid #d6d0c6}.studio-library-attachments{background:#eee9e0}.studio-library h3{margin:0 0 12px;font-size:13px;font-weight:600}.studio-library-search{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:600}.studio-library-search input{-webkit-appearance:none;-moz-appearance:none;appearance:none;min-width:0;width:100%;height:44px;border:1px solid #b5a896;border-radius:6px;padding:8px 12px;background:#fffdf8;color:#142129;font:14px/1.4 Segoe UI,system-ui,sans-serif}.studio-library-help{margin:7px 0 12px;color:#555d66;font-size:12px}.studio-library-results{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}.studio-library-state{padding:22px 8px;margin:0;color:#555d66;font-size:13px}.studio-library-patient-list,.studio-library-attachment-list{list-style:none;padding:0;margin:0}.studio-library-patient-list>li+li{margin-top:5px}.studio-library .studio-library-patient{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;text-align:left;white-space:normal;padding:11px 12px;border-color:transparent}.studio-library-patient strong{font-size:13px;font-weight:600;overflow-wrap:anywhere}.studio-library-patient span{font-size:11px;color:#555d66;overflow-wrap:anywhere}.studio-library .studio-library-patient[aria-pressed=true],.studio-library .studio-library-patient[aria-pressed=true]:hover{background:#fffdf8;border-color:#817767;box-shadow:inset 3px 0 #142129}.studio-library-id{font-variant-numeric:tabular-nums}.studio-library-selected{display:flex;flex-direction:column;gap:3px;margin:0 0 16px;padding-bottom:12px;border-bottom:1px solid #d6d0c6;overflow-wrap:anywhere}.studio-library-selected strong{font-size:15px;font-weight:600}.studio-library-selected>span{color:#555d66;font-size:11px}.studio-library-empty{display:flex;align-items:center;gap:14px;min-height:130px;padding:20px 6px;color:#555d66}.studio-library-empty>span{font-size:26px;color:#817767}.studio-library-empty p{max-width:220px;font-size:13px}.studio-library-attachment-list>li{padding:14px;margin-bottom:10px;border:1px solid #d6d0c6;border-radius:6px;background:#fffdf8}.studio-library-attachment-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:4px 12px}.studio-library-attachment-heading strong{font-size:13px;font-weight:600}.studio-library-attachment-heading>span{font-size:10px;color:#555d66}.studio-library dl{margin:12px 0 0;display:grid;gap:5px;font-size:11px}.studio-library dl>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.studio-library dt{color:#555d66}.studio-library dd{margin:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.studio-library-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:12px;margin-top:10px;border-top:1px solid #d6d0c6}.studio-library-pagination>span{text-align:center;color:#555d66;font-size:10px;font-variant-numeric:tabular-nums}.studio-library-pagination button{padding-inline:9px;font-size:11px}.studio-library-failure{padding:12px 4px;color:#58370e;font-size:12px}.studio-library-failure p{margin:0 0 12px}.studio-library-footer{padding:12px 24px;flex-shrink:0}.studio-library-footer p{margin:0;color:#555d66;font-size:11px}.studio-library-footer p+p{margin-top:4px}.studio-library-photo{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:14px;margin-bottom:12px;border:1px solid #817767;border-radius:6px;background:#fffdf8}.studio-library-photo img{max-width:160px;max-height:160px;-o-object-fit:contain;object-fit:contain;border-radius:4px}.studio-library-photo p{margin:0;font-size:11px;color:#555d66}.studio-library-photo strong{font-size:13px;overflow-wrap:anywhere}.studio-library-attachment-list button{margin-top:12px;white-space:normal;text-align:left}@media (max-width:650px){.studio-library{width:calc(100vw - 20px);height:calc(100dvh - 20px);border-radius:8px}.studio-library-header{padding:14px 16px 8px}.studio-library h2{font-size:23px}.studio-library-scope{padding:0 16px 12px;font-size:11px}.studio-library-columns{display:flex;flex-direction:column;overflow:auto;overscroll-behavior:contain}.studio-library-patients,.studio-library-attachments{flex:none;padding:14px 14px 12px}.studio-library-patients{border-right:0;border-bottom:1px solid #d6d0c6}.studio-library-patients .studio-library-results{min-height:62px;max-height:240px;flex:none}.studio-library-attachments .studio-library-results{min-height:70px;max-height:320px;flex:none}.studio-library-pagination{margin-top:8px;padding-top:8px}.studio-library-empty{min-height:75px;padding-block:8px}.studio-library-footer{padding:10px 16px}.studio-library-footer p{font-size:10px}}.studio-studies{width:min(900px,calc(100vw - 24px));max-height:calc(100dvh - 24px);margin:auto;padding:20px;border:1px solid #b5a896;border-radius:10px;background:#f4f0e8;color:#142129;overflow:auto;font:14px/1.5 Segoe UI,system-ui,sans-serif}.studio-studies::backdrop{background:#142129aa}.studio-studies header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.studio-studies h2{margin:0;font-size:22px;font-weight:600}.studio-studies header p{margin:4px 0;color:#555d66;font-size:12px}.studio-studies>p{margin:14px 0}.studio-studies-actions,.studio-studies nav{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.studio-studies button{border:1px solid #b5a896;min-height:44px}.studio-studies ul{padding:0;margin:16px 0;list-style:none}.studio-studies li{padding:12px 0;display:flex;flex-wrap:wrap;gap:8px;align-items:center;border-bottom:1px solid #d6d0c6}.studio-studies li>div{margin-right:auto;display:grid;gap:3px}.studio-studies li span{color:#555d66;font-size:12px}.studio-studies nav{justify-content:space-between;margin-top:16px}.studio-studies [role=alert],.studio-studies-confirm{padding:12px;background:#f4e3cf;color:#58370e;border-radius:6px}.studio-studies-confirm p{margin:0 0 12px}.studio-studies-confirm button{margin:4px}.studio-studies .studio-study-summary{flex:1 1 100%;min-width:0;overflow-wrap:anywhere}.studio-studies figure{flex-basis:100%;margin:8px 0}.studio-studies figure canvas{max-width:160px;max-height:160px;background:#fff;border:1px solid #b5a896}.studio-studies figcaption{font-size:12px;color:#555d66}.studio-study-description{flex-basis:100%;min-width:0;padding:12px;border:1px solid #b5a896;border-radius:6px}.studio-study-description label{display:grid;gap:6px;font-weight:600}.studio-study-description input{box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:8px;border:1px solid #637583;border-radius:4px;background:#fff;color:#142129}.studio-study-description p{margin:6px 0;font-size:12px}.studio-study-description button{margin:4px 8px 0 0}.studio-catalog-transfer{margin:16px 0;padding:12px;border:1px solid #b5a896;border-radius:6px}.studio-catalog-transfer>summary{min-height:44px;padding:10px 0;box-sizing:border-box;font-size:16px;cursor:pointer}.studio-catalog-transfer p{margin:8px 0;font-size:12px}.studio-catalog-transfer strong{overflow-wrap:anywhere}.studio-studies .studio-catalog-summary{margin:8px 0}.studio-studies .studio-catalog-summary li{display:block;padding:3px 0;overflow-wrap:anywhere}.studio-restore-mode{margin:12px 0;padding:8px;border:1px solid #b5a896;border-radius:4px}.studio-restore-mode label{display:flex;align-items:center;gap:8px;min-height:44px;cursor:pointer}.studio-restore-mode input{flex:0 0 auto}@media (max-width:500px){.studio-studies{padding:14px}.studio-studies-actions button{flex:1 1 100%}.studio-studies li>div{flex-basis:100%}.studio-studies h2{font-size:20px}}.studio-pdf-dialog{width:min(740px,calc(100vw - 24px));max-height:calc(100dvh - 24px);box-sizing:border-box;margin:auto;padding:24px;border:1px solid #b5a896;border-radius:10px;background:#f4f0e8;color:#142129;overflow:auto;font:14px/1.5 Segoe UI,system-ui,sans-serif}.studio-pdf-dialog::backdrop{background:#142129aa}.studio-pdf-dialog header{display:flex;justify-content:space-between;align-items:center;gap:12px}.studio-pdf-dialog h2{margin:0;font-size:22px;font-weight:600}.studio-pdf-dialog p{font-size:12px;margin:12px 0}.studio-pdf-dialog button{min-height:44px;border:1px solid #b5a896;border-radius:5px;padding:8px 14px}.studio-pdf-dialog :is(button,input,select,textarea):focus-visible{outline:2px solid #305f6b;outline-offset:3px}.studio-pdf-options{display:grid;grid-template-columns:1fr;gap:6px;margin:20px 0;padding:16px;border:1px solid #d6d0c6;border-radius:6px}.studio-pdf-options legend{padding:0 6px;font-size:13px;font-weight:600}.studio-pdf-options label{margin-top:6px;font-size:12px;font-weight:600}.studio-pdf-options :is(input,select,textarea){box-sizing:border-box;width:100%;min-height:44px;padding:9px 11px;border:1px solid #b5a896;border-radius:4px;background:#fffefa;color:#142129;font:inherit}.studio-pdf-options textarea{resize:vertical}.studio-pdf-options p{margin:4px 0 0;color:#4d5a60}.studio-pdf-pages{display:grid;grid-template-columns:1fr 1fr;gap:16px}.studio-pdf-pages figure{margin:0;padding:12px;background:#fff;border:1px solid #d6d0c6;text-align:center}.studio-pdf-pages figcaption{font-size:12px;margin-bottom:8px}.studio-pdf-pages canvas{display:block;max-width:100%;max-height:260px;width:auto;height:auto;margin:auto}.studio-pdf-dialog .studio-pdf-download{background:#183841;color:#fff;border-color:#183841}.studio-shell .studio-pdf-download:is(:hover,:active):not(:disabled){background:#2b3e49;color:#fff;border-color:#2b3e49}.studio-pdf-dialog :disabled{opacity:.65;cursor:default}.studio-pdf-dialog [role=alert]{padding:12px;background:#f4e3cf;color:#58370e}@media (max-width:500px){.studio-pdf-dialog{padding:14px}.studio-pdf-options{padding:12px}.studio-pdf-pages{gap:8px}.studio-pdf-pages figure{padding:8px}.studio-pdf-dialog h2{font-size:20px}}.studio-ruler-layer{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:12}.studio-ruler-svg{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;overflow:visible}.studio-ruler-handle{pointer-events:auto;cursor:grab}.studio-ruler-handle:active{cursor:grabbing}.studio-measurement-bar{display:flex;flex-direction:column;gap:6px;padding:8px 14px;background:#1c2226;border-bottom:1px solid #3f484d;color:#f4f0e8;font-size:12px}.studio-measurement-controls{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px}.studio-measurement-bar button{min-height:36px;padding:0 10px;font-size:12px;border:1px solid #6c777e;border-radius:5px;color:#f4f0e8;background:#2b3338}.studio-measurement-bar button:hover:not(:disabled){background:#3a444b;color:#fff}.studio-measurement-bar button[aria-pressed=true]{background:#f4f0e8;color:#142129;border-color:#f4f0e8;font-weight:600}.studio-measurement-bar button[aria-pressed=true]:hover:not(:disabled){background:#e5dfd3;color:#142129}.studio-measurement-field{display:inline-flex;align-items:center;gap:6px;color:#e4e8ea}.studio-measurement-field select,.studio-measurement-field input{height:34px;padding:0 8px;border:1px solid #758087;border-radius:5px;background:#111619;color:#f4f0e8;font:inherit}.studio-measurement-field input{width:68px}.studio-measurement-readout{display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px;color:#e6ecef;font-variant-numeric:tabular-nums}.studio-measurement-readout strong{color:#fff;font-weight:600}.studio-measurement-disclaimer{color:#cbd5db;font-size:11px}@media (max-width: 500px){.studio-measurement-bar{padding:8px 10px}.studio-measurement-bar button{padding:0 8px;font-size:11px}.studio-measurement-field select{max-width:175px}}.studio-export-dialog{width:min(880px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;margin:auto;padding:20px;border:1px solid #b5a896;border-radius:10px;background:#f4f0e8;color:#142129;box-shadow:0 22px 55px #00000059;font:14px/1.45 Segoe UI,system-ui,sans-serif}.studio-export-dialog::backdrop{background:#0f161a9e}.studio-export-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:14px;border-bottom:1px solid #d6d0c6}.studio-export-header h2{margin:0;font-size:18px;font-weight:700}.studio-export-header p{margin:4px 0 0;color:#555d66;font-size:13px}.studio-export-header button{min-height:40px;padding:0 12px;border:1px solid #9e9383;border-radius:6px;background:#fffdf8;color:#142129;cursor:pointer;font:inherit;flex-shrink:0}.studio-export-header button:hover{background:#e7e1d7}.studio-export-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:16px}.studio-export-section{display:flex;flex-direction:column;gap:12px;padding:14px;border:1px solid #d6d0c6;border-radius:8px;background:#faf7f1}.studio-export-section h3{margin:0;font-size:15px;font-weight:600}.studio-export-radios{display:flex;flex-direction:column;gap:8px}.studio-export-radios label{display:flex;align-items:flex-start;gap:10px;padding:9px 11px;border:1px solid #cfc7bb;border-radius:6px;background:#fffdf8;cursor:pointer}.studio-export-radios label.is-selected{border-color:#142129;background:#efe9dd}.studio-export-radios label div{display:flex;flex-direction:column;gap:2px}.studio-export-radios label strong{font-size:13px}.studio-export-radios label span{font-size:11.5px;color:#555d66}.studio-export-preview-stage{display:flex;align-items:center;justify-content:center;min-height:112px;padding:8px;border-radius:6px;background:#242a2e;overflow:hidden}.studio-export-preview-stage canvas{max-width:100%;max-height:130px;width:auto;height:auto;-o-object-fit:contain;object-fit:contain}.studio-export-fields{display:flex;flex-direction:column;gap:10px}.studio-export-fields label{display:flex;flex-direction:column;gap:4px;font-size:12.5px;font-weight:500}.studio-export-fields input[type=text],.studio-export-fields select,.studio-export-fields textarea{padding:8px 10px;border:1px solid #9e9383;border-radius:6px;background:#fffdf8;color:#142129;font:inherit}.studio-export-fields label.studio-export-checkbox{flex-direction:row;align-items:flex-start;gap:8px;font-weight:400;color:#2f3a42}.studio-export-actions-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}.studio-export-dialog button.studio-export-primary,.studio-export-dialog button.studio-export-secondary{min-height:44px;padding:0 16px;border-radius:6px;font:inherit;font-weight:600;cursor:pointer}.studio-export-dialog button.studio-export-primary{border:1px solid #142129;background:#142129;color:#f4f0e8}.studio-export-dialog button.studio-export-primary:hover:not(:disabled){background:#2b3e49;color:#fff}.studio-export-dialog button.studio-export-secondary{border:1px solid #7f7567;background:#fffdf8;color:#142129}.studio-export-dialog button.studio-export-secondary:hover:not(:disabled){background:#e7e1d7;color:#142129}.studio-export-footnote{margin:12px 0 0;font-size:12px;color:#555d66}.studio-export-status{margin:10px 0 0;padding:8px 12px;border-radius:6px;background:#e3ece8;color:#123b2a;font-size:13px}.studio-export-error{margin:10px 0 0;padding:8px 12px;border-radius:6px;background:#f4e3cf;color:#58370e;font-size:13px}@media (max-width: 720px){.studio-export-dialog{padding:14px}.studio-export-grid{grid-template-columns:minmax(0,1fr)}}.studio-plans-dialog{width:min(920px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;border:1px solid #b5a896;border-radius:12px;padding:20px;background:#fcfaf5;color:#142129;font:14px/1.45 Segoe UI,system-ui,sans-serif;box-shadow:0 20px 48px #00000047}.studio-plans-dialog::backdrop{background:#14212994}.studio-plans-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:12px;border-bottom:1px solid #d6d0c6}.studio-plans-dialog>header h2{margin:0;font-size:20px}.studio-plans-dialog>header p{margin:4px 0 0;color:#4b555e;font-size:13px}.studio-plans-dialog button.studio-plans-close{min-height:40px;padding:0 14px;border:1px solid #8a7f70;border-radius:6px;background:#f4f0e8;color:#142129;font:inherit;font-weight:600;cursor:pointer}.studio-plans-dialog button.studio-plans-close:hover:not(:disabled){background:#e7e1d7}.studio-plans-banner{margin:14px 0;padding:12px 14px;border-radius:8px;background:#ede4d3;border:1px solid #b5a384;color:#142129;font-size:13px}.studio-plans-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:14px 0}.studio-plan-card{border:1px solid #cfc7ba;border-radius:10px;padding:16px;background:#fff;display:flex;flex-direction:column;gap:12px}.studio-plan-card.is-recommended{border:2px solid #142129;background:#f8f5ed}.studio-plan-tag{align-self:flex-start;padding:2px 8px;border-radius:999px;background:#142129;color:#f4f0e8;font-size:11px;font-weight:600}.studio-plan-card h3{margin:0;font-size:16px}.studio-plan-subtitle{margin:2px 0 0;color:#4b555e;font-size:12px}.studio-plan-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px}.studio-plan-price strong{font-size:24px;color:#142129}.studio-plan-price span{font-size:12px;color:#4b555e}.studio-plan-features{list-style:disc;padding-left:18px;margin:0;display:grid;gap:6px;font-size:12.5px;color:#22313a;flex:1}.studio-plans-dialog button.studio-plan-select{min-height:42px;padding:8px 14px;border:1px solid #142129;border-radius:6px;background:#142129;color:#f4f0e8;font:inherit;font-size:13px;font-weight:600;line-height:1.25;white-space:normal;text-align:center;justify-content:center;cursor:pointer}.studio-plans-dialog button.studio-plan-select[data-current=true]{background:#ded6c7;border-color:#6f6658;color:#142129}.studio-plans-dialog button.studio-plan-select:hover:not(:disabled){background:#2b3e49;color:#f4f0e8}.studio-plans-receipt{margin:12px 0 0;padding:10px 12px;border-radius:8px;background:#e3efe8;border:1px solid #7ca68d;color:#133924;font-size:12.5px}@media (max-width: 820px){.studio-plans-grid{grid-template-columns:minmax(0,1fr)}}.studio-plans-lgpd{margin-top:14px;padding:12px 14px;border-top:1px solid #d4ccc0;background:#f6f2e9;border-radius:8px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:#22313a}.studio-plans-dialog button.studio-plans-delete,.studio-plans-dialog button.studio-plans-delete-danger{min-height:36px;padding:6px 12px;border-radius:6px;font:inherit;font-size:12px;font-weight:600;cursor:pointer}.studio-plans-dialog button.studio-plans-delete{border:1px solid #8a2c1f;background:#fff;color:#7c1f13}.studio-plans-dialog button.studio-plans-delete:hover:not(:disabled){background:#fbe7e4}.studio-plans-dialog button.studio-plans-delete-danger{border:1px solid #7c1f13;background:#7c1f13;color:#fff}.studio-plans-delete-confirm{display:flex;flex-wrap:wrap;align-items:center;gap:8px;width:100%;font-weight:600;color:#5a1c0d}.studio-plans-error{margin:0;width:100%;padding:8px 10px;border-radius:6px;border:1px solid #8a2c1f;background:#fbe7e4;color:#5a1c0d;font-weight:600}.studio-auth-screen{--auth-paper: #f4f0e8;--auth-card: #fcfaf5;--auth-ink: #142129;--auth-muted: #4b555e;--auth-border: #cfc7ba;--auth-accent: #1d3542;min-height:100dvh;background:radial-gradient(circle at top left,#faf7f0,#ebe4d7);color:var(--auth-ink);font:14px/1.5 Segoe UI,system-ui,-apple-system,sans-serif;display:flex;flex-direction:column;justify-content:center;padding:24px 16px}.studio-auth-layout{width:100%;max-width:980px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.95fr);gap:28px;align-items:stretch}.studio-auth-pitch{background:#142129;color:#f4f0e8;border-radius:14px;padding:32px 28px;display:flex;flex-direction:column;justify-content:space-between;gap:24px;box-shadow:0 18px 40px #14212924}.studio-auth-brand{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.studio-auth-brand img{width:112px;height:54px;-o-object-fit:contain;object-fit:contain;background:#f4f0e8;padding:6px 10px;border-radius:8px}.studio-auth-badge{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:600;letter-spacing:.03em;text-transform:uppercase;padding:5px 10px;border-radius:999px;background:#263945;color:#f4f0e8;border:1px solid #445a68}.studio-auth-pitch h1{font-size:26px;line-height:1.25;font-weight:700;margin:0 0 10px;color:#fff}.studio-auth-pitch p{margin:0;color:#d7d4cc;font-size:14px}.studio-auth-highlights{list-style:none;padding:0;margin:0;display:grid;gap:12px}.studio-auth-highlights li{display:flex;align-items:flex-start;gap:10px;font-size:13px;color:#eae6dd}.studio-auth-highlights li strong{color:#fff}.studio-auth-legal{border-top:1px solid #2e424f;padding-top:14px;font-size:12px;color:#c5c9cc}.studio-auth-card{background:var(--auth-card);border:1px solid var(--auth-border);border-radius:14px;padding:28px;display:flex;flex-direction:column;gap:16px;box-shadow:0 12px 30px #14212914}.studio-auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;background:#eae3d6;padding:4px;border-radius:8px}.studio-auth-tabs button{min-height:42px;border:1px solid transparent;border-radius:6px;background:transparent;color:#142129;font:inherit;font-weight:600;cursor:pointer}.studio-auth-tabs button[aria-selected=true]{background:#142129;color:#f4f0e8}.studio-auth-tabs button:focus-visible,.studio-auth-form input:focus-visible,.studio-auth-submit:focus-visible{outline:2px solid #142129;outline-offset:2px}.studio-auth-form{display:flex;flex-direction:column;gap:14px}.studio-auth-form label{display:flex;flex-direction:column;gap:5px;font-weight:600;font-size:13px;color:var(--auth-ink)}.studio-auth-form input{min-height:44px;padding:0 12px;border:1px solid #aba192;border-radius:8px;background:#fff;color:var(--auth-ink);font:14px/1.4 inherit}.studio-auth-submit{min-height:46px;padding:0 18px;border:1px solid #142129;border-radius:8px;background:#142129;color:#f4f0e8;font:inherit;font-weight:600;cursor:pointer;margin-top:4px}.studio-auth-submit:hover:not(:disabled){background:#263945}.studio-auth-submit:disabled{opacity:.5;cursor:default}.studio-auth-error{margin:0;padding:10px 12px;border-radius:8px;background:#f7dfd8;border:1px solid #c97c68;color:#5a1c0d;font-size:13px}.studio-auth-note{margin:0;font-size:12px;color:var(--auth-muted)}@media (max-width: 820px){.studio-auth-layout{grid-template-columns:minmax(0,1fr);gap:16px}.studio-auth-pitch,.studio-auth-card{padding:20px 16px}.studio-auth-pitch h1{font-size:21px}}.studio-auth-disclaimer-card{width:100%;max-width:640px;margin:0 auto;background:var(--auth-card);border:1px solid var(--auth-border);border-radius:14px;padding:28px;display:flex;flex-direction:column;gap:16px;box-shadow:0 16px 36px #1421291f}.studio-auth-disclaimer-header{display:flex;align-items:flex-start;gap:12px;color:var(--auth-ink)}.studio-auth-disclaimer-header h1{margin:0 0 4px;font-size:20px;line-height:1.25}.studio-auth-disclaimer-header p{margin:0;font-size:12px;color:var(--auth-muted)}.studio-auth-disclaimer-quote{margin:0;padding:12px 14px;border-left:4px solid #142129;background:#ece5d8;border-radius:6px;font-weight:600;color:#142129}.studio-auth-disclaimer-list{margin:0;padding-left:20px;display:grid;gap:8px;font-size:13px;color:#22313a}.studio-auth-disclaimer-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:4px}.studio-auth-secondary{min-height:46px;padding:0 16px;border:1px solid #6f6658;border-radius:8px;background:#fff;color:#142129;font:inherit;font-weight:600;cursor:pointer}.studio-auth-secondary:hover{background:#eae3d6}
