/* Visual refinement shared by the review and future responsive build. */
dialog{border:1px solid #b69b635c;border-radius:12px;box-shadow:0 12px 42px #04131b36}
dialog :is(input,select,textarea):focus-visible,dialog button:focus-visible,dialog summary:focus-visible{outline:2px solid #537c86;outline-offset:3px}
.sale-wizard{padding:20px 24px;background:linear-gradient(135deg,#fffaf0f5,#f4f0e5ed);border-color:#e9d7a2bb;border-radius:12px;box-shadow:0 14px 40px #05131b38;max-height:calc(100dvh - 140px);overflow:auto;overscroll-behavior:contain}
.sale-wizard-heading{margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid #9baaa738}
.sale-wizard-heading h3{font-size:30px;line-height:1.15}
.sale-wizard #sale-close{width:36px;height:36px;padding:0;border:1px solid #829b9b35;border-radius:50%;background:#fff9;font:24px/1 system-ui;color:#355159;flex-shrink:0}
.sale-wizard #sale-close:hover{background:#fff;border-color:#688c94}
.sale-wizard p{line-height:1.55;color:#35484c}
.sale-wizard label{font-size:13px;font-weight:600;line-height:1.5}
.sale-wizard input:not([type=checkbox]):not([type=radio]){height:42px;padding:10px 12px;border:1px solid #728e935e;border-radius:6px;background:#fffffff0;font-size:15px;box-shadow:inset 0 1px 2px #15303908}
.sale-wizard button,.sale-wizard-actions a{min-height:40px;padding:10px 14px;border-radius:6px;border-color:#b59e465e;background:#ebcf62;box-shadow:0 1px 2px #21353d12;transition:background .15s,border-color .15s}
.sale-wizard button:hover:not(:disabled){background:#f4d975;border-color:#b59e46}
.sale-wizard button.sale-quiet{background:#fff8;color:#38535b;border-color:#829b9b50}
.sale-wizard-actions{gap:12px;margin:14px 0}
#sale-contact>.sale-wizard-actions{justify-content:flex-start;gap:20px}
#sale-contact>.sale-wizard-actions label{display:flex;align-items:center;gap:7px;cursor:pointer}
#sale-contact>button{width:100%;margin:2px 0 4px}
.sale-resume{margin-top:14px;padding-top:12px;border-top:1px solid #9baaa738;font-size:13px}
.sale-resume summary{cursor:pointer;color:#39565d;line-height:1.6}
.sale-wizard small{color:#597075;line-height:1.5;margin:12px 0 2px}
#sale-status:empty{display:none}
.field :is(input,select,textarea){border-color:#78929466;border-radius:6px;background:#fffffff0}
.form-actions{gap:12px}
@media(prefers-reduced-motion:reduce){.sale-wizard button{transition:none}}
/* Keep the current scene visible while the next artwork downloads and decodes. */
.route-loading{position:fixed;right:18px;bottom:18px;z-index:100;padding:12px 16px;max-width:min(420px,calc(100vw - 36px));border:1px solid #ead05d99;border-radius:10px;background:#10232af5;color:#fff4d9;font:14px/1.5 system-ui;box-shadow:0 4px 20px #0004}
.route-loading[hidden],.route-loading button[hidden]{display:none}
.route-loading button{margin-left:12px;padding:6px 10px;border:1px solid #bfa94d;border-radius:6px;background:#ead05d;color:#172b33;cursor:pointer}
/* Compact Comprar controls sit just above the footer. */
.catalog-filter-sheet{width:980px;padding:10px 14px;border-radius:10px 10px 0 0;background:#f5f1e6f5;box-shadow:0 -6px 24px #0004}
.catalog-filter-sheet::backdrop{background:#07141822;backdrop-filter:none}
.catalog-filter-heading{margin:0 0 6px}.catalog-filter-heading h3{font-size:21px}.catalog-filter-heading #catalog-filter-close{width:28px;height:28px;font-size:20px;padding:0}
.catalog-filter-sheet .catalog-filters{display:grid;grid-template-columns:1.1fr 1fr 1.1fr .8fr 1.2fr .8fr auto;gap:7px;align-items:end;padding:0;margin:0;background:none;border:0;box-shadow:none}
.catalog-filter-sheet .field{font:12px/1.3 system-ui;gap:4px;min-width:0}.catalog-filter-sheet select{width:100%;min-width:0;height:34px;padding:4px;font:12px system-ui;border:1px solid #78929466;border-radius:5px;background:#fffdf6;color:#19313d}
.catalog-filter-sheet .yellow-button{height:34px;padding:5px 10px;font-size:12px}.catalog-filter-toggle{top:577px;font-size:12px;padding:7px 12px}
.catalog-empty-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:12px 0}
.catalog-photo-placeholder{aspect-ratio:4/3;border:1px solid #d8ca9b88;border-radius:9px;background:#14283266;display:grid;place-items:center;color:#e9dfc7aa;font:13px system-ui}
#search-status:empty{display:none}
body[data-page=buy] .route-page{background:#10232a55;border-color:#d8ca9b44;box-shadow:none;color:#fff4db}
/* A consistent quiet card for opinions and private-code options. */
body[data-page=voices] .route-page,body[data-page=complain] .route-page,body[data-page=manage] .route-page{width:66%;margin-left:auto;margin-right:5%;padding:18px 22px;background:#f7f0dfeb;border:1px solid #ead5a77a;border-radius:12px;box-shadow:0 8px 28px #07141833;color:#20333c}
body[data-page=manage] .route-page{width:52%;margin-right:8%}
body[data-page=voices] .panel-title,body[data-page=complain] .panel-title,body[data-page=manage] .panel-title{font-size:29px;margin:0 0 5px}
body[data-page=voices] .panel-lead,body[data-page=complain] .panel-lead,body[data-page=manage] .panel-lead{font-size:13px;margin:0 0 14px;line-height:1.5}
.directory-search{display:flex;align-items:end;gap:10px}.directory-search .field{flex:1}.directory-search input,#manage-form input{height:36px;font-size:14px}
.company-summaries{gap:8px}.company-summary{padding:10px 12px;border-radius:8px;background:#fffaf0ba;border:1px solid #bba77e66;box-shadow:none}
.proposal-box{padding:10px 12px;border-radius:8px;background:#fffaf077;border:1px solid #bba77e55}
body[data-page] .directory-search{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;margin:14px 0}
body[data-page] .directory-search button{min-height:36px;height:36px;align-self:end;padding:6px 14px;width:auto}
body[data-page] .directory-search input{height:36px;min-height:36px;padding:6px 10px}
