/* Private offer workspace. Every visual rule is scoped to .aro-* / .aro-app. */
.aro-app {
    --aro-navy: #131a4a;
    --aro-deep: #0b1230;
    --aro-soft: #2b3566;
    --aro-red: #e5181f;
    --aro-red-dark: #bb1118;
    --aro-sand: #f7f2e8;
    --aro-background: #f6f6f4;
    --aro-border: #e0e3e8;
    --aro-muted: #657087;
    --aro-radius: 14px;
    display: grid;
    grid-template-columns: 204px minmax(0, 1fr);
    width: 100%;
    max-width: 1680px;
    min-height: 100vh;
    margin: 0 auto;
    color: var(--aro-navy);
    background: var(--aro-background);
    font: 400 15px/1.6 'DM Sans', Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    text-align: left;
}
.aro-app *, .aro-app *::before, .aro-app *::after { box-sizing: border-box; }
.aro-app [hidden] { display: none !important; }
.aro-app h1, .aro-app h2, .aro-app h3, .aro-app h4, .aro-app p { color: inherit; }
.aro-app h1, .aro-app h2 { font-family: Fraunces, Georgia, serif; font-weight: 500; letter-spacing: -.035em; }
.aro-app h1 { margin: 0 0 6px; font-size: clamp(30px, 3vw, 44px); line-height: 1.15; }
.aro-app h2 { margin: 0 0 12px; font-size: clamp(26px, 2.7vw, 34px); line-height: 1.2; }
.aro-app h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; line-height: 1.4; }
.aro-app p { margin: 0 0 18px; }
.aro-app a { color: var(--aro-navy); text-underline-offset: 4px; }
.aro-app button, .aro-app input, .aro-app select, .aro-app textarea { font: inherit; }
.aro-app button { cursor: pointer; }
.aro-app button:disabled { opacity: .5; cursor: not-allowed; }
.aro-app :focus-visible { outline: 3px solid #5269b4; outline-offset: 3px; }
.aro-app .aro-step-heading:focus { outline: none; }
.aro-app .aro-eyebrow { margin: 0 0 10px; font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .15em; color: var(--aro-muted); }
.aro-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip: rect(0,0,0,0); overflow: hidden; white-space: nowrap; border: 0; }

/* A quiet, permanent mini-navigation. */
.aro-sidebar { position: sticky; top: 0; align-self: start; display: flex; flex-direction: column; gap: 38px; min-height: 100vh; padding: 34px 22px 28px; border-right: 1px solid var(--aro-border); background: #fff; }
.aro-brand-link { display: block; text-decoration: none; }
.aro-brand-logo { display: block; width: 156px; max-width: 100%; height: 76px; object-fit: contain; object-position: left center; margin-bottom: 18px; }
.aro-sidebar .aro-eyebrow { font-size: 9px; letter-spacing: .12em; }
.aro-mini-nav { display: flex; flex-direction: column; gap: 7px; }
.aro-mini-nav a, .aro-mini-nav button { display: flex; gap: 13px; align-items: center; padding: 13px 15px; min-height: 48px; border: none; border-radius: 10px; background: transparent; color: var(--aro-muted); font-size: 14px; font-weight: 600; text-align: left; text-decoration: none; }
.aro-mini-nav a:hover { color: var(--aro-navy); background: #f3f4f8; }
.aro-mini-nav .aro-nav-current { color: var(--aro-navy); background: #eef0f6; }
.aro-mini-nav span { font-size: 20px; line-height: 1; width: 18px; }
.aro-mini-nav .aro-logout { margin-top: 12px; box-shadow: 0 -1px 0 var(--aro-border); border-radius: 0 0 10px 10px; }
.aro-sidebar-note { margin-top: auto !important; padding-top: 60px; font-size: 12px; line-height: 1.8; color: var(--aro-muted) !important; }
.aro-private { color: var(--aro-muted); font-size: 11px; }
.aro-private span { margin-right: 6px; font-size: 8px; color: #4e7a66; }
.aro-main { min-width: 0; padding: 42px clamp(20px, 3.2vw, 52px) 44px; }
.aro-page-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.aro-page-header p:not(.aro-eyebrow) { margin: 10px 0 0; color: var(--aro-muted); }
.aro-button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 46px; padding: 11px 19px; border: 1px solid transparent; border-radius: 10px; font-size: 13px !important; font-weight: 650 !important; line-height: 1.5; text-decoration: none !important; white-space: normal; transition: background .15s ease, box-shadow .15s ease; }
.aro-app .aro-primary { background: var(--aro-navy); color: #fff; border-color: var(--aro-navy); box-shadow: 0 3px 8px #131a4a0b; }
.aro-app .aro-primary:hover { background: var(--aro-soft); border-color: var(--aro-soft); color: #fff; }
.aro-app .aro-secondary { background: #fff; color: var(--aro-navy); border-color: var(--aro-border); }
.aro-app .aro-secondary:hover { background: #f0f2f7; border-color: #b7bfd3; }
.aro-page-header > .aro-primary { min-height: 52px; padding: 14px 24px; background: var(--aro-red); border-color: var(--aro-red); }
.aro-page-header > .aro-primary:hover { background: var(--aro-red-dark); border-color: var(--aro-red-dark); }
.aro-notice { position: relative; padding: 14px 18px; margin-bottom: 22px; border: 1px solid #b7d3c3; border-radius: 10px; background: #eef6f1; color: #24543f; font-size: 14px; }
.aro-notice-error { border-color: #edc5be; background: #fff3ef; color: #8e3227; }
.aro-demo-banner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; padding: 10px 15px; color: #75612e; background: #f4eddc; border-radius: 9px; font-size: 12px; font-weight: 650; }
.aro-demo-banner span:last-child { font-weight: 400; }
.aro-demo-dot { width: 6px; height: 6px; border-radius: 50%; background: #b59341; }

/* Offers overview. */
.aro-list-toolbar { display: flex; gap: 14px; margin-bottom: 24px; }
.aro-search { position: relative; flex: 1; }
.aro-search > span { position: absolute; left: 16px; top: 8px; color: var(--aro-muted); font-size: 24px; }
.aro-app #aro-search { padding-left: 44px; }
.aro-filter { width: 210px; }
.aro-list-column-head { display: grid; grid-template-columns: minmax(0, 1fr) 160px 132px; gap: 25px; padding: 0 24px 12px; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--aro-muted); }
.aro-list-column-head span:last-child { text-align: right; }
.aro-offer-card { display: grid; grid-template-columns: minmax(0, 1fr) 160px 132px; gap: 25px; align-items: center; padding: 23px 24px; margin-bottom: 12px; border: 1px solid var(--aro-border); border-radius: var(--aro-radius); background: #fff; transition: border-color .15s ease; }
.aro-offer-card:hover { border-color: #b5bdcf; }
.aro-offer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 10px; color: var(--aro-muted); letter-spacing: .025em; }
.aro-status { display: inline-block; border-radius: 5px; padding: 3px 8px; color: #576382; background: #eef0f6; font-size: 10px; font-weight: 650; }
.aro-status-ready, .aro-status-accepted { background: #eaf2ed; color: #32614a; }
.aro-status-sent { background: #e9edf8; color: #425783; }
.aro-status-simulated { background: #f5eddb; color: #856c31; }
.aro-status-declined { background: #faece9; color: #9b5249; }
.aro-status-archived { background: #f2f2f2; color: #767676; }
.aro-offer-open { display: block; border: 0; padding: 0; text-align: left; color: var(--aro-navy); background: none; font-weight: 650 !important; font-size: 19px !important; line-height: 1.4; }
.aro-offer-open:hover { text-decoration: underline; text-underline-offset: 4px; }
.aro-offer-info > p { margin: 5px 0 0; color: var(--aro-muted); font-size: 12px; }
.aro-offer-price > strong { display: block; font-size: 19px; font-weight: 650; letter-spacing: -.02em; }
.aro-offer-price > small { display: block; color: var(--aro-muted); font-size: 10px; margin-top: 6px; }
.aro-card-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.aro-card-actions .aro-button { padding: 9px 14px; min-height: 42px; }
.aro-action-menu { position: relative; }
.aro-action-menu > summary { display: flex; align-items: center; justify-content: center; min-width: 34px; min-height: 42px; cursor: pointer; border-radius: 7px; letter-spacing: 1px; list-style: none; }
.aro-action-menu > summary::-webkit-details-marker { display: none; }
.aro-action-menu > summary:hover { background: #f3f4f8; }
.aro-action-menu > div { position: absolute; right: 0; top: calc(100% + 5px); width: 170px; padding: 6px; background: #fff; border: 1px solid var(--aro-border); border-radius: 10px; box-shadow: 0 8px 25px #0b123018; z-index: 5; }
.aro-action-menu .aro-button { display: block; width: 100%; text-align: left; border: 0; }
.aro-empty { text-align: center; padding: 70px 24px; margin-top: 8px; background: #fff; border: 1px dashed #ccd1dd; border-radius: 16px; }
.aro-empty h2 { font-size: 31px; }
.aro-empty p { max-width: 420px; margin: 12px auto 24px; color: var(--aro-muted); }
.aro-empty-mark { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin: 0 auto 24px; border-radius: 17px; background: var(--aro-sand); font-size: 26px; color: var(--aro-navy); }
.aro-privacy-line { margin: 24px 0 0 !important; font-size: 11px; color: var(--aro-muted) !important; }

/* Wizard header, four steps, 60/40 workspace. */
.aro-editor-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 22px; margin-bottom: 30px; }
.aro-back-link { display: inline-block; margin: 0 0 18px; border: none; padding: 0; color: var(--aro-muted); background: none; font-size: 12px !important; }
.aro-back-link:hover { color: var(--aro-navy); text-decoration: underline; }
.aro-editor-title { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.aro-editor-title h1 { font-size: clamp(27px, 2.8vw, 36px); margin: 0; }
.aro-number { font-size: 10px; color: var(--aro-muted); background: #e9ebef; padding: 4px 8px; border-radius: 5px; }
.aro-save-area { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px; }
.aro-save-area > span { font-size: 11px; color: #4e7a66; max-width: 200px; }
.aro-save-area > .aro-save-pending { color: #8f702c; }
.aro-stepper { display: flex; justify-content: space-between; gap: 0; margin: 0 0 30px; border: 1px solid var(--aro-border); border-radius: 12px; background: #fff; overflow: hidden; }
.aro-stepper button { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 64px; border: none; border-right: 1px solid #edf0f4; padding: 12px 10px; color: var(--aro-muted); background: #fff; font-size: 12px; font-weight: 600; }
.aro-stepper button:last-child { border-right: 0; }
.aro-stepper .aro-step-current { color: var(--aro-navy); background: #f0f2f8; }
.aro-stepper .aro-step-current::after { content: ''; position: absolute; height: 3px; background: var(--aro-navy); left: 18px; right: 18px; bottom: 0; border-radius: 3px; }
.aro-step-number { display: inline-flex; align-items: center; justify-content: center; width: 25px; height: 25px; border: 1px solid #dfe3ec; border-radius: 50%; color: var(--aro-muted); font-size: 11px; line-height: 1; }
.aro-step-current .aro-step-number { color: #fff; background: var(--aro-navy); border-color: var(--aro-navy); }
.aro-step-done .aro-step-number { color: #4e7a66; background: #eef5f0; border-color: #cce0d3; }
.aro-work-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(20px, 2.6vw, 40px); align-items: start; }
.aro-form-card { min-width: 0; padding: clamp(22px, 2.8vw, 38px); border: 1px solid var(--aro-border); border-radius: 16px; background: #fff; box-shadow: 0 6px 20px #0b123003; }
.aro-app .aro-lead { margin: 0 0 28px; font-size: 13px; line-height: 1.7; color: var(--aro-muted); }
.aro-field { min-width: 0; margin: 0 0 18px; }
.aro-field label { display: block; margin: 0 0 7px; color: var(--aro-navy); font-size: 12px; font-weight: 650; }
.aro-required { color: var(--aro-red); margin-left: 3px; }
.aro-unit { color: var(--aro-muted); font-weight: 400; font-size: 10px; margin-left: 4px; }
.aro-app input:not([type='checkbox']):not([type='hidden']), .aro-app textarea, .aro-app select {
    display: block; width: 100%; max-width: 100%; min-height: 47px; padding: 11px 13px;
    color: var(--aro-deep); background: #fff; border: 1px solid #d8dce5; border-radius: 9px;
    font-size: 14px; line-height: 1.6; box-shadow: none; transition: border-color .15s ease, box-shadow .15s ease;
}
.aro-app input::placeholder { color: #9198a8; opacity: 1; }
.aro-app input:hover, .aro-app textarea:hover, .aro-app select:hover { border-color: #aeb7cb; }
.aro-app input:focus, .aro-app textarea:focus, .aro-app select:focus { border-color: #6c7eb0; box-shadow: 0 0 0 3px #131a4a08; }
.aro-app textarea { min-height: 92px; resize: vertical; }
.aro-app input[aria-invalid='true'], .aro-app select[aria-invalid='true'] { border-color: #c75a4f; background: #fff9f8; }
.aro-app input[type='color'] { max-width: 120px; min-height: 44px; padding: 5px; cursor: pointer; }
.aro-app input[type='checkbox'] { flex: 0 0 auto; width: 17px; height: 17px; margin: 0; accent-color: var(--aro-navy); }
.aro-app input[type='file'] { font-size: 11px; padding: 8px; border-style: dashed; background: #fafbfc; }
.aro-app input[type='file']::file-selector-button { min-height: 34px; border: 0; border-radius: 6px; padding: 7px 10px; margin-right: 8px; background: #e9edf5; color: var(--aro-navy); font: inherit; font-weight: 650; cursor: pointer; }
.aro-field-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 14px; }
.aro-help, .aro-field-error { display: block; margin-top: 5px; font-size: 10px; line-height: 1.6; color: var(--aro-muted); }
.aro-field-error { color: #a83a30; }
.aro-details { margin: 14px 0; border: 1px solid var(--aro-border); border-radius: 10px; background: #fff; }
.aro-details > summary { display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 12px 15px; list-style: none; cursor: pointer; font-size: 12px; font-weight: 650; }
.aro-details > summary::-webkit-details-marker { display: none; }
.aro-details > summary > span { margin-left: 12px; font-weight: 400; font-size: 18px; color: var(--aro-muted); }
.aro-details[open] > summary > span { transform: rotate(45deg); }
.aro-details > summary:hover { background: #fafbfc; border-radius: 10px; }
.aro-details-body { padding: 8px 15px 0; }
.aro-form-note { color: var(--aro-muted) !important; font-size: 10px; line-height: 1.7; margin: 22px 0 0 !important; }
.aro-step-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid #ebedf2; }
.aro-step-footer > span { color: var(--aro-muted); font-size: 10px; white-space: nowrap; }
.aro-step-footer > div { display: flex; align-items: center; gap: 8px; }

/* An actual miniature offer, not a generic dashboard card. */
.aro-preview-wrap { position: sticky; top: 24px; min-width: 0; }
.aro-preview-label { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 0 13px; font-size: 11px; font-weight: 650; }
.aro-preview-label > small { color: var(--aro-muted); font-size: 10px; font-weight: 400; }
.aro-live-dot { display: inline-block; width: 6px; height: 6px; background: #608c72; border-radius: 50%; margin: 0 6px 1px 0; }
.aro-preview { max-height: calc(100vh - 140px); overflow-y: auto; background: #fff; border: 1px solid #e1e2e5; border-radius: 3px; box-shadow: 0 12px 32px #131a4a0c, 0 1px 2px #131a4a05; scrollbar-width: thin; scrollbar-color: #d9dce5 transparent; }
.aro-document { padding: clamp(22px, 2.4vw, 34px); color: #252a3d; font-size: 9px; line-height: 1.65; }
.aro-document-brand { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 19px; border-bottom: 1px solid #e6e8ee; margin-bottom: 20px; }
.aro-document-brand img { display: block; width: 114px; max-height: 60px; max-width: 48%; object-fit: contain; object-position: left center; }
.aro-document-brand > div { text-align: right; font-size: 7px; color: #7a7d8c; }
.aro-document-address { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.aro-document-address > p { margin: 0; font-size: 8px; }
.aro-document-address > span { text-align: right; font-size: 7px; color: #868999; }
.aro-document .aro-document-kicker { font-size: 7px; color: var(--aro-document-accent); text-transform: uppercase; letter-spacing: .15em; font-weight: 700; margin: 0 0 7px; }
.aro-document h3 { font: 500 clamp(20px, 1.7vw, 26px)/1.2 Fraunces, Georgia, serif; letter-spacing: -.025em; color: var(--aro-navy); margin: 0 0 17px; }
.aro-document p { margin-bottom: 12px; }
.aro-document-greeting { font-weight: 650; margin-bottom: 8px !important; }
.aro-document-hero { margin: 20px 0 16px; }
.aro-document-hero img { display: block; width: 100%; aspect-ratio: 1.9; object-fit: cover; border-radius: 2px; }
.aro-document figcaption { color: #8c8f9b; font-size: 7px; margin-top: 5px; }
.aro-document .aro-document-trip-title { margin: 17px 0 12px; font-size: 15px; line-height: 1.4; color: var(--aro-navy); font-weight: 650; }
.aro-document-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; padding: 12px 15px; margin: 0 0 18px; background: #f7f5f0; border-radius: 3px; }
.aro-document-facts div { min-width: 0; }
.aro-document-facts dt { font-size: 7px; text-transform: uppercase; letter-spacing: .06em; color: #838490; }
.aro-document-facts dd { margin: 2px 0 0; font-weight: 600; font-size: 8px; }
.aro-document-section { margin-top: 15px; }
.aro-document-section h4, .aro-document-cost h4 { margin: 0 0 5px; font-size: 10px; font-weight: 700; color: var(--aro-navy); }
.aro-document-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0; }
.aro-document-gallery figure { margin: 0; }
.aro-document-gallery img { width: 100%; aspect-ratio: 1.5; object-fit: cover; }
.aro-document-cost { margin: 22px 0 16px; }
.aro-document-cost-head { display: flex; justify-content: space-between; color: #8b8e9a; font-size: 7px; padding: 6px 0; border-bottom: 1px solid #e7e9ef; }
.aro-document-cost-row { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid #eceef2; font-size: 8px; }
.aro-document-cost-row > span { min-width: 0; }
.aro-document-cost-row > strong { white-space: nowrap; font-weight: 650; }
.aro-document-cost-row small { display: block; font-size: 7px; color: #7e8190; font-weight: 400; }
.aro-document-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 12px; margin-top: 12px; background: var(--aro-sand); border-left: 3px solid var(--aro-document-accent); font-size: 9px; font-weight: 600; }
.aro-document-total > strong { font-size: 15px; letter-spacing: -.03em; white-space: nowrap; color: var(--aro-navy); }
.aro-document-total small { display: block; font-size: 7px; font-weight: 400; color: #7a7d8b; }
.aro-document-footer { margin-top: 26px; padding-top: 12px; border-top: 1px solid #e6e8ee; font-size: 7px; color: #828593; }
.aro-document-footer p { margin: 3px 0; }
.aro-preview-note { text-align: center; font-size: 9px; color: #858c9c !important; margin: 13px 0 0 !important; }

/* Pricing, images and finishing touches. */
.aro-price-warning { margin: 0 0 16px; padding: 12px 14px; color: #9b3e2d; background: #fff4ed; border: 1px solid #f0d5c9; border-radius: 9px; font-size: 12px; }
.aro-line-item { min-width: 0; margin: 18px 0; padding: 17px 16px 12px; border: 1px solid var(--aro-border); border-radius: 11px; background: #fdfdfd; }
.aro-line-item legend { padding: 0 7px; font-size: 10px; color: var(--aro-muted); }
.aro-item-heading { display: flex; align-items: flex-start; gap: 10px; }
.aro-item-heading .aro-field { flex: 1; }
.aro-item-heading > button { margin-top: 24px; }
.aro-item-numbers { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, .95fr) minmax(0, 1.15fr); gap: 10px; }
.aro-item-bottom { display: flex; gap: 12px; justify-content: space-between; align-items: center; }
.aro-item-bottom .aro-field { width: 68%; margin-bottom: 0; }
.aro-item-bottom > strong { padding-top: 18px; font-size: 14px; white-space: nowrap; }
.aro-line-item .aro-details { margin: 12px 0 0; border: 0; background: #f3f5f8; }
.aro-line-item .aro-details > summary { min-height: 37px; padding: 8px 10px; font-size: 10px; }
.aro-line-item .aro-details-body { padding: 8px 10px 0; }
.aro-manual-note { display: block; margin-top: 10px; color: #9a7b41; font-size: 9px; }
.aro-discount { padding: 22px 0 2px; margin-top: 14px; border-top: 1px solid #edf0f4; }
.aro-price-total { margin: 4px 0 24px; padding: 18px; border-radius: 11px; background: var(--aro-sand); }
.aro-price-total > div { display: flex; justify-content: space-between; gap: 18px; padding: 5px 0; font-size: 12px; }
.aro-price-total .aro-grand-total { margin-top: 8px; padding-top: 13px; border-top: 1px solid #e1d9c9; font-weight: 650; font-size: 15px; }
.aro-grand-total strong { white-space: nowrap; font-size: 24px; line-height: 1.3; letter-spacing: -.03em; }
.aro-grand-total small { display: block; margin-top: 2px; font-size: 10px; font-weight: 400; color: var(--aro-muted); }
.aro-icon-button { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; min-width: 36px; min-height: 38px; border: 1px solid var(--aro-border); border-radius: 8px; padding: 5px; font-size: 18px !important; line-height: 1; color: var(--aro-muted); background: #fff; }
.aro-icon-button:hover { border-color: #c1c8d8; color: var(--aro-red); background: #f7f8fa; }
.aro-image-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.aro-image-option { min-width: 0; border: 1px solid var(--aro-border); border-radius: 7px; padding: 5px; cursor: pointer; }
.aro-image-option img { display: block; width: 100%; aspect-ratio: 1.5; object-fit: cover; border-radius: 4px; }
.aro-image-option > span { display: flex; align-items: center; gap: 7px; padding: 8px 3px 4px; font-size: 9px; }
.aro-image-row { display: flex; gap: 7px; align-items: flex-start; margin: 8px 0; }
.aro-image-row .aro-field { flex: 1; margin: 0 0 10px; }
.aro-image-row input { font-size: 12px !important; }
.aro-image-order { margin-top: 33px; color: var(--aro-muted); font-size: 10px; }
.aro-image-buttons { display: flex; gap: 3px; padding-top: 27px; }
.aro-image-buttons .aro-icon-button { min-width: 27px; min-height: 45px; font-size: 14px !important; }
.aro-upload-status { display: block; margin-top: 6px; font-size: 11px; color: var(--aro-soft); }
.aro-brand-preview img { display: block; max-width: 150px; max-height: 80px; object-fit: contain; margin: 8px 0 18px; }
.aro-attachment-list { list-style: none; margin: 0 0 20px; padding: 0; }
.aro-attachment-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; font-size: 12px; border-bottom: 1px solid var(--aro-border); }
.aro-finish-price { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 18px; margin: 0 0 18px; border-radius: 10px; background: var(--aro-sand); }
.aro-finish-price span { font-size: 12px; }
.aro-finish-price strong { font-size: 25px; font-weight: 650; letter-spacing: -.035em; }
.aro-document-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 10px; }
.aro-email-box { padding: 20px; margin: 25px 0 14px; border: 1px solid #dfe3ed; border-radius: 11px; background: #f8f9fc; }
.aro-email-heading { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.aro-email-heading > span { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: #e9edf6; border-radius: 10px; font-size: 19px; }
.aro-email-heading h3 { font-size: 15px; }
.aro-email-heading p { font-size: 10px; color: var(--aro-muted); margin: 0; }
.aro-email-box > .aro-primary { background: var(--aro-red); border-color: var(--aro-red); }
.aro-email-box > .aro-primary:hover { background: var(--aro-red-dark); border-color: var(--aro-red-dark); }
.aro-send-log { margin: 15px 0 20px; padding-left: 17px; }
.aro-send-log li { padding: 0 0 14px 5px; font-size: 11px; }
.aro-send-log strong, .aro-send-log span, .aro-send-log small { display: block; }
.aro-send-log span, .aro-send-log small { font-size: 9px; color: var(--aro-muted); }

/* Confirmation modal uses the native focus trap and keyboard Escape behavior. */
.aro-dialog { width: min(570px, calc(100vw - 30px)); max-height: calc(100vh - 44px); margin: auto; padding: 28px; border: 1px solid #d5d9e4; border-radius: 17px; color: var(--aro-navy); background: #fff; box-shadow: 0 22px 90px #0b12303d; }
.aro-dialog::backdrop { background: #0b123065; backdrop-filter: blur(3px); }
.aro-dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 13px; }
.aro-dialog-top .aro-eyebrow { margin: 0; }
.aro-dialog h2 { font-size: 31px; }
.aro-dialog > p { font-size: 12px; color: var(--aro-muted); }
.aro-send-review { padding: 18px; margin: 20px 0 14px; border: 1px solid var(--aro-border); border-radius: 9px; background: #fafbfc; }
.aro-send-review dt { margin: 15px 0 4px; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--aro-muted); }
.aro-send-review dt:first-child { margin-top: 0; }
.aro-send-review dd { margin: 0; font-size: 12px; overflow-wrap: anywhere; }
.aro-exact-message { white-space: pre-wrap; }
.aro-send-review ul { padding: 0 0 0 17px; margin: 0; }
.aro-dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; margin-top: 20px; }
.aro-dialog-actions .aro-primary { background: var(--aro-red); border-color: var(--aro-red); }

/* WordPress's own sign-on, styled as a simple frontend access card. */
.aro-app.aro-access { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 45px 20px; background: var(--aro-sand); }
.aro-access-card { width: min(100%, 460px); padding: 38px; background: #fff; border: 1px solid #e8e2d7; border-radius: 20px; box-shadow: 0 18px 60px #131a4a08; }
.aro-access-logo { display: block; max-width: 165px; max-height: 86px; object-fit: contain; margin: 0 0 36px; }
.aro-access-card h1 { margin-bottom: 18px; font-size: 39px; }
.aro-access-card > p:not(.aro-eyebrow) { color: var(--aro-muted); font-size: 13px; }
.aro-access-card form { margin: 26px 0 18px; }
.aro-access-card form p { margin-bottom: 18px; }
.aro-access-card form label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 650; }
.aro-access-card .login-remember label { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 400; }
#aro-login-submit { border: 1px solid var(--aro-navy); color: #fff; background: var(--aro-navy); font-weight: 650; cursor: pointer; min-height: 49px; }
#aro-login-submit:hover { background: var(--aro-soft); }
.aro-access-home { display: inline-block; font-size: 11px; margin-top: 12px; text-decoration: none; color: var(--aro-muted) !important; }

/* Tablet and mobile: the same calm workspace, not a squeezed desktop. */
@media (max-width: 1190px) {
    .aro-app { grid-template-columns: 174px minmax(0, 1fr); }
    .aro-sidebar { padding-left: 15px; padding-right: 15px; }
    .aro-main { padding: 32px 25px; }
    .aro-work-grid { gap: 22px; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
    .aro-form-card { padding: 25px; }
    .aro-document { padding: 22px; }
    .aro-save-area { flex-direction: column-reverse; align-items: flex-end; gap: 7px; }
    .aro-item-numbers { grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); }
    .aro-item-numbers > .aro-field:last-child { grid-column: 1 / -1; }
    .aro-item-bottom { flex-wrap: wrap; }
    .aro-item-bottom .aro-field { width: 100%; }
    .aro-item-bottom > strong { padding-top: 0; margin-left: auto; }
    .aro-offer-card, .aro-list-column-head { grid-template-columns: minmax(0, 1fr) 125px 125px; gap: 16px; }
}
@media (max-width: 950px) {
    .aro-work-grid { grid-template-columns: minmax(0, 1fr); }
    .aro-preview-wrap { position: static; max-width: 540px; width: 100%; margin: 5px auto 0; }
    .aro-preview { max-height: 760px; }
    .aro-document { padding: 34px; font-size: 10px; }
    .aro-document h3 { font-size: 28px; }
    .aro-document-brand > div { font-size: 8px; }
    .aro-document-address > p { font-size: 9px; }
    .aro-document-cost-row { font-size: 9px; }
    .aro-document-total > strong { font-size: 20px; }
    .aro-item-numbers { grid-template-columns: minmax(0, .65fr) minmax(0, .95fr) minmax(0, 1.15fr); }
    .aro-item-numbers > .aro-field:last-child { grid-column: auto; }
    .aro-offer-card { grid-template-columns: minmax(0, 1fr) 130px; }
    .aro-card-actions { grid-column: 1 / -1; justify-content: flex-end; margin-top: -8px; }
    .aro-list-column-head { display: none; }
    .aro-page-header { align-items: flex-start; }
    .aro-list-toolbar { gap: 10px; }
    .aro-filter { width: 170px; }
}
@media (max-width: 700px) {
    .aro-app { display: block; }
    .aro-sidebar { position: static; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; min-height: 0; padding: 12px 18px; border-right: 0; border-bottom: 1px solid var(--aro-border); }
    .aro-brand-logo { width: 94px; height: 44px; margin: 0; }
    .aro-sidebar .aro-eyebrow, .aro-sidebar-note, .aro-private { display: none; }
    .aro-mini-nav { flex-direction: row; flex-wrap: wrap; flex: 1 1 250px; justify-content: flex-end; gap: 4px; }
    .aro-mini-nav a, .aro-mini-nav button { min-height: 44px; padding: 9px 11px; font-size: 11px; gap: 6px; white-space: nowrap; }
    .aro-mini-nav .aro-logout { margin-top: 0; box-shadow: none; border-radius: 10px; }
    .aro-mini-nav span { display: none; }
    .aro-main { padding: 27px 18px 30px; }
    .aro-page-header { display: block; margin-bottom: 23px; }
    .aro-page-header > .aro-primary { margin-top: 22px; width: 100%; }
    .aro-page-header h1 { font-size: 37px; }
    .aro-demo-banner { font-size: 11px; gap: 6px; }
    .aro-demo-banner span:last-child { flex-basis: 100%; }
    .aro-list-toolbar { flex-direction: column; }
    .aro-filter { width: 100%; }
    .aro-offer-card { padding: 20px 18px; gap: 12px; grid-template-columns: minmax(0, 1fr) 110px; }
    .aro-offer-open { font-size: 17px !important; }
    .aro-offer-price { text-align: right; }
    .aro-offer-price > strong { font-size: 17px; }
    .aro-card-actions { margin-top: 0; }
    .aro-offer-meta { gap: 5px; }
    .aro-empty { padding: 43px 20px; }
    .aro-empty h2 { font-size: 28px; }
    .aro-editor-header { align-items: stretch; flex-direction: column; gap: 17px; margin-bottom: 22px; }
    .aro-back-link { margin-bottom: 13px; }
    .aro-editor-title h1 { font-size: 31px; }
    .aro-save-area { flex-direction: row; align-items: center; justify-content: space-between; }
    .aro-save-area > span { max-width: 200px; }
    .aro-save-area .aro-button { min-height: 42px; padding: 9px 17px; }
    .aro-stepper { margin-bottom: 21px; }
    .aro-stepper button { flex-direction: column; gap: 6px; min-height: 74px; font-size: 10px; padding: 10px 2px; }
    .aro-stepper .aro-step-current::after { left: 9px; right: 9px; }
    .aro-step-number { width: 23px; height: 23px; }
    .aro-form-card { padding: 25px 20px 22px; border-radius: 13px; }
    .aro-app .aro-step-heading { font-size: 28px; }
    .aro-app input:not([type='checkbox']):not([type='hidden']), .aro-app textarea, .aro-app select { font-size: 16px; min-height: 49px; }
    .aro-app input[type='file'] { font-size: 11px; }
    .aro-item-numbers { grid-template-columns: minmax(0, .65fr) minmax(0, 1fr); gap: 8px; }
    .aro-item-numbers > .aro-field:last-child { grid-column: 1 / -1; }
    .aro-item-heading > button { margin-top: 23px; }
    .aro-line-item { padding: 14px 12px; }
    .aro-details-body { padding-left: 12px; padding-right: 12px; }
    .aro-step-footer { align-items: flex-start; flex-direction: column; gap: 13px; }
    .aro-step-footer > div { width: 100%; justify-content: flex-end; }
    .aro-step-footer .aro-button { flex: 1; padding: 11px 10px; }
    .aro-grand-total strong { font-size: 21px; }
    .aro-document { padding: 27px; font-size: 9px; }
    .aro-document h3 { font-size: 25px; }
    .aro-document-brand img { width: 105px; }
    .aro-preview { max-height: none; }
    .aro-preview-wrap { margin-top: 8px; }
    .aro-document-actions .aro-button { width: 100%; }
    .aro-finish-price { padding: 15px; }
    .aro-finish-price strong { font-size: 24px; }
    .aro-email-box { padding: 17px 14px; }
    .aro-image-buttons .aro-icon-button { min-width: 24px; }
    .aro-dialog { padding: 23px 20px; }
    .aro-dialog-actions .aro-button { width: 100%; }
    .aro-access-card { padding: 31px 25px; }
    .aro-access-card h1 { font-size: 35px; }
}
@media (prefers-reduced-motion: reduce) {
    .aro-app *, .aro-app *::before, .aro-app *::after { scroll-behavior: auto !important; transition: none !important; }
}
