/* Admin navigation and workflow layout; public booking assets are not involved. */
.workflow-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 20px;border-bottom:1px solid var(--line);padding-bottom:10px}
.workflow-tabs a{display:inline-flex;align-items:center;min-height:44px;padding:10px 14px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#555;font-size:13px}
.workflow-tabs a[aria-current=page]{color:#202020;border-color:#ccc;box-shadow:inset 0 -2px var(--accent);font-weight:650}
.workflow-page-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.workflow-price-nav{align-items:center;margin-top:0;gap:8px}
.workflow-more{position:relative;margin:0 0 0 auto;color:#444;font-size:13px}
.workflow-more>summary{cursor:pointer;padding:12px;min-height:44px;list-style:revert}
.workflow-more>div{position:absolute;z-index:35;right:0;top:100%;min-width:240px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:8px;box-shadow:0 12px 32px #00000014}
.workflow-more>div a{border:0!important;border-radius:6px!important;min-height:44px;padding:10px 12px}
.workflow-more>div a:hover{background:#f5f5f5}
.workflow-draft-setup,.workflow-guidance{margin:0 0 18px;padding:0 14px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:13px;line-height:1.8}
.workflow-draft-setup>summary,.workflow-guidance>summary{cursor:pointer;min-height:44px;padding:10px 0;font-weight:550}
.workflow-draft-setup .cat-start{border:0;box-shadow:none;padding:0 0 16px;margin:0}
.workflow-draft-setup .stack-form{margin-top:8px}
.workflow-draft-note{max-width:400px;line-height:1.6;font-size:12px;color:#666}
.cat-book-bar{padding:12px 16px;gap:8px 20px}
.cat-book-bar small{margin-top:3px}
.workflow-live{display:inline-block;padding:7px 10px;border-radius:6px;background:#fff3e7;color:#8f4818;font-size:12px}
.cat-discount-grid{padding:16px 0 0}
.cat-discount-grid .cat-discount{margin:8px 0 0}
.cat-discount-grid .cat-discount summary{font-size:14px}
.workflow-metric{display:block;color:var(--ink);min-height:100px}
.workflow-metric small{display:block;margin-top:12px;color:#666;font-size:12px}
.op-metrics>div:has(.workflow-metric):hover{border-color:#b8b8b8;background:#fafafa}
.workflow-affiliate-policy{margin-bottom:8px}
.workflow-affiliate-policy details{margin:0}
.workflow-affiliate-policy summary{font-size:14px}
.workflow-tabs a:focus-visible,.workflow-more :focus-visible,.workflow-metric:focus-visible{outline:2px solid #a9693e;outline-offset:3px}
@media(max-width:760px){
 .workflow-price-nav{display:flex;gap:5px;align-items:stretch}
 .workflow-price-nav>a{flex:1;min-height:44px;font-size:12px;padding:8px}
 .workflow-price-nav .workflow-more{width:100%;margin:0}
 .workflow-more>summary{text-align:right}
 .workflow-more>div{position:static;box-shadow:none;min-width:0;margin-bottom:8px}
 .workflow-page-tools{align-items:flex-start;flex-wrap:wrap}.workflow-page-tools>.button{width:100%}
 .workflow-tabs{gap:6px}.workflow-tabs a{flex:1 0 auto;justify-content:center;padding:8px 10px;font-size:12px}
 .workflow-draft-note{max-width:none}.cat-book-bar{padding:12px}
}
@media(min-width:761px){
 .page-wrap>.page-heading{align-items:center;margin-bottom:22px}
 .page-wrap>.page-heading h1{font-size:24px}
 .page-wrap>.page-heading>.stack-form{display:flex;align-items:end;gap:12px;margin:0}
 .page-wrap>.page-heading>.stack-form .button{margin:0}
}
@media(max-width:760px){
 .page-wrap>.page-heading>.stack-form,.catalog-page>.page-heading>.stack-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}
 .page-wrap>.page-heading>.stack-form .button{width:auto;min-width:104px;padding:10px 12px}
 .page-wrap>.page-heading>.stack-form select{width:100%}
}
.workspace-brand{min-width:0;margin-bottom:32px}
.workspace-brand-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 16px;padding:12px 0;border-bottom:1px solid var(--line)}
.workspace-brand-heading h2{margin:0;font-size:18px}
.workspace-brand-heading>span{font-size:11px;padding:4px 8px;background:#eee;border-radius:5px;color:#555}
.workspace-brand-heading>a{margin-left:auto;font-size:12px;min-height:32px;display:inline-flex;align-items:center}
.affiliate-source{display:grid;gap:6px;padding:16px;background:#fff8f1;border:1px solid #efdbcc;border-radius:10px;margin-bottom:10px}
.affiliate-source strong{font-size:17px}.affiliate-source span{font-size:13px;color:#874c26}.affiliate-source small{font-size:12px;line-height:1.7;color:#666;overflow-wrap:anywhere}
.workspace-brand .op-metrics{margin-top:16px}
.affiliate-card .affiliate-source{margin:-4px -4px 16px;padding:14px;border:0}
.affiliate-card .affiliate-source h2{font-size:18px;margin:0}
.affiliate-card>.workflow-affiliate-policy{margin:0 0 16px;padding:10px 0;border-bottom:1px solid var(--line)}
.affiliate-card>.workflow-affiliate-policy>summary{font-size:13px;min-height:36px}
.affiliate-profile{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px 24px;margin:0 0 18px;font-size:13px;line-height:1.7}
.affiliate-profile>div{min-width:0}.affiliate-profile>div:last-child{grid-column:1/-1}
.affiliate-profile dt{color:#707070;font-size:12px;margin-bottom:3px}
.affiliate-profile dd{margin:0;color:#333;overflow-wrap:anywhere}
.affiliate-profile code{font-size:12px}
@media(max-width:760px){.affiliate-profile{grid-template-columns:minmax(0,1fr)}}

.booking-brand-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px;margin:24px 0}.booking-brand-option{display:grid;gap:12px;padding:24px;border:1px solid #ddd;border-radius:12px;color:#242424;text-decoration:none;background:#fff}.booking-brand-option strong{font-size:18px}.booking-brand-option span{font-size:13px;color:#666}.booking-brand-option:hover{border-color:#cb864c;background:#faf8f5}.booking-brand-option:focus-visible{outline:3px solid #cb864c;outline-offset:3px}

.cat-discount-table{width:100%;min-width:610px;border-collapse:collapse;text-align:left}.cat-discount-table thead th{padding:14px 18px;background:#f5f5f5;color:#626262;font-size:12px;font-weight:600;border-bottom:1px solid #ddd}.cat-discount-table tbody th,.cat-discount-table tbody td{padding:20px 18px;border-bottom:1px solid #e8e8e8;vertical-align:middle}.cat-discount-table tbody tr:last-child>*{border-bottom:0}.cat-discount-table tbody tr:hover{background:#fafafa}.cat-discount-table tbody th{width:44%;font-size:14px;font-weight:600;white-space:normal}.cat-discount-table small{display:block;margin-top:6px;color:#777;font-size:12px;font-weight:400}.cat-discount-current{width:22%;white-space:nowrap}.cat-discount-current strong{font-size:20px;font-variant-numeric:tabular-nums;color:#242424}.cat-discount-table .cat-discount-row-form{display:flex;align-items:center;gap:10px;margin:0;width:100%;min-width:200px}.cat-discount-row-form input{width:110px;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #ccc;border-radius:8px;background:#fff;font-size:16px;color:#242424}.cat-discount-row-form input:focus-visible{outline:2px solid #c88a54;outline-offset:2px}.cat-discount-row-form .button{min-height:44px;margin:0;white-space:nowrap}.cat-discount-scroll{margin-top:20px;border:1px solid #e1e1e1;border-radius:10px}.cat-discount-note{font-size:12px;color:#737373;line-height:1.7;margin-bottom:0}

.cat-distance-table{min-width:740px}.cat-distance-table th:first-child{width:25%}.cat-distance-table th:last-child{width:90px}.cat-distance-table [data-distance-open]{background:#faf7f3}.cat-distance-table input{width:100%;min-width:0}.cat-distance-table [data-distance-open] th{font-weight:700}

.affiliate-list-filter{grid-template-columns:minmax(240px,1fr) minmax(160px,220px) auto}.affiliate-members-table{border-collapse:collapse;width:100%;min-width:1000px;text-align:left}.affiliate-members-table thead th{background:#f4f4f4;color:#616161;font-size:12px;padding:14px;border-bottom:1px solid #ddd}.affiliate-members-table tbody th,.affiliate-members-table tbody td{padding:18px 14px;border-bottom:1px solid #e6e6e6;vertical-align:top;font-size:13px;line-height:1.6}.affiliate-members-table tbody th{font-weight:600;min-width:210px;max-width:300px;white-space:normal;overflow-wrap:anywhere}.affiliate-members-table small{display:block;margin-top:5px;color:#757575;font-size:11px;font-weight:400}.affiliate-members-table code{overflow-wrap:anywhere}.affiliate-members-table tbody tr:hover{background:#fafafa}.affiliate-members-table tbody tr:target{background:#fff8ef;outline:2px solid #d99b64;outline-offset:-2px}.affiliate-brand-label{display:inline-block;white-space:nowrap;padding:5px 9px;background:#f0f0f0;border:1px solid #dedede;border-radius:7px;font-weight:600;color:#333}.affiliate-members-table .button{white-space:nowrap;min-height:40px}.affiliate-members-table .op-badge{white-space:nowrap}@media(max-width:760px){.affiliate-list-filter{grid-template-columns:1fr}}

.affiliate-list-filter{display:grid}.affiliate-members-table{min-width:850px;table-layout:fixed}.affiliate-members-table thead th:nth-child(1){width:27%}.affiliate-members-table thead th:nth-child(2){width:14%}.affiliate-members-table thead th:nth-child(3){width:23%}.affiliate-members-table thead th:nth-child(n+4){width:12%}.affiliate-members-table tbody th{min-width:0;max-width:none}.affiliate-members-table tbody th,.affiliate-members-table tbody td,.affiliate-members-table thead th{padding-left:12px;padding-right:12px}.affiliate-members-table td{overflow-wrap:anywhere}.affiliate-members-table code{word-break:break-all}.affiliate-members-table .button{padding:8px 12px}

.dashboard-brand-labels{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 22px}.dashboard-overview .op-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-metric>a{height:100%;box-sizing:border-box}.dashboard-jobs{width:100%;min-width:680px;border-collapse:collapse;text-align:left}.dashboard-jobs th{background:#f4f4f4;font-size:12px;color:#616161}.dashboard-jobs th,.dashboard-jobs td{padding:15px;border-bottom:1px solid #e5e5e5}.dashboard-jobs td{font-size:13px;line-height:1.7}@media(max-width:760px){.dashboard-overview .op-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:380px){.dashboard-overview .op-metrics{grid-template-columns:1fr}}

/* Shared lists keep brand identity next to each record instead of repeating pages. */
.shared-brand-summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 18px;font-size:12px}
.shared-table{width:100%;min-width:760px;border-collapse:collapse;font-size:13px}
.shared-table th{white-space:nowrap;text-align:left}
.shared-table td{vertical-align:top;line-height:1.6}
.shared-table td small{display:block;color:#777;font-size:11px;margin-top:4px}
.shared-table .op-form{min-width:190px;max-width:290px;margin:8px 0}
.shared-table .op-form .button{font-size:11px;padding:8px 12px}
.shared-table details{margin:4px 0}.shared-table details summary{cursor:pointer;color:#444;white-space:nowrap}
.shared-table .cat-thumb{width:112px}.shared-table .cat-thumb img{height:72px;object-fit:cover}
.shared-audit-detail{max-width:330px;overflow-wrap:anywhere}
.shared-distance-band{display:flex;justify-content:space-between;gap:24px;padding:4px 0;min-width:220px;border-bottom:1px solid #eee}
.shared-create{position:relative;margin:0!important;font-size:12px}
.shared-create>summary{list-style:none;white-space:nowrap;cursor:pointer}.shared-create>summary::-webkit-details-marker{display:none}
.shared-create>div{position:absolute;right:0;top:calc(100% + 6px);z-index:15;width:240px;padding:14px;display:grid;gap:12px;background:#fff;border:1px solid #ddd;border-radius:12px;box-shadow:0 8px 28px #0001}
.shared-create>div>.op-link{display:block;padding:9px 10px;background:#f5f5f5;border-radius:6px}
.cat-matrix[data-shared-table="catalog-prices"]{min-width:1050px}.cat-matrix[data-shared-table="catalog-prices"] th:nth-child(2),.cat-matrix[data-shared-table="catalog-prices"] td:nth-child(2){min-width:130px;width:140px}
.cat-matrix[data-shared-table="catalog-prices"] .cat-vehicle-heading{display:grid;justify-items:center;gap:8px}
.cat-matrix[data-shared-table="catalog-prices"] .cat-vehicle-heading strong{font-size:12px}
.cat-matrix[data-shared-table="catalog-prices"] .cat-inline-price .cat-price{min-width:80px}
@media(max-width:760px){.shared-brand-summary{font-size:11px}.shared-table{font-size:12px}.shared-create>summary{font-size:11px}.cat-matrix[data-shared-table="catalog-prices"]{min-width:1000px}.cat-matrix[data-shared-table="catalog-prices"] th:first-child{min-width:190px}.cat-matrix[data-shared-table="catalog-prices"] .cat-photo{display:block}}
.cat-table-panel:has([data-shared-table="catalog-prices"]) .op-filter{grid-template-columns:minmax(90px,1fr) minmax(110px,1.1fr) minmax(125px,1.3fr) minmax(145px,1.4fr) 72px auto}
.cat-matrix[data-shared-table="catalog-prices"]{min-width:880px}
.cat-matrix[data-shared-table="catalog-prices"] thead th:not(:first-child),.cat-matrix[data-shared-table="catalog-prices"] tbody td{min-width:125px}
.cat-matrix[data-shared-table="catalog-prices"] th:first-child{min-width:190px;width:22%}
.cat-matrix[data-shared-table="catalog-prices"] th:nth-child(2),.cat-matrix[data-shared-table="catalog-prices"] td:nth-child(2){min-width:115px;width:125px}
@media(max-width:1100px){.cat-table-panel:has([data-shared-table="catalog-prices"]) .op-filter{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.cat-table-panel:has([data-shared-table="catalog-prices"]) .op-filter{grid-template-columns:minmax(0,1fr)}.cat-matrix[data-shared-table="catalog-prices"]{min-width:880px}}
.affiliate-members-table{min-width:1200px}.affiliate-members-table thead th:nth-child(1){width:10%}.affiliate-members-table thead th:nth-child(2){width:18%}.affiliate-members-table thead th:nth-child(3){width:11%}.affiliate-members-table thead th:nth-child(4){width:17%}.affiliate-members-table thead th:nth-child(n+5){width:8.8%}.affiliate-members-table .affiliate-reference-cell code{white-space:nowrap;word-break:normal;overflow-wrap:normal;font-weight:600}
.affiliate-pricing-editor{margin:20px 0;padding:20px;background:#fafafa;border:1px solid #e5e5e5;border-radius:10px}
.affiliate-pricing-form{display:grid;grid-template-columns:1fr 1fr auto;gap:18px;align-items:end}.affiliate-pricing-form label{display:grid;gap:7px;font-size:13px}.affiliate-pricing-form small{font-size:11px;color:#777}
[data-shared-table="affiliate-defaults"] input{width:100px;min-height:44px}.affiliate-pricing-form input{width:100%;min-height:44px}
@media(max-width:760px){.affiliate-pricing-form{grid-template-columns:1fr}.affiliate-pricing-editor{padding:14px}}
[data-shared-table="affiliate-defaults"] input,.affiliate-pricing-form input{border:1px solid #d4d4d4;border-radius:8px;background:#fff;color:#262626;padding:10px 12px;font:inherit;box-sizing:border-box}
[data-shared-table="affiliate-defaults"] input:focus-visible,.affiliate-pricing-form input:focus-visible{outline:2px solid #d28c52;outline-offset:2px}
.affiliate-members-table .button{margin:0}.affiliate-members-table .affiliate-add-bank{min-height:36px;padding:7px 10px;font-size:11px;background:var(--primary);border:1px solid var(--primary);color:#fff}.affiliate-members-table .affiliate-add-bank:hover{background:var(--primary-dark);border-color:var(--primary-dark);color:#fff}.affiliate-members-table .affiliate-manage{background:#f4f4f4;border-color:#d5d5d5;color:#414141}.affiliate-members-table .affiliate-manage:hover{background:#e9e9e9;border-color:#aaa;color:#202020}.affiliate-members-table .affiliate-add-bank:focus-visible,.affiliate-members-table .affiliate-manage:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
