:root{--ink:#201a3a;--muted:#77728a;--page:#faf9fd;--surface:#fff;--primary:#7555e8;--primary-dark:#5e3bd0;--lavender:#f0ebff;--coral:#ff827c;--line:#eae7f2;--success:#27856b;--danger:#c14450;--shadow:0 18px 52px rgba(54,39,95,.055);--display:"Manrope","DM Sans",system-ui,sans-serif;--body:"DM Sans",Inter,system-ui,sans-serif;scrollbar-color:#c9bdf5 #f4f1fa;scrollbar-width:thin}*{box-sizing:border-box}html{min-height:100%;background:var(--page)}body{margin:0;color:var(--ink);font:15px/1.5 var(--body);background:var(--page);min-height:100vh}button,input,textarea,select{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid rgba(117,85,232,.28);outline-offset:2px}::selection{background:#e9e0ff;color:var(--ink)}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:#f4f1fa}::-webkit-scrollbar-thumb{background:#c9bdf5;border:2px solid #f4f1fa;border-radius:99px}::-webkit-scrollbar-thumb:hover{background:#ab98ee}.app-shell{min-height:100vh}.sidebar{width:254px;position:fixed;inset:0 auto 0 0;z-index:5;background:#fff;border-right:1px solid #efedf4;padding:28px 18px 18px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;padding:0 10px;margin-bottom:47px;color:var(--ink);text-decoration:none}.brand-mark{width:35px;height:35px;background:var(--primary);border-radius:12px;display:grid;place-items:center;box-shadow:0 7px 16px rgba(117,85,232,.24)}.brand-mark svg{width:21px;fill:#fff}.brand-mark svg path+path{fill:var(--coral)}.brand-name{font:800 19px/1 var(--display);letter-spacing:-.8px}.brand-name span{font-weight:600;color:var(--primary)}.side-caption{padding:0 12px;color:#aaa5b7;font-size:10px;letter-spacing:1.45px;font-weight:700;margin-bottom:12px}.feature-nav{display:grid;gap:5px}.nav-item{appearance:none;border:0;background:transparent;color:#77728a;border-radius:12px;display:flex;align-items:center;gap:12px;padding:12px 12px;text-align:left;font-weight:600;font-size:13px;transition:background .18s,color .18s;min-height:46px}.nav-item:hover{background:#f8f6fd;color:var(--ink)}.nav-item[aria-current="page"]{background:var(--lavender);color:var(--primary-dark)}.nav-icon{width:21px;height:21px;display:grid;place-items:center;flex:none}.nav-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.nav-item[aria-current="page"] .nav-icon{color:var(--primary)}.nav-label{flex:1}.nav-arrow{font-size:17px;color:#a394d6;opacity:0}.nav-item[aria-current="page"] .nav-arrow{opacity:1}.sidebar-bottom{margin-top:auto;background:#f7f4ff;border:1px solid #f0eaff;border-radius:16px;padding:16px 14px 14px;position:relative;overflow:hidden}.sidebar-bottom:after{content:"";position:absolute;width:78px;height:78px;border:1px solid rgba(117,85,232,.14);border-radius:50%;right:-27px;top:-40px}.server-note-icon{color:var(--coral);font-size:17px}.server-note-title{font:700 12px var(--display);margin:7px 0 3px}.server-note-copy{font-size:11px;line-height:1.5;color:var(--muted);margin:0}.setup-link{display:inline-flex;gap:5px;align-items:center;color:var(--primary-dark);font-size:11px;font-weight:700;margin-top:10px;text-decoration:none}.setup-link:hover{text-decoration:underline}.sidebar-footer{border-top:1px solid #f0eef4;margin-top:17px;padding:14px 7px 0;color:#9b96a8;font-size:11px;display:flex;align-items:center;gap:8px}.status-dot{width:7px;height:7px;border-radius:50%;background:#5ac39a;box-shadow:0 0 0 3px #eaf8f1}.main-area{margin-left:254px;min-height:100vh}.topbar{height:68px;padding:0 42px;border-bottom:1px solid #efedf4;background:rgba(255,255,255,.86);display:flex;align-items:center;justify-content:space-between}.breadcrumb{display:flex;align-items:center;gap:10px;color:#9a95a7;font-size:12px}.breadcrumb strong{color:#39334d;font-weight:600}.crumb-slash{color:#d2cedb}.topbar-right{display:flex;align-items:center;gap:19px}.topbar-note{font-size:11px;color:#8a8499}.sparkle-dot{color:var(--coral);font-size:15px;vertical-align:-1px;margin-right:4px}.avatar{width:31px;height:31px;display:grid;place-items:center;border-radius:50%;background:#f0ebff;color:#6544d3;font-weight:700;font-size:12px;border:1px solid #e3dafd}.workspace{max-width:1440px;margin:0 auto;padding:39px 42px 24px}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:27px}.eyebrow{display:flex;align-items:center;gap:8px;color:#938ba5;font-size:9px;font-weight:700;letter-spacing:1.7px}.eyebrow-rule{width:18px;height:2px;background:var(--coral);border-radius:4px}.page-heading h1{font:800 clamp(27px,3vw,36px)/1.2 var(--display);letter-spacing:-1.35px;margin:10px 0 7px}.title-period{color:var(--coral)}.page-description{font-size:13px;color:var(--muted);margin:0}.heading-badge{display:flex;align-items:center;gap:8px;border:1px solid #e9e1ff;background:#fff;border-radius:99px;padding:8px 12px;color:#6e58ac;font-size:11px;font-weight:600;margin-bottom:3px}.heading-badge-icon{color:var(--coral)}.workspace-grid{display:grid;grid-template-columns:minmax(330px,.88fr) minmax(420px,1.12fr);gap:19px;align-items:stretch}.form-card,.result-card{background:var(--surface);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);min-width:0}.form-card{padding:23px 24px 17px}.result-card{padding:23px 24px 18px;display:flex;flex-direction:column;min-height:660px}.card-heading{display:flex;align-items:center;gap:12px;padding-bottom:19px;border-bottom:1px solid #f0edf5;margin-bottom:17px}.card-heading-icon{width:39px;height:39px;background:#f3efff;border-radius:13px;display:grid;place-items:center;color:var(--primary)}.card-heading-icon svg{width:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}.card-heading h2,.result-topline h2{font:700 16px var(--display);letter-spacing:-.35px;margin:0}.card-heading p{margin:3px 0 0;color:#9a95a7;font-size:11px}.form-fields{display:grid;gap:15px}.field{display:grid;gap:6px;min-width:0}.field-label{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#464054;font-size:11px;font-weight:700}.optional{color:#aaa5b3;font-size:10px;font-weight:500}.field-help{color:#9993a5;font-size:10px;line-height:1.45;margin-top:-2px}.text-control,.select-control,.textarea-control{width:100%;border:1px solid #e9e6ef;border-radius:11px;background:#fff;padding:11px 12px;color:var(--ink);font-size:12px;transition:border-color .16s,box-shadow .16s}.text-control::placeholder,.textarea-control::placeholder{color:#b0abba}.text-control:hover,.select-control:hover,.textarea-control:hover{border-color:#d6cdec}.text-control:focus,.select-control:focus,.textarea-control:focus{border-color:#a28ce9;box-shadow:0 0 0 3px rgba(117,85,232,.09);outline:0}.select-control{appearance:none;padding-right:35px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none' stroke='%23847d91' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 5 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}.textarea-control{min-height:82px;resize:none;line-height:1.5}.textarea-control.tall{min-height:112px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}.choice-row{display:flex;gap:7px;flex-wrap:wrap}.choice-chip{position:relative}.choice-chip input{position:absolute;opacity:0;inset:0;width:100%;height:100%;cursor:pointer}.choice-chip span{display:inline-flex;align-items:center;justify-content:center;min-width:68px;min-height:35px;border:1px solid #e9e6ef;border-radius:10px;padding:6px 11px;color:#77728a;background:#fff;font-size:11px;font-weight:600;transition:.16s}.choice-chip input:checked+span{border-color:#b8a9ef;background:#f4f0ff;color:#5e3bd0}.choice-chip input:focus-visible+span{outline:3px solid rgba(117,85,232,.25);outline-offset:2px}.upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.upload-slot{min-width:0;position:relative;min-height:107px;border:1px dashed #d8d2e4;border-radius:12px;background:#fcfbfe;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:10px;transition:.16s}.upload-slot:hover,.upload-slot:focus-within{border-color:#a891ea;background:#faf8ff}.upload-slot input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.upload-icon{width:26px;height:26px;border-radius:9px;background:#f0ebff;display:grid;place-items:center;color:#7657dc;margin-bottom:6px}.upload-icon svg{width:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.upload-title{color:#4f4960;font-size:10px;font-weight:700}.upload-subtitle{color:#aaa4b2;font-size:9px;margin-top:2px}.upload-preview{position:absolute;inset:0;background:#fff;border-radius:11px;display:none;overflow:hidden}.upload-preview img{width:100%;height:100%;object-fit:cover}.upload-preview .file-name{position:absolute;left:6px;right:29px;bottom:6px;background:rgba(32,26,58,.76);color:#fff;border-radius:6px;padding:4px 6px;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.remove-image{position:absolute;top:5px;right:5px;width:23px;height:23px;display:grid;place-items:center;border:0;border-radius:50%;background:#fff;color:#6b6277;box-shadow:0 2px 6px #0002;font-size:15px;z-index:2}.remove-image:hover{color:var(--danger)}.check-row{display:flex;align-items:flex-start;gap:9px;padding:11px 12px;border:1px solid #eeeaf5;background:#fcfbfe;border-radius:11px}.check-row input{accent-color:var(--primary);margin:2px 0 0}.check-row label{font-size:11px;color:#504b5c;font-weight:600}.check-row small{display:block;color:#9993a5;font-weight:400;margin-top:2px}.idea-button{border:0;background:transparent;color:var(--primary-dark);font-size:10px;font-weight:700;padding:3px 0}.idea-button:hover{text-decoration:underline}.idea-options{display:grid;gap:7px;margin:12px 0 4px}.idea-option{border:1px solid #e9e3f7;border-radius:10px;background:#fcfbff;padding:10px 11px;color:#514b61;font-size:11px;line-height:1.45;text-align:left;display:flex;gap:9px;align-items:flex-start}.idea-option:hover{border-color:#b9a8ef;background:#f7f3ff}.idea-number{flex:none;width:18px;height:18px;display:grid;place-items:center;border-radius:6px;background:#eee8ff;color:#6948d6;font-size:10px;font-weight:700}.primary-button{border:0;background:var(--primary);color:#fff;min-height:45px;border-radius:12px;padding:0 15px;display:flex;align-items:center;justify-content:center;gap:9px;font-weight:700;font-size:12px;box-shadow:0 7px 16px rgba(117,85,232,.17);transition:background .18s,transform .18s,box-shadow .18s}.primary-button:hover{background:var(--primary-dark);box-shadow:0 9px 20px rgba(117,85,232,.22);transform:translateY(-1px)}.primary-button:active{transform:translateY(0)}.primary-button:disabled{cursor:wait;opacity:.75;transform:none}.generate-button{width:100%;margin-top:18px}.button-sparkle{color:#ffbbb5;font-size:15px}.button-arrow{margin-left:auto;font-size:17px;font-weight:500}.privacy-hint{display:flex;align-items:center;justify-content:center;gap:6px;color:#9d97a8;font-size:9px;margin:11px 0 0}.privacy-hint svg{width:13px;fill:none;stroke:#9992a6;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}.form-error{border:1px solid #f1c7cc;background:#fff7f8;color:#a83d4b;padding:10px 11px;border-radius:10px;font-size:11px;margin-top:13px}.result-topline{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid #f0edf5;padding-bottom:17px}.result-eyebrow{margin-bottom:8px}.result-topline h2{font-size:18px}.result-status{border:1px solid #ece9f1;background:#faf9fc;border-radius:99px;padding:5px 9px;color:#9b96a5;font-size:9px;font-weight:600}.result-status.ready{border-color:#d8eee7;background:#f1faf6;color:#27856b}.result-status.loading{border-color:#e6dfff;background:#f7f3ff;color:#6745d2}.result-body{flex:1;min-height:0}.empty-result{min-height:450px;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px}.empty-art{width:151px;height:122px;position:relative;margin-bottom:23px}.empty-sheet{position:absolute;z-index:2;width:78px;height:94px;background:#fff;border:1px solid #e8e0fa;border-radius:13px;left:37px;top:12px;transform:rotate(-5deg);box-shadow:0 12px 24px rgba(80,57,139,.1);padding:21px 12px}.empty-sheet span{display:block;height:5px;border-radius:5px;background:#eeeaf5;margin:0 0 8px}.empty-sheet span:nth-child(2){width:76%}.empty-sheet span:nth-child(3){width:52%;background:#ffd9d5}.empty-sheet i{position:absolute;right:-13px;top:-10px;width:29px;height:29px;border-radius:10px;background:#7555e8;color:#fff;display:grid;place-items:center;font-style:normal;font-size:15px;box-shadow:0 5px 12px #7555e83b}.empty-orbit{position:absolute;border:1px solid #e4dcfa;border-radius:50%;transform:rotate(-24deg)}.orbit-one{width:145px;height:55px;top:38px;left:4px}.orbit-two{width:109px;height:102px;top:11px;left:21px;border-color:#f4d4d1;transform:rotate(45deg)}.empty-result h3{font:700 14px var(--display);margin:0 0 6px}.empty-result p{max-width:245px;color:#9690a1;font-size:11px;line-height:1.55;margin:0}.empty-result strong{color:#5e3bd0}.loading-view{min-height:430px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--muted)}.loader-orb{width:44px;height:44px;border:3px solid #eee9fb;border-top-color:var(--primary);border-right-color:var(--coral);border-radius:50%;animation:spin .8s linear infinite;margin-bottom:16px}.loading-view strong{font:700 14px var(--display);color:var(--ink)}.loading-view p{font-size:11px;margin:5px 0 0}.result-sections{display:grid;gap:13px;padding:16px 0}.result-section{border:1px solid #eeeaf5;background:#fdfcff;border-radius:12px;overflow:hidden}.result-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;border-bottom:1px solid #f0edf5}.result-section-heading h3{margin:0;font-size:10px;letter-spacing:.55px;text-transform:uppercase;color:#6d6680}.copy-button{border:1px solid #e9e4f3;background:#fff;color:#696276;border-radius:8px;min-height:29px;padding:0 9px;display:inline-flex;align-items:center;gap:5px;font-size:9px;font-weight:700;white-space:nowrap}.copy-button:hover{border-color:#c6b6f4;color:var(--primary-dark);background:#faf8ff}.copy-button svg,.secondary-button svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.result-text{padding:12px;color:#514c5e;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.7}.result-footer{display:flex;align-items:center;gap:11px;border-top:1px solid #f0edf5;padding-top:14px;margin-top:auto}.secondary-button{background:#fff;border:1px solid #e7e2ef;border-radius:10px;min-height:36px;padding:0 12px;display:inline-flex;align-items:center;gap:7px;color:#514b60;font-size:10px;font-weight:700}.secondary-button:hover{background:#faf8ff;border-color:#c7b8ee;color:var(--primary-dark)}.copy-note{font-size:9px;color:#9b96a6}.page-footer{display:flex;justify-content:space-between;gap:12px;color:#a09bab;font-size:10px;margin-top:20px;padding:0 2px}.footer-coral{color:var(--coral);margin-left:3px}.toast{position:fixed;z-index:20;bottom:25px;right:25px;max-width:min(380px,calc(100vw - 32px));background:#27213e;color:#fff;border-radius:12px;padding:12px 16px;font-size:12px;box-shadow:0 12px 30px #221b3b30;opacity:0;transform:translateY(10px);pointer-events:none;transition:opacity .2s,transform .2s}.toast.visible{opacity:1;transform:translateY(0)}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1120px){.sidebar{width:228px}.main-area{margin-left:228px}.topbar{padding:0 28px}.workspace{padding:34px 28px 22px}.workspace-grid{grid-template-columns:minmax(300px,.9fr) minmax(350px,1.1fr);gap:14px}.form-card,.result-card{padding:20px}.result-card{min-height:620px}}@media(max-width:860px){.sidebar{position:static;width:auto;height:auto;inset:auto;padding:14px 16px 10px;border-right:0;border-bottom:1px solid #efedf4}.brand{margin:0 0 13px;padding:0 2px}.side-caption,.sidebar-bottom,.sidebar-footer{display:none}.feature-nav{display:flex;gap:6px;overflow-x:auto;padding:0 0 3px;scrollbar-width:thin}.nav-item{flex:none;min-height:37px;padding:8px 11px;gap:7px;border:1px solid transparent;border-radius:10px;font-size:11px}.nav-item[aria-current="page"]{border-color:#e6defb}.nav-icon svg{width:16px;height:16px}.nav-icon{width:17px;height:17px}.nav-arrow{display:none}.main-area{margin-left:0;min-height:auto}.topbar{height:51px;padding:0 20px}.topbar-note{display:none}.workspace{padding:27px 20px 23px}.workspace-grid{grid-template-columns:minmax(0,1fr);gap:14px}.result-card{min-height:480px}.empty-result{min-height:330px}.loading-view{min-height:340px}.page-heading{margin-bottom:20px}}@media(max-width:540px){.sidebar{padding:12px 13px 8px}.brand-mark{width:31px;height:31px;border-radius:10px}.brand-name{font-size:17px}.brand{margin-bottom:10px}.feature-nav{margin:0 -13px;padding:0 13px 4px}.topbar{padding:0 16px;height:46px}.breadcrumb{font-size:10px}.avatar{width:27px;height:27px}.workspace{padding:22px 14px 19px}.page-heading{align-items:flex-start;gap:10px}.page-heading h1{font-size:29px}.page-description{font-size:12px;max-width:300px}.heading-badge{font-size:9px;padding:7px 9px;align-self:center;white-space:nowrap}.heading-badge-icon{display:none}.form-card,.result-card{padding:17px 15px;border-radius:16px}.card-heading{padding-bottom:14px;margin-bottom:14px}.card-heading h2{font-size:15px}.two-col{gap:9px}.upload-grid{gap:7px}.upload-slot{min-height:99px;padding:8px 5px}.field-label{font-size:10px}.text-control,.select-control,.textarea-control{font-size:12px}.result-card{min-height:430px}.result-topline h2{font-size:16px}.result-status{font-size:8px}.empty-result{min-height:300px;padding:16px 8px}.empty-art{transform:scale(.88);margin-bottom:12px}.result-text{font-size:10.5px}.result-section-heading{padding:9px}.result-section-heading h3{font-size:9px}.copy-button{min-height:27px;padding:0 7px;font-size:8px}.result-footer{align-items:flex-start;flex-direction:column}.page-footer{font-size:9px}.page-footer span:first-child{max-width:220px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
.upload-slot[aria-invalid="true"]{border-color:#d86b75;background:#fff7f8}.error-mark{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#fff0f1;color:#bd4c58;font-weight:800;margin-bottom:13px}.error-view p{max-width:300px}.retry-button{margin-top:14px}
.topbar{height:auto;min-height:66px;padding-top:9px;padding-bottom:9px}.topbar-right{display:flex;align-items:center;gap:10px}.key-entry{display:grid;gap:2px;color:#766f89;font-size:9px;font-weight:700}.key-entry input{width:min(290px,36vw);height:32px;padding:0 10px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);font-size:11px}.key-entry input:focus{border-color:var(--primary)}.key-help{max-width:180px;color:#8b859b;font-size:10px;line-height:1.3}.key-help[data-ready="true"]{color:#27856b}.key-help[data-ready="false"]{color:#b05a4a}@media(max-width:700px){.topbar{align-items:flex-start;height:auto;min-height:0;gap:8px}.topbar-right{display:block;width:min(55vw,260px)}.key-entry input{width:100%}.key-help{display:block;max-width:none;margin-top:3px}}

/* Three Gemini models and automatic failover */
.ai-model-picker{margin:20px 0 16px;padding:15px;background:#f8f6ff;border:1px solid #e6dfff;border-radius:14px}
.ai-model-title{display:flex;align-items:center;justify-content:space-between;gap:10px;font-weight:800;font-size:13px;color:#342455;margin-bottom:9px}
.ai-model-automatic{font-size:10px;font-weight:700;color:#247b5b;background:#e6f6ed;border-radius:99px;padding:4px 8px;white-space:nowrap}
#ai-model{width:100%;border:1px solid #d9d1f3;background:white;border-radius:10px;padding:11px 12px;color:#342455;font-weight:600;min-height:46px}
#ai-model:disabled{opacity:.65}
#ai-model-help{font-size:11px;line-height:1.5;color:#756b91;margin:8px 0 0}
.model-used{font-size:11px;font-weight:700;color:#5f48af;margin:9px 0 0}
@media(max-width:430px){.ai-model-title{align-items:flex-start;flex-direction:column;gap:5px}}

/* Animasi: navigasi Character Sheet -> Video Pendek */
#short-scene-options[hidden]{display:none!important}
#short-scene-options{padding:10px 12px;border:1px solid #e9e1ff;border-radius:11px;background:#faf8ff}
.character-bridge{margin-left:auto;color:#6242c6;border-color:#d9ccff;background:#f8f5ff}
#copy-all[hidden]{display:none!important}
@media(max-width:540px){.character-bridge{margin-left:0;width:100%;justify-content:center}}

[hidden]{display:none!important}

/* Penanda versi agar deployment terbaru mudah dikenali */
.version-label{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;border:1px solid #e4d8ff;background:#f6f2ff;color:#6140a6;font-size:11px;font-weight:700;white-space:nowrap}
@media(max-width:520px){.version-label{font-size:10px;padding:4px 6px}}

/* v1.2: mobile readability, touch targets, privacy and keyboard focus */
.privacy-details{margin:8px 0 12px;padding:11px 12px;background:#faf8ff;border:1px solid #e7e0f4;border-radius:11px;color:#514b63;font-size:12px;line-height:1.6}
.privacy-details summary{cursor:pointer;font-weight:700;color:#4c3a83;min-height:30px}
.privacy-details p{margin:7px 0 0}
.privacy-details a{color:#5e3bd0;text-decoration:underline}
.upload-slot:focus-within{outline:3px solid #8c6beb;outline-offset:2px}
.upload-slot input:focus-visible{outline:3px solid #8c6beb;outline-offset:2px}
.copy-button,.remove-image,.retry-button,.secondary-button{min-height:44px}
.remove-image{min-width:44px;min-height:44px;top:2px;right:2px}
.result-text{overflow-wrap:anywhere;white-space:pre-wrap;user-select:text}
@media(max-width:540px){
  .workspace{padding:20px 12px}
  .page-heading{flex-wrap:wrap}
  .heading-badge{display:none}
  .topbar-right{width:auto;max-width:64%;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px}
  .version-label{font-size:10px}
  .result-text{font-size:13px;line-height:1.65}
  .result-section-heading h3{font-size:12px;line-height:1.4}
  .copy-button{min-height:44px;font-size:12px;padding:0 11px}
  .text-control,.select-control,.textarea-control{font-size:16px}
  .field-label{font-size:12px}
  .field-help{font-size:11px}
  .nav-item{min-height:44px}
  .choice-chip span{min-height:44px}
  .upload-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .upload-slot{min-height:115px}
  .two-col{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:360px){.upload-grid{grid-template-columns:1fr}.breadcrumb{display:none}}

.inline-idea-button{display:flex;justify-content:flex-end;margin-top:-20px;margin-bottom:4px}
