/* Approved October 18 layout, connected to the existing production controls. */
#main-content .theo-account-entry .theo-account-entry__layout{max-width:1140px;grid-template-columns:minmax(0,1fr) 440px;gap:100px;padding-block:64px;align-items:start}
#main-content .theo-account-entry .theo-account-entry__intro{padding-top:26px}
#main-content .theo-account-entry #account-entry-title{font-size:28px;line-height:1.45;font-weight:600}
#main-content .theo-account-entry .theo-account-entry__intro>p:not(.eyebrow){font-size:14px;line-height:1.7}
#main-content .theo-account-entry .theo-auth-panel{background:#fff;border:0;border-radius:8px;padding:32px;box-shadow:none;min-width:0}
#main-content .theo-account-entry .theo-auth-tabs{display:flex;gap:24px;border-bottom:1px solid #eee;margin:0 0 28px}
#main-content .theo-account-entry .theo-auth-tabs a{flex:none;padding:0 0 12px;font-size:14px;background:transparent;color:#888;border:0}
#main-content .theo-account-entry .theo-auth-tabs a[aria-current]{color:#111;border-bottom:2px solid #111;background:transparent}
#main-content .theo-account-entry .theo-auth-panel__heading{padding:0;margin:0 0 20px}
#main-content .theo-account-entry .theo-auth-panel__heading>p{display:none}
#main-content .theo-account-entry .theo-auth-panel__heading h2{font-size:20px}
#main-content .theo-account-entry .theo-auth-panel__heading>span{font-size:14px;line-height:1.7}
#main-content .theo-account-entry :is(.theo-auth-form,.theo-register-form){padding:0;margin-top:24px}
#main-content .theo-account-entry .field>span{font-size:14px;font-weight:500}
#main-content .theo-account-entry .field input{height:48px;border:1px solid #d9d9d9;border-radius:4px;font-size:16px;font-weight:400}
#main-content .theo-account-entry .field input:focus{border-color:#3c3c3c;outline:1px solid #3c3c3c}
#main-content .theo-account-entry .theo-social-login{padding:0;margin:0}
#main-content .theo-account-entry .theo-social-login>p{display:none}
#main-content .theo-account-entry .theo-social-login>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#main-content .theo-account-entry .theo-social-button{height:40px;min-height:40px;padding:5px;font-size:14px;gap:5px;border-radius:4px;white-space:nowrap}
#main-content .theo-account-entry .theo-social-button__icon,#main-content .theo-account-entry .theo-social-button__icon img{width:17px;height:17px}
#main-content .theo-account-entry .theo-social-login__naver{background:#fff;color:#222;border:1px solid #d9d9d9}
#main-content .theo-account-entry .theo-social-login>span{font-size:14px;line-height:1.7;margin-top:8px}
#main-content .theo-account-entry .theo-auth-form__meta{font-size:14px}
#main-content.theo-order{font-size:15px}
#main-content.theo-order[data-order-step="1"] .theo-upload-layout{width:100%;max-width:1120px;margin-inline:auto;padding:48px 24px 64px}
#main-content.theo-order[data-order-step="1"] .theo-upload-primary{width:min(100%,720px);max-width:720px;margin-inline:auto;display:flex;flex-direction:column;gap:0;justify-content:start;padding:32px;border:1px dashed #aaa;background:#ffffffbd;border-radius:4px}
#main-content.theo-order .theo-upload-workspace-nav{display:none}
#main-content.theo-order .theo-dropzone{border:0;padding:0;background:transparent;min-height:0;gap:0}
#main-content.theo-order .theo-dropzone h2{font-size:28px;line-height:1.4;font-weight:600;margin:0 0 10px}
#main-content.theo-order .theo-dropzone>p{font-size:14px;margin:0 0 12px;color:#777}
#main-content.theo-order .theo-dropzone__icon{margin:16px auto}
#main-content.theo-order .theo-dropzone__actions{margin:16px 0}
#main-content.theo-order .theo-upload-limits{margin:0 0 24px;text-align:center;font-size:14px;line-height:1.8}
#main-content.theo-order .has-studio-files .theo-dropzone__icon,#main-content.theo-order .has-studio-files .theo-dropzone__actions{display:none}
#main-content.theo-order .theo-upload-queue{margin:0;padding:0;border:0;background:none}
#main-content.theo-order .theo-upload-queue>header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 12px;flex-wrap:wrap}
#main-content.theo-order .theo-upload-queue h3{font-size:14px;font-weight:500}
#main-content.theo-order .theo-upload-queue [data-upload-select-label]{width:auto;min-height:38px;padding:6px 12px;font-size:14px}
#main-content.theo-order .theo-upload-total{width:100%;order:3}
#main-content.theo-order .theo-upload-card{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:14px;padding:16px;margin-bottom:10px;border:1px solid #eee;border-radius:4px;background:white;align-items:start}
#main-content.theo-order .theo-upload-card__preview{width:56px;height:64px;min-height:0;aspect-ratio:auto;overflow:hidden}
#main-content.theo-order .theo-upload-card__preview img{width:100%;height:100%;object-fit:contain}
#main-content.theo-order .theo-upload-card__title{display:flex;flex-direction:column;align-items:start;gap:6px}
#main-content.theo-order .theo-upload-card__title strong{font-size:16px;font-weight:600;overflow-wrap:anywhere}
#main-content.theo-order .theo-upload-card__title{flex-direction:row;gap:6px 10px;align-items:center}
#main-content.theo-order .theo-upload-card__title .theo-badge{min-height:0;padding:0;border:0;background:none;font-size:14px}
#main-content.theo-order .theo-upload-card__title .theo-badge--success::before{content:'●';font-size:14px;margin-right:5px}
#main-content.theo-order .theo-upload-card:has(.theo-badge--success) .theo-upload-card__message:not(.is-warning):not(.is-error){display:none}
#main-content.theo-order .theo-upload-list{gap:8px;margin-top:0}
#main-content.theo-order .theo-upload-card{margin-bottom:0}
#main-content.theo-order .theo-upload-card__meta{font-size:14px;line-height:1.6;gap:4px 8px;margin-block:6px}
#main-content.theo-order .theo-upload-card__message,#main-content.theo-order .theo-upload-original-status{font-size:14px;line-height:1.6;margin:4px 0}
#main-content.theo-order .theo-upload-card__actions{grid-column:auto;grid-row:1;justify-self:end;padding:0;margin:0}
#main-content.theo-order .theo-upload-card__actions button{background:transparent;border:0;padding:0;font-size:14px;text-decoration:underline;color:#777;min-height:28px}
#main-content.theo-order .theo-upload-intake{display:block;margin:8px 0 0;padding:0;background:transparent;border:0;border-radius:0}
#main-content.theo-order .theo-upload-intake__consent{font-size:14px;line-height:1.6}
#main-content.theo-order .theo-upload-intake button[type=submit]{display:block;width:auto;margin:20px 0 0 auto;min-width:170px;min-height:48px}
#main-content.theo-order .theo-upload-intake [data-intake-message]{font-size:14px;color:#777;margin-top:10px}
.theo-upload-policy-details{margin:8px 0;font-size:14px;color:#777}
.theo-upload-policy-details summary{cursor:pointer;color:#99502b;text-decoration:underline}
.theo-upload-policy-details .theo-upload-policy{font-size:14px;line-height:1.7}
.theo-studio-scope{border:0;padding:0;margin:18px 0;display:flex;gap:12px 22px;flex-wrap:wrap}
.theo-studio-scope legend{font-size:14px;font-weight:600;margin-bottom:10px}
.theo-studio-scope label{display:flex;align-items:center;gap:7px;font-size:14px;cursor:pointer;line-height:1.5}
.theo-studio-scope input{accent-color:#984113;width:16px;height:16px;flex:none}
#main-content.theo-order.theo-workspace-adaptive .theo-studio-grid{gap:32px;max-width:1720px;margin-inline:auto;grid-template-columns:minmax(330px,390px) minmax(0,1fr);align-items:start}
#main-content.theo-order.theo-workspace-adaptive .theo-studio-controls{background:white;border:1px solid #e1e1e1;border-radius:6px;padding:24px;grid-column:1;min-width:0}
#main-content.theo-order.theo-workspace-adaptive .theo-editor-journey{display:none}
.theo-studio-context{margin:0 0 16px;padding:0 0 20px;border-bottom:1px solid #ddd}
.theo-studio-context>span{font-size:14px;color:#777}
.theo-studio-context h2{font-size:16px!important;line-height:1.5;font-weight:600;overflow-wrap:anywhere;margin:8px 0}
.theo-studio-context .theo-studio-scope{gap:10px;margin:14px 0}
.theo-studio-context .theo-studio-scope legend{display:none}
.theo-studio-copy{font-size:14px;color:#984113;text-decoration:underline;background:none;border:0;padding:0}
.theo-studio-live-price{display:flex;align-items:center;gap:10px;margin-top:18px;font-size:14px}
.theo-studio-live-price strong{font-size:21px;font-weight:600;margin-left:auto}
.theo-studio-live-price .text-link{font-size:14px}
#main-content.theo-order .theo-workspace-group-head{border-top:1px solid #eee;padding:18px 0;font-size:15px;gap:8px;min-height:58px}
#main-content.theo-order .theo-workspace-group-head strong{font-size:16px;font-weight:600}
#main-content.theo-order .theo-workspace-group-head .theo-workspace-number{font-size:14px;color:#888}
#main-content.theo-order .theo-workspace-group-value{font-size:14px;overflow-wrap:anywhere;max-width:150px}
#main-content.theo-order .theo-workspace-group-body{padding:0 0 20px}
#main-content.theo-order.theo-workspace-adaptive .theo-workspace-central{grid-column:2;min-width:0;width:100%}
#main-content.theo-order .theo-preview-toolbar{min-height:64px;align-items:center;margin-bottom:16px}
#main-content.theo-order .theo-size-file-list{gap:8px;display:flex;overflow:auto;max-width:100%}
#main-content.theo-order .theo-size-file-list [data-size-file-key]{width:64px;min-width:64px;height:64px;padding:5px;overflow:hidden}
#main-content.theo-order .theo-size-file-list img{width:100%;height:100%;object-fit:contain}
#main-content.theo-order.theo-workspace-adaptive .theo-room-picker{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));padding:14px 0;gap:10px;background:transparent}
#main-content.theo-order.theo-workspace-adaptive .theo-room-picker button{width:100%;min-width:0;height:auto;min-height:102px;display:grid;grid-template-rows:auto 32px;padding:5px;background:transparent}
#main-content.theo-order.theo-workspace-adaptive .theo-room-picker :is(img,.theo-room-picker-product){width:100%;height:auto;min-height:0;aspect-ratio:3/2;object-fit:cover}
#main-content.theo-order.theo-workspace-adaptive .theo-room-picker-label{font-size:14px;height:auto;min-height:30px;line-height:1.4}
#main-content.theo-order .theo-quote__layout{grid-template-columns:minmax(0,1fr) 320px;gap:28px;align-items:start}
#main-content.theo-order :is(.theo-quote-item,.theo-cart-item){background:#fff;border:1px solid #e2e2e2;border-radius:6px;padding:24px;min-width:0}
#main-content.theo-order .theo-quote-item>header{gap:20px;align-items:center;display:grid;grid-template-columns:100px minmax(0,1fr)}
#main-content.theo-order .theo-quote-item__identity{min-width:0}
#main-content.theo-order .theo-quote-item__identity h4{font-size:17px;overflow-wrap:anywhere;font-weight:600}
#main-content.theo-order .theo-quote-thumb{width:100px;height:110px;object-fit:contain;background:#f5f5f3;grid-row:span 2}
#main-content.theo-order .theo-quote-item__spec{font-size:14px;line-height:1.7;color:#666;margin:10px 0}
#main-content.theo-order .theo-quote-item__edit{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:16px 0}
#main-content.theo-order .theo-quote-item__edit input{width:76px;height:40px;padding:6px 10px;border:1px solid #ddd;border-radius:4px;margin-left:10px}
#main-content.theo-order .theo-quote-item__edit label{font-size:14px}
#main-content.theo-order .theo-quote-item>details>summary{font-size:14px;cursor:pointer;color:#777;padding:12px 0}
#main-content.theo-order .theo-quote-lines{margin:0}
#main-content.theo-order :is(.theo-quote-totals,.theo-cart-summary){background:#fff;border:1px solid #ddd;border-radius:6px;padding:24px}
#main-content.theo-order .theo-quote__header{display:none}
#main-content.theo-order .theo-quote-sample{padding:12px 0;background:transparent;border:0;font-size:14px}
#main-content.theo-order .theo-upload-card__preview{grid-column:1;grid-row:1}
#main-content.theo-order .theo-upload-card__body{grid-column:2;grid-row:1;min-width:0}
#main-content.theo-order .theo-upload-card__actions{grid-column:3;grid-row:1;position:static}
#main-content.theo-order .theo-quote-note{font-size:14px;color:#777}
.theo-studio-dialog{width:min(540px,calc(100% - 32px));padding:28px;border:1px solid #ddd;border-radius:8px;color:#222}
.theo-studio-dialog::backdrop{background:#0006}
.theo-studio-dialog h2{font-size:21px;line-height:1.4;margin:0 0 12px}
.theo-studio-dialog>p{font-size:14px;color:#777;line-height:1.7}
.theo-studio-dialog__body fieldset{border:0;margin:20px 0;padding:0;display:grid;gap:12px}
.theo-studio-dialog__body legend{font-size:14px;font-weight:600;margin:0 0 12px}
.theo-studio-dialog__body label{font-size:14px;display:flex;gap:8px;overflow-wrap:anywhere;align-items:start}
.theo-studio-dialog__body input{accent-color:#984113;flex:none;margin-top:3px}
.theo-studio-dialog__actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}
/* The existing payment modal, focus trap and cancellation lifecycle remain intact. */
#test-checkout-modal .theo-checkout-modal{width:min(1180px,calc(100vw - 48px));max-width:1180px;border-radius:8px;background:#f6f6f6}
#test-checkout-modal .theo-modal__header{background:#fff;padding:24px 32px;border-bottom:1px solid #ddd}
#test-checkout-modal .theo-modal__header h2{font-size:28px;font-weight:600}
#test-checkout-modal .theo-checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:24px;padding:24px 32px}
#test-checkout-modal .theo-checkout-section{background:#fff;border:1px solid #e1e1e1;border-radius:6px;padding:24px;margin:0 0 18px}
#test-checkout-modal .theo-checkout-section h3{font-size:18px;font-weight:600}
#test-checkout-modal .field>span{font-size:14px;font-weight:500}
#test-checkout-modal .field :is(input,select){min-height:48px;font-size:16px;font-weight:400;border:1px solid #ddd;border-radius:4px}
#test-checkout-modal .theo-checkout-summary{position:sticky;top:16px;grid-column:2;grid-row:1;background:white;border:1px solid #ddd;border-radius:6px;padding:20px;width:100%;margin:0;min-width:0}
#test-checkout-modal .theo-checkout-summary__body{padding:16px 0 0}
#test-checkout-modal .theo-checkout-summary>summary strong{font-size:22px}
#test-checkout-modal .theo-checkout-actions{background:#fff;padding:18px 32px;gap:16px}
@media(max-width:1050px){#main-content .theo-account-entry .theo-account-entry__layout{grid-template-columns:minmax(0,1fr) 400px;gap:40px}#main-content.theo-order.theo-workspace-adaptive .theo-studio-grid{grid-template-columns:340px minmax(0,1fr);gap:24px}#main-content.theo-order.theo-workspace-adaptive .theo-studio-controls{padding:20px}#main-content.theo-order.theo-workspace-adaptive .theo-room-picker{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:999px){#main-content.theo-order.theo-workspace-adaptive .theo-studio-grid{display:flex;flex-direction:column;gap:24px}#main-content.theo-order.theo-workspace-adaptive .theo-studio-controls{order:2;width:100%}#main-content.theo-order.theo-workspace-adaptive .theo-workspace-central{order:1;position:static;width:100%;max-width:none}#main-content.theo-order.theo-workspace-adaptive .theo-room-picker{grid-template-columns:repeat(6,minmax(80px,1fr));overflow-x:auto}#main-content.theo-order .theo-quote__layout{grid-template-columns:minmax(0,1fr) 280px}#test-checkout-modal .theo-checkout-layout{grid-template-columns:minmax(0,1fr) 280px;gap:16px;padding:20px}}
@media(max-width:700px){#main-content .theo-account-entry .theo-account-entry__layout{display:block;max-width:488px;padding:28px 20px 40px}#main-content .theo-account-entry .theo-account-entry__intro{padding:0}#main-content .theo-account-entry #account-entry-title{font-size:22px}#main-content .theo-account-entry .theo-account-entry__intro>ul,#main-content .theo-account-entry .theo-account-entry__intro>.text-link{display:none}#main-content .theo-account-entry .theo-auth-panel{padding:24px;margin-top:24px}#main-content .theo-account-entry .theo-social-button{font-size:14px;gap:4px}#main-content .theo-account-entry .theo-social-login>div{gap:5px}#main-content.theo-order[data-order-step="1"] .theo-upload-layout{padding:24px 16px 40px}#main-content.theo-order[data-order-step="1"] .theo-upload-primary{padding:22px 16px}#main-content.theo-order .theo-dropzone h2{font-size:22px}#main-content.theo-order .theo-dropzone>p{font-size:14px}#main-content.theo-order .theo-upload-limits{font-size:14px}#main-content.theo-order .theo-upload-card{grid-template-columns:42px minmax(0,1fr);gap:10px;padding:12px}#main-content.theo-order .theo-upload-card__preview{width:42px;height:52px}#main-content.theo-order .theo-upload-card__title strong{font-size:14px}#main-content.theo-order .theo-upload-card__meta{font-size:14px}#main-content.theo-order .theo-upload-card__actions{grid-column:2;grid-row:auto}.theo-studio-scope{flex-direction:column;gap:10px}#main-content.theo-order .theo-upload-intake__consent{font-size:14px}#main-content.theo-order .theo-upload-intake button[type=submit]{width:100%}#main-content.theo-order .theo-preview-toolbar{gap:10px;margin-bottom:10px}#main-content.theo-order .theo-size-file-list [data-size-file-key]{width:56px;min-width:56px;height:56px}#main-content.theo-order .theo-quote__layout{display:flex;flex-direction:column;gap:20px}#main-content.theo-order :is(.theo-quote-item,.theo-cart-item){padding:18px}#main-content.theo-order .theo-quote-item>header{grid-template-columns:70px minmax(0,1fr);gap:12px}#main-content.theo-order .theo-quote-thumb{width:70px;height:86px}#main-content.theo-order .theo-quote-item__identity h4{font-size:15px}#main-content.theo-order .theo-quote-item__spec{font-size:14px}#main-content.theo-order .theo-quote-totals{width:100%;position:static}#test-checkout-modal .theo-checkout-modal{width:100vw;max-width:100vw;border-radius:0;height:100dvh;max-height:100dvh}#test-checkout-modal .theo-modal__header{padding:18px 16px}#test-checkout-modal .theo-modal__header h2{font-size:22px}#test-checkout-modal .theo-checkout-layout{display:flex;flex-direction:column;padding:16px;gap:16px}#test-checkout-modal .theo-checkout-section{padding:18px}#test-checkout-modal .theo-checkout-summary{position:static;order:-1}#test-checkout-modal .theo-checkout-actions{padding:14px 16px;gap:10px}.theo-studio-dialog{padding:22px}}
