/* FrameFlow V7 readability pass: larger type and stronger contrast. */
:root{
  --text:#fbfcfe;
  --text-2:#e8ebf0;
  --muted:#c4cbd5;
  --muted-2:#a7b0bd;
  --admin-text:#fbfcfe;
  --admin-muted:#b9c2ce;
  --admin-soft:#9faab8;
}

body{
  color:var(--text);
  font-size:13px;
  font-weight:450;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

/* User workspace */
.global-menu button span,.global-bottom button span{font-size:10.5px;color:#b8c0cc;font-weight:700}
.global-menu button.active span{color:#f1efff}
.project-title>span{font-size:10.5px;color:#b9b1ff}.project-title>strong{font-size:15px;color:#fff}
.status-item span,.account-button small,.license-user-button small{font-size:9.5px;color:#b0b9c5}
.status-item strong,.account-button strong,.license-user-button strong{font-size:11.5px;color:#f7f9fb}
.workspace .rail-step span{font-size:11px;color:#c2c8d1;font-weight:700}.workspace .rail-step b{font-size:10px;color:#aeb7c4}
.column-header h1,.canvas-header h2,.inspector-header h2{font-size:18px;color:#fff}
.eyebrow{font-size:10px;font-weight:800}.live-model,.asset-status{font-size:10px;color:#b9c2ce}
.bubble{font-size:12.5px;line-height:1.65;color:#e1e5ea}.bubble strong,.bubble span{color:#f5f7fa}
.suggestions button,.prompt-group button{font-size:11px;color:#ded9ff}
.prompt-library-head span{font-size:12px}.prompt-library-head small,.prompt-group>b{font-size:10px;color:#b1bac7}
.composer textarea{font-size:13px;color:#fff}.composer textarea::placeholder{color:#aeb7c3}
.upload-reference,.send-button,#mainImageUploadButton,#videoUploadButton{font-size:12px}
.preview-card-header strong{font-size:12px}.preview-card-header span,.preview-card-header>b{font-size:10px}
.image-placeholder strong,.video-list strong{font-size:12px}.image-placeholder p,.video-list span,.video-requirement{font-size:10.5px;color:#aeb8c5}
.repair-choice strong,.manual-repair-panel strong{font-size:12px}.repair-choice small,.manual-repair-panel small,.manual-repair-panel p{font-size:10px;color:#b6ad92}
.repair-options button,.manual-repair-actions button,.manual-repair-actions a{font-size:10.5px}
.dock-header strong{font-size:11.5px}.dock-header span{font-size:9.5px;color:#aab4c1}
.inspector-tabs button{font-size:11.5px;color:#b3bdc9;font-weight:650}
.section-title>span,.field-label,.export-format>span{font-size:11.5px;color:#f0f2f5}.section-title>b,.account-title button{font-size:10px;color:#b5beca}
.readiness-list span,.manual-action-row strong,.route-summary b,.workflow-card strong,.active-account strong,.job-info strong,.export-format strong{font-size:11px;color:#edf0f4}
.readiness-list b,.manual-action-row small,.active-account small,.route-summary>span,.workflow-card small,.workflow-detail,.workflow-source span,.workflow-source strong,.workflow-tip p,.job-info span,.export-format small,.job-empty span{font-size:9.5px;color:#aab4c1}
.manual-action-row button,.table-actions button{font-size:10px}
.workflow-search input,.field-input,.select-wrap select,.settings-drawer input,.settings-drawer select{font-size:12px;color:#f8fafc}
.workflow-search input::placeholder,.field-input::placeholder,.settings-drawer input::placeholder{color:#a6b0bc}
.job-console-head span,.job-console-head b,.job-empty{font-size:10px;color:#aeb8c5}.job-empty strong{font-size:12px;color:#e4e8ed}
.run-button strong{font-size:12px}.run-button small{font-size:10px;color:#ebe8ff}
.inspector-footer>p,.statusbar{font-size:9.5px;color:#aab4c1}
.modal-head>div>span,.drawer-head span{font-size:10.5px}.modal-head h2{font-size:24px}.drawer-head h2{font-size:21px}
.modal-head p,.modal-note p{font-size:11px;color:#b4bdc9}
.setting-section h3{font-size:14px}.setting-section p{font-size:11px;color:#b4bdc9}.setting-section label,.setting-section>small{font-size:10.5px;color:#abb5c2}
.toast{font-size:11.5px}

/* Login, registration and activation */
.user-auth-brand strong{font-size:17px;color:#fff}.user-auth-brand small{font-size:11px;color:#b5bfcc}
.user-auth-copy>span{font-size:11px;color:#b8aeff}.user-auth-copy h2{font-size:44px;color:#fff}
.user-auth-copy p{font-size:16px;color:#c5ccd6;line-height:1.75}.user-auth-copy b{font-size:11px;color:#e0e4e9}
.user-auth-card{width:min(430px,calc(100% - 56px));padding:26px;border-color:#4a5361;background:#1c2027}
.user-auth-tabs button{height:40px;font-size:13px;color:#b4bdc9;font-weight:700}.user-auth-tabs button.active{color:#fff;background:#323843}
.user-auth-form{gap:14px;margin-top:22px}.user-auth-form>span{font-size:11px}.user-auth-form h3{font-size:25px;color:#fff}
.user-auth-form>p{font-size:12.5px;color:#b5beca}.user-auth-form label{gap:8px;font-size:12.5px;color:#e0e4e9;font-weight:650}
.user-auth-form input{height:46px;font-size:14px;border-color:#4b5563;background:#242a32;color:#fff}.user-auth-form input::placeholder{color:#929daa}
.user-auth-form>button[type="submit"]{height:47px;font-size:14px}.user-auth-form [data-auth-error]{min-height:18px;font-size:11.5px}
.auth-link{height:35px;font-size:11.5px;color:#bac3cf}.machine-note{font-size:10.5px;color:#9fa9b6}.machine-note b{color:#c3cad4}

/* Web administration */
.admin-auth .kicker{font-size:12px;color:#b2a7ff}
.admin-auth .auth-brand b{font-size:16px;color:#fff}.admin-auth .auth-visual h1{font-size:50px;color:#fff}.admin-auth .auth-visual p{font-size:17px;color:#c2cad5}
.admin-auth .auth-points span{font-size:12.5px;color:#d5dae1}
.admin-auth .auth-form{width:min(420px,100%);gap:18px}.admin-auth .auth-form h2{font-size:31px;color:#fff}.admin-auth .auth-form>p{font-size:14px;color:#b2bcc9}
.admin-auth .auth-form label{font-size:12.5px;color:#d2d8e0;font-weight:650}.admin-auth .auth-form input{font-size:13px;color:#fff}
.admin-auth .auth-form button{font-size:13px}.admin-auth .form-error{font-size:11.5px}
.admin-shell{grid-template-columns:226px minmax(0,1fr)}
.side-brand strong{font-size:15px;color:#fff}.side-brand small{font-size:10px;color:#a3adba}
.sidebar nav button{color:#aab4c1}.sidebar nav button span{font-size:12.5px;color:inherit}.sidebar nav button:hover{color:#eef1f4}.sidebar nav button.active{color:#f2efff}
.side-status strong{font-size:11px}.side-status span{font-size:9.5px;color:#a0aab7}
.admin-topbar>div:first-child span{font-size:10px;color:#aeb7c4}.admin-topbar h1{font-size:21px;color:#fff}
.admin-profile small{font-size:9.5px;color:#a9b3c0}.admin-profile strong{font-size:12px;color:#fff}
.admin-profile button,.surface-head>button,.head-tools button{font-size:11px;color:#d2d8df}
.metric span{font-size:12px;color:#b9c2ce}.metric strong{font-size:32px}.metric small{font-size:10.5px;color:#9faab7}
.surface-head span{font-size:10px;color:#a7b1be}.surface-head h2{font-size:17px;color:#fff}.healthy,.pill{font-size:10px}
.health-list span{font-size:11.5px;color:#b9c2ce}.health-list strong{font-size:14px;color:#fff}
.quick-actions strong{font-size:12px}.quick-actions span{font-size:10px;color:#a3adba}
.activity-row{font-size:11px}.activity-row time,.activity-row span{color:#aab4c1}.empty{font-size:11.5px;color:#a5afbc}
.upload-panel label:not(.dropzone),.code-form label,.security-form label{font-size:12.5px;color:#d2d8e0;font-weight:650}
.upload-panel input,.code-form input,.security-form input,.head-tools input{font-size:13px;color:#fff}
.dropzone strong{font-size:12px}.dropzone span,.upload-panel small,.code-form small{font-size:10px;color:#a6b0bd}
.model-admin-body input{font-size:11px}.model-admin-actions button{font-size:10px}
.table-wrap th{font-size:10.5px;color:#aab4c1}.table-wrap td{font-size:11.5px;color:#d1d7df}.status-pill,.table-actions button{font-size:10px}
.generated-codes>strong,.generated-code{font-size:11px}.security-note>span{font-size:10px}.security-note h2{font-size:20px}.security-note p{font-size:12px;color:#bdc5cf}

@media(max-height:760px){
  .user-auth-panel{padding-top:30px;padding-bottom:30px}.user-auth-copy h2{font-size:37px}.user-auth-copy p{font-size:14px}
  .user-auth-card{padding:20px}.user-auth-form{gap:10px;margin-top:15px}.user-auth-form input{height:41px}
}
@media(max-width:1100px){.admin-shell{grid-template-columns:196px minmax(0,1fr)}}

/* Fully automated high-end repair progress and before/after review. */
.manual-repair-panel{align-items:center;gap:14px}
.manual-repair-panel>div:first-child{min-width:220px;flex:1}
.high-end-progress{position:relative;width:180px;height:12px;flex:none;overflow:hidden;border:1px solid #4d5260;border-radius:999px;background:#15191f}
.high-end-progress i{position:absolute;inset:0 auto 0 0;width:0;border-radius:inherit;background:linear-gradient(90deg,#8b7cf5,#43bec3);transition:width .3s ease}
.high-end-progress span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#fff;font-size:8px;font-weight:800;text-shadow:0 1px 2px #000}
.manual-repair-panel>p{max-width:310px;margin:0;font-size:10.5px;color:#c0c7d1}
.compare-mask{position:fixed;inset:0;z-index:190;background:rgba(5,7,11,.78);backdrop-filter:blur(12px)}
.high-end-compare-modal{position:fixed;left:50%;top:50%;z-index:191;width:min(940px,calc(100vw - 70px));max-height:90vh;overflow:auto;transform:translate(-50%,-50%);padding:25px;border:1px solid #424a58;border-radius:18px;background:radial-gradient(circle at 80% 0,rgba(56,183,189,.1),transparent 34%),#191d23;box-shadow:0 34px 100px rgba(0,0,0,.58)}
.compare-head span{color:#7bd2d5;font-size:11px;font-weight:800;letter-spacing:.08em}.compare-head h2{margin:6px 0 0;color:#fff;font-size:25px}.compare-head p{margin:7px 0 0;color:#b5beca;font-size:12px}
.compare-images{display:grid;grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr);align-items:center;gap:14px;margin-top:20px}
.compare-images>i{color:#7c72d9;font-size:25px;font-style:normal;text-align:center}
.compare-images figure{margin:0;overflow:hidden;border:1px solid #3c4450;border-radius:13px;background:#15191e}.compare-images figure.enhanced{border-color:#37747a;box-shadow:0 0 0 2px rgba(56,183,189,.08)}
.compare-images figure>div{height:min(56vh,570px);display:grid;place-items:center;background:#111419}.compare-images img{width:100%;height:100%;display:block;object-fit:contain}
.compare-images figcaption{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-top:1px solid #343b45}.compare-images figcaption b{color:#f2f4f7;font-size:12px}.compare-images figcaption span{color:#9fa9b6;font-size:10px}
.compare-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.compare-actions button{min-width:150px;height:44px;font-size:12px}
@media(max-height:760px){.compare-images figure>div{height:48vh}.high-end-compare-modal{padding:19px}}

/* In-progress readiness is visible without pretending the step is complete. */
.readiness-list i.active{background:#d5a14f;box-shadow:0 0 0 4px rgba(213,161,79,.1),0 0 12px rgba(213,161,79,.32)}
.readiness-list b.active{color:#e2bd76}

/* Commercial readability baseline: do not render operational text as microcopy. */
.workspace button,.workspace input,.workspace select,.workspace textarea{font-size:12px}
.workspace small,.workspace .field-label,.workspace .section-title>b,.workspace .workflow-detail,
.workspace .workflow-source span,.workspace .workflow-source strong,.workspace .workflow-tip p,
.workspace .job-console-head span,.workspace .job-console-head b,.workspace .job-info span,
.workspace .export-format small,.workspace .inspector-footer>p,.workspace .statusbar,
.workspace .dock-header span,.workspace .warehouse-toggle,.workspace .video-requirement{
  font-size:10.5px;
  line-height:1.45;
  color:#aeb7c4;
}
.workspace .readiness-list span,.workspace .readiness-list b,.workspace .manual-action-row strong,
.workspace .manual-action-row small,.workspace .route-summary b,.workspace .route-summary span,
.workspace .workflow-card strong,.workspace .workflow-card small,.workspace .active-account strong,
.workspace .active-account small,.workspace .job-info strong,.workspace .export-format strong{
  font-size:11px;
  line-height:1.4;
}
.workspace .repair-choice strong,.workspace .manual-repair-panel strong{font-size:12px}
.workspace .repair-choice small,.workspace .manual-repair-panel small{font-size:10.5px;color:#b8c0ca}
.workspace .repair-options button,.workspace .media-upload-actions>button,
.workspace .preview-card-header>button,.workspace .selected-image-actions button,
.workspace .manual-action-row button,.workspace .table-actions button{
  min-height:34px;
  padding-left:11px;
  padding-right:11px;
  font-size:11px;
  font-weight:750;
}
.workspace .media-upload-actions #videoUploadButton{
  border-color:#8b7bf0;
  background:linear-gradient(135deg,#8a79f0,#6557d7);
  color:#fff;
  box-shadow:0 7px 18px rgba(91,73,211,.28);
}
.workspace .media-upload-actions #onlineVideoButton{
  border-color:#d7a34f;
  background:linear-gradient(135deg,#d9a44f,#ad762b);
}
.workspace .preview-card-header{min-height:58px;height:auto;padding-top:8px;padding-bottom:8px}
.workspace .preview-card-header span{font-size:10px;color:#9fa9b7}
.workspace .preview-card-header strong{font-size:13px}
.workspace[data-view] .asset-dock{height:138px}
.workspace .model-warehouse{overflow:hidden;padding:9px 11px}
.workspace .model-grid{min-height:61px;margin-top:8px;padding-bottom:4px}
.workspace .model-card{width:52px;height:58px}
.workspace .dock-header strong{font-size:12px}.workspace .dock-header span{font-size:10.5px}
.workspace .warehouse-toggle>span{width:34px;height:19px}.workspace .warehouse-toggle>span i{width:15px;height:15px}
.workspace .warehouse-toggle input:checked+span i{left:17px}
.workspace .workflow-card{min-height:58px}.workspace .workflow-card-icon{font-size:10px}
.workspace .workflow-card-tags span{font-size:9.5px}
.workspace .run-button{min-height:62px}.workspace .run-button strong{font-size:14px}.workspace .run-button small{font-size:11px}
.workspace .account-scheduler-toggle button,.workspace .parallel-task-actions button{min-height:36px;font-size:11px}
.workspace .parallel-task-meta span,.workspace .parallel-queue-note,.workspace .parallel-task-card-head small{font-size:10px}

.workspace .suggestions button,.workspace .prompt-group button,
.workspace #attachImageButton,.workspace #sendButton,.workspace #mainImageUploadButton,
.workspace #videoUploadButton{min-height:34px}
.workspace #refreshModels{width:34px;min-width:34px;height:34px;padding:0}
.workspace #goAccountPool{min-height:32px;padding:5px 9px;font-size:11px}
.workspace .rail-step span,.workspace .rail-step b,.workspace .eyebrow,
.workspace .preview-card-header span,.workspace .dock-header span{font-size:11.5px}
