:root {
  --ot-ink: #18362d;
  --ot-ink-2: #22493d;
  --ot-green: #1f6a4d;
  --ot-green-soft: #e8f1ed;
  --ot-gold: #c99b42;
  --ot-gold-soft: #f6edda;
  --ot-cream: #f6f5f0;
  --ot-paper: #ffffff;
  --ot-text: #26332f;
  --ot-muted: #718078;
  --ot-line: #dde4df;
  --ot-danger: #b54c4c;
  --ot-shadow: 0 18px 50px rgba(24, 54, 45, .08);
  --ot-font: "Lato", "Noto Sans SC", sans-serif;
  --ot-serif: "Playfair Display", "Noto Serif SC", serif;
}

.quote-app *, .proposal-page * { box-sizing: border-box; }
.quote-app { margin: 0; min-height: 100vh; color: var(--ot-text); background: #f2f4f1; font-family: var(--ot-font); font-size: 16px; }
.quote-app button, .quote-app input, .quote-app select, .quote-app textarea,
.proposal-page button { font: inherit; }
.quote-app button { border: 0; cursor: pointer; }
.quote-app a, .proposal-page a { color: inherit; text-decoration: none; }
.quote-app h1, .quote-app h2, .quote-app h3, .quote-app p { margin-top: 0; }
.quote-app input, .quote-app select, .quote-app textarea {
  width: 100%; border: 1px solid #d3dcd6; border-radius: 9px; background: #fff; color: var(--ot-text);
  padding: 11px 12px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.quote-app input:focus, .quote-app select:focus, .quote-app textarea:focus { border-color: var(--ot-green); box-shadow: 0 0 0 3px rgba(31, 106, 77, .1); }
.quote-app label { display: grid; gap: 7px; color: #5f7068; font-size: 14px; font-weight: 600; }
.quote-app textarea { resize: vertical; line-height: 1.55; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 252px minmax(0, 1fr); }
.app-sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 50; width: 252px; display: flex; flex-direction: column;
  padding: 26px 17px 18px; color: #eef4f0; background:
  radial-gradient(circle at 20% 8%, rgba(201, 155, 66, .14), transparent 26%), var(--ot-ink);
}
.workbench-brand { display: flex; align-items: center; gap: 12px; padding: 0 9px 29px; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand-mark { display: grid; place-items: center; width: 39px; height: 39px; flex: 0 0 auto; border: 1px solid rgba(235, 208, 153, .48); border-radius: 50%; color: #f5dca9; font-family: var(--ot-serif); font-size: 20px; }
.workbench-brand strong { display: block; font-family: "Noto Serif SC", serif; font-size: 17px; letter-spacing: .08em; }
.workbench-brand small { display: block; margin-top: 1px; color: rgba(238,244,240,.58); font-size: 10px; letter-spacing: .04em; }
.workbench-nav { padding-top: 25px; display: grid; gap: 6px; }
.nav-label { padding: 0 12px; margin: 0 0 7px; color: rgba(238,244,240,.42); font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.nav-item { width: 100%; min-height: 47px; display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 9px; padding: 0 13px; border-radius: 10px; color: rgba(238,244,240,.69); background: transparent; text-align: left; transition: .2s; }
.nav-item i { width: 20px; font-size: 16px; text-align: center; }
.nav-item span { font-size: 14px; font-weight: 600; }
.nav-item em { min-width: 21px; padding: 2px 6px; border-radius: 10px; color: rgba(255,255,255,.7); background: rgba(255,255,255,.09); font-size: 11px; font-style: normal; text-align: center; }
.nav-item:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-item.active { color: #fff; background: rgba(201, 155, 66, .19); box-shadow: inset 3px 0 0 var(--ot-gold); }
.nav-item.active i { color: #efcb84; }
.sidebar-note { margin-top: auto; display: flex; align-items: flex-start; gap: 10px; padding: 14px 12px; border: 1px solid rgba(255,255,255,.09); border-radius: 11px; background: rgba(255,255,255,.04); }
.status-dot { width: 8px; height: 8px; flex: 0 0 auto; margin-top: 6px; border-radius: 50%; background: #67d39a; box-shadow: 0 0 0 4px rgba(103,211,154,.1); }
.sidebar-note strong, .sidebar-note small { display: block; }
.sidebar-note strong { font-size: 12px; }
.sidebar-note small { margin-top: 3px; color: rgba(238,244,240,.5); font-size: 10px; }
.sidebar-user { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 10px; padding: 18px 9px 0; }
.avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--ot-ink); background: #efd49e; font-size: 12px; font-weight: 800; }
.sidebar-user strong, .sidebar-user small { display: block; }
.sidebar-user strong { font-size: 13px; }
.sidebar-user small { color: rgba(238,244,240,.5); font-size: 10px; }
.sidebar-user > i { color: rgba(255,255,255,.45); font-size: 11px; }

.app-main { grid-column: 2; min-width: 0; }
.workspace-bar { position: sticky; top: 0; z-index: 35; min-height: 66px; display: flex; align-items: center; justify-content: space-between; padding: 0 34px; border-bottom: 1px solid var(--ot-line); background: rgba(255,255,255,.92); backdrop-filter: blur(14px); }
.breadcrumbs { display: flex; align-items: center; gap: 9px; color: var(--ot-muted); font-size: 13px; }
.breadcrumbs a:hover { color: var(--ot-green); }
.breadcrumbs i { color: #aeb9b3; font-size: 9px; }
.breadcrumbs span { color: var(--ot-text); font-weight: 600; }
.workspace-actions { display: flex; align-items: center; gap: 17px; }
.icon-button { position: relative; width: 36px; height: 36px; border-radius: 50%; color: #52645b; background: transparent; }
.icon-button:hover { background: #edf1ee; }
.notification-dot { position: absolute; top: 7px; right: 8px; width: 6px; height: 6px; border: 1px solid white; border-radius: 50%; background: #c76e52; }
.quiet-link { color: #56675f; font-size: 13px; font-weight: 600; }
.quiet-link i { margin-right: 5px; font-size: 11px; }
.mobile-sidebar-toggle { display: none; width: 38px; height: 38px; border-radius: 8px; color: var(--ot-ink); background: #edf2ef; }

.app-view { display: none; max-width: 1580px; margin: 0 auto; padding: 33px 34px 70px; }
.app-view.active { display: block; animation: viewIn .26s ease both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 27px; }
.page-heading h1 { margin: 3px 0 7px; color: var(--ot-ink); font-family: var(--ot-serif); font-size: clamp(28px, 3vw, 38px); line-height: 1.14; }
.page-heading > div > p:last-child { margin: 0; color: var(--ot-muted); font-size: 14px; }
.eyebrow { margin-bottom: 3px; color: #a0782f; font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.primary-button, .secondary-button, .filter-button, .small-add-button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 17px; border-radius: 9px; font-size: 13px; font-weight: 700; white-space: nowrap; transition: transform .15s, box-shadow .2s, background .2s; }
.primary-button { color: #fff; background: var(--ot-green); box-shadow: 0 8px 20px rgba(31,106,77,.17); }
.primary-button:hover { transform: translateY(-1px); background: #185a40; box-shadow: 0 10px 24px rgba(31,106,77,.24); }
.secondary-button, .filter-button { color: var(--ot-ink); border: 1px solid #cfd9d3; background: #fff; }
.secondary-button:hover, .filter-button:hover { border-color: #a9bbb1; background: #f9fbfa; }
.primary-button.full { width: 100%; }
.secondary-button.compact { min-height: 34px; padding: 0 12px; font-size: 12px; }
.heading-actions { display: flex; gap: 10px; }
.panel { border: 1px solid var(--ot-line); border-radius: 14px; background: var(--ot-paper); box-shadow: 0 5px 20px rgba(24,54,45,.035); }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 21px; }
.panel-title > div { display: flex; align-items: center; gap: 11px; }
.panel-title h2 { margin: 0; color: var(--ot-ink); font-family: "Noto Serif SC", serif; font-size: 18px; }
.kicker { display: block; margin-bottom: 3px; color: var(--ot-gold); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.section-number { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 8px; color: #8d6825; background: var(--ot-gold-soft); font-size: 11px; font-weight: 800; }

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 18px; }
.metric-card { position: relative; padding: 21px; border: 1px solid var(--ot-line); border-radius: 14px; background: #fff; }
.metric-card p { margin: 17px 0 7px; color: var(--ot-muted); font-size: 13px; }
.metric-card strong { display: block; color: var(--ot-ink); font-family: var(--ot-serif); font-size: 27px; }
.metric-card small { color: #87958e; font-size: 11px; }
.metric-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; }
.metric-icon.green { color: #1f7553; background: #e5f2ec; }.metric-icon.gold { color: #9c6f1d; background: #f8eedb; }.metric-icon.blue { color: #46728f; background: #e7f0f5; }.metric-icon.rose { color: #a85e55; background: #f7e9e6; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(310px, .8fr); gap: 18px; }
.activity-panel, .next-actions { padding: 24px; }
.activity-panel .panel-title > div { display: block; }
.activity-panel .panel-title h2, .next-actions .panel-title h2 { font-family: var(--ot-serif); font-size: 19px; }
.legend { color: var(--ot-muted); font-size: 11px; }.legend i { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: var(--ot-gold); }
.bar-chart { height: 245px; display: grid; grid-template-columns: repeat(6, 1fr); align-items: end; gap: clamp(14px, 4vw, 34px); padding: 28px 19px 4px; border-bottom: 1px solid #e7ece9; background: repeating-linear-gradient(to bottom, transparent 0, transparent 60px, #eef2ef 61px); }
.bar-chart > div { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 9px; }
.bar-chart span { width: min(38px, 75%); min-height: 12px; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #d4aa59, #b38431); box-shadow: 0 8px 16px rgba(180,132,45,.15); }
.bar-chart small { color: var(--ot-muted); font-size: 10px; }
.next-actions .panel-title > div { display: block; }
.next-actions > button { width: 100%; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; padding: 15px 0; border-top: 1px solid #edf1ee; color: var(--ot-text); background: transparent; text-align: left; }
.next-actions > button:first-of-type { border-top: 0; }
.next-actions button > span:nth-child(2) strong, .next-actions button > span:nth-child(2) small { display: block; }
.next-actions button > span:nth-child(2) strong { font-size: 13px; }.next-actions button > span:nth-child(2) small { margin-top: 3px; color: var(--ot-muted); font-size: 11px; }
.next-actions button > i { color: #9aaaa2; font-size: 10px; }
.action-check { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; }.action-check.amber { color: #a67627; background: #f7edd9; }.action-check.blue { color: #4e7891; background: #e8f0f4; }.action-check.green { color: #39785d; background: #e7f1ec; }

.segmented-control { display: flex; padding: 3px; border: 1px solid #d7dfda; border-radius: 10px; background: #eef1ef; }
.segmented-control button { min-height: 32px; padding: 0 13px; border-radius: 7px; color: #718078; background: transparent; font-size: 12px; font-weight: 700; }
.segmented-control button.active { color: var(--ot-ink); background: #fff; box-shadow: 0 2px 7px rgba(24,54,45,.08); }
.product-toolbar, .history-toolbar { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.search-field { position: relative; width: min(420px, 100%); display: block !important; }
.search-field i { position: absolute; top: 50%; left: 13px; z-index: 1; transform: translateY(-50%); color: #84948c; font-size: 12px; }
.search-field input { padding-left: 37px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.product-card { overflow: hidden; border: 1px solid var(--ot-line); border-radius: 15px; background: #fff; box-shadow: 0 7px 24px rgba(24,54,45,.045); transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--ot-shadow); }
.product-image { position: relative; height: 210px; overflow: hidden; background: #dfe6e1; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }.product-card:hover .product-image img { transform: scale(1.035); }
.product-image::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(17,36,30,.7)); }
.product-code { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 5px 8px; border-radius: 6px; color: #fff; background: rgba(20,43,36,.73); backdrop-filter: blur(8px); font-size: 10px; font-weight: 700; letter-spacing: .05em; }
.product-duration { position: absolute; z-index: 2; right: 15px; bottom: 14px; color: #fff; font-size: 12px; font-weight: 700; }
.product-body { padding: 20px; }.product-body h2 { margin: 0 0 8px; color: var(--ot-ink); font-family: "Noto Serif SC", serif; font-size: 19px; }.product-body p { min-height: 44px; margin: 0 0 14px; color: var(--ot-muted); font-size: 12px; line-height: 1.7; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }.tag { padding: 4px 8px; border-radius: 20px; color: #5e6e66; background: #eff3f0; font-size: 10px; }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 16px; border-top: 1px solid #edf1ee; }.product-card-footer span { color: var(--ot-muted); font-size: 11px; }.product-card-footer button { color: var(--ot-green); background: transparent; font-size: 12px; font-weight: 800; }.product-card-footer button i { margin-left: 5px; }

.quote-heading { margin-bottom: 23px; }.quote-title-row { display: flex; align-items: center; gap: 10px; }.quote-title-row .eyebrow { margin: 0; }.status-pill { padding: 4px 9px; border-radius: 20px; font-size: 10px; font-weight: 800; }.status-pill.amber { color: #8b6526; background: #f7ecd7; }.status-pill.green { color: #276b4b; background: #e3f0e9; }.status-pill.blue { color: #416e88; background: #e5eff4; }
.quote-steps { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0 0 22px; padding: 0; list-style: none; border: 1px solid var(--ot-line); border-radius: 12px; background: #fff; }
.quote-steps li { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 51px; color: #88958f; font-size: 11px; }
.quote-steps li:not(:last-child)::after { content: ""; position: absolute; right: 0; width: 1px; height: 20px; background: #e1e7e3; }
.quote-steps span { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid #cfd8d3; border-radius: 50%; font-size: 9px; }.quote-steps li.active { color: var(--ot-ink); }.quote-steps li.active span { color: #fff; border-color: var(--ot-green); background: var(--ot-green); }
.quote-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start; gap: 19px; }.quote-content { min-width: 0; display: grid; gap: 16px; }.quote-content > .panel { padding: 23px; }
.source-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.source-card { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; min-height: 78px; padding: 12px 15px; border: 1px solid #d8e0db !important; border-radius: 11px; color: var(--ot-text); background: #fff; text-align: left; }.source-card:hover { border-color: #aabbb1 !important; }.source-card.active { border-color: var(--ot-green) !important; background: #f6faf8; box-shadow: 0 0 0 2px rgba(31,106,77,.07); }.source-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: #896525; background: var(--ot-gold-soft); }.source-card > span:nth-child(2) strong, .source-card > span:nth-child(2) small { display: block; }.source-card > span:nth-child(2) strong { font-size: 13px; }.source-card > span:nth-child(2) small { margin-top: 4px; color: var(--ot-muted); font-size: 10px; }.source-card > i { color: #abb8b1; }.source-card.active > i { color: var(--ot-green); }
.source-detail { margin-top: 17px; padding-top: 17px; border-top: 1px solid #edf1ee; }.source-detail > label { max-width: 420px; }.product-inline { display: flex; align-items: center; gap: 13px; margin-top: 12px; padding: 12px; border-radius: 10px; background: #f4f7f5; }.product-inline img { width: 62px; height: 48px; border-radius: 8px; object-fit: cover; }.product-inline strong, .product-inline small { display: block; }.product-inline strong { color: var(--ot-ink); font-size: 12px; }.product-inline small { margin-top: 4px; color: var(--ot-muted); font-size: 10px; }
.file-drop { display: grid !important; place-items: center; min-height: 190px; padding: 25px; border: 1.5px dashed #aebeb5; border-radius: 12px; background: #f8faf9; cursor: pointer; text-align: center; }.file-drop.dragover { border-color: var(--ot-green); background: #eef7f2; }.file-drop input { display: none; }.upload-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 10px; border-radius: 50%; color: var(--ot-green); background: #e4f0ea; font-size: 18px; }.file-drop strong { color: var(--ot-ink); font-size: 14px; }.file-drop small { margin-top: 5px; color: var(--ot-muted); font-size: 10px; font-weight: 400; }.parse-status { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 11px; margin-top: 12px; padding: 11px; border: 1px solid var(--ot-line); border-radius: 10px; }.file-type { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 9px; color: #9b7130; background: var(--ot-gold-soft); }.parse-status strong, .parse-status small { display: block; }.parse-status strong { font-size: 12px; }.parse-status small { margin-top: 3px; color: var(--ot-muted); font-size: 10px; }.parse-progress { height: 4px; margin-top: 10px; overflow: hidden; border-radius: 4px; background: #e8edea; }.parse-progress span { display: block; width: 20%; height: 100%; border-radius: inherit; background: var(--ot-green); transition: width .3s; }
.form-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }.span-2 { grid-column: span 2; }.span-4 { grid-column: span 4; }.suffix-input { position: relative; }.suffix-input span { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); color: var(--ot-muted); }.suffix-input input { padding-right: 30px; }.required-note { color: #9d6e65; font-size: 10px; }
.title-tools { display: flex; align-items: center; gap: 12px; }.match-badge { padding: 5px 9px; border-radius: 20px; color: #2f7657; background: #e8f3ed; font-size: 10px; font-weight: 700; }.text-button { padding: 4px; color: var(--ot-green); background: transparent; font-size: 11px; font-weight: 700; }.text-button:hover { color: #174d39; }.small-add-button { min-height: 32px; padding: 0 10px; color: #fff; background: var(--ot-ink); font-size: 11px; }
.itinerary-editor { display: grid; gap: 9px; }.itinerary-day { overflow: hidden; border: 1px solid #e0e6e2; border-radius: 11px; }.day-head { width: 100%; display: grid; grid-template-columns: 42px 1fr auto auto; align-items: center; gap: 11px; padding: 12px 14px; color: var(--ot-text); background: #fbfcfb; text-align: left; }.day-number { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; color: #fff; background: var(--ot-ink); font-family: var(--ot-serif); font-size: 12px; }.day-head strong, .day-head small { display: block; }.day-head strong { color: var(--ot-ink); font-size: 13px; }.day-head small { margin-top: 3px; color: var(--ot-muted); font-size: 10px; }.media-ready { color: #357758; font-size: 10px; font-weight: 700; }.media-ready i { margin-right: 4px; }.day-head > i { color: #94a49b; font-size: 10px; transition: transform .2s; }.itinerary-day.open .day-head > i { transform: rotate(180deg); }.day-body { display: none; grid-template-columns: 132px 1fr; gap: 16px; padding: 15px; border-top: 1px solid #e6ebe8; }.itinerary-day.open .day-body { display: grid; }.day-body img { width: 132px; height: 105px; border-radius: 9px; object-fit: cover; }.day-body.no-image { grid-template-columns: 1fr; }.day-fields { display: grid; gap: 10px; }.day-fields textarea { min-height: 67px; font-size: 12px; }.day-meta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }.day-meta-grid label { font-size: 10px; }.day-meta-grid input { padding: 8px 9px; font-size: 11px; }
.table-scroll { width: 100%; overflow-x: auto; }.quote-table, .resource-table, .history-table { width: 100%; border-collapse: collapse; white-space: nowrap; }.quote-table th, .resource-table th, .history-table th { padding: 10px 9px; color: #7d8c84; border-bottom: 1px solid #dfe6e1; background: #f8faf8; font-size: 10px; font-weight: 800; text-align: left; }.quote-table td, .resource-table td, .history-table td { padding: 10px 9px; border-bottom: 1px solid #edf1ee; font-size: 11px; vertical-align: middle; }.quote-table tbody tr:last-child td, .resource-table tbody tr:last-child td, .history-table tbody tr:last-child td { border-bottom: 0; }.quote-table input { min-width: 72px; padding: 7px 8px; border-radius: 7px; font-size: 11px; }.quote-table .item-name { min-width: 180px; white-space: normal; }.quote-table .item-name strong, .quote-table .item-name small { display: block; }.quote-table .item-name strong { color: var(--ot-ink); font-size: 11px; }.quote-table .item-name small { margin-top: 2px; color: var(--ot-muted); font-size: 9px; }.internal-col { background: #fbf8f1 !important; }.remove-item { width: 27px; height: 27px; border-radius: 7px; color: #a46b64; background: transparent; }.remove-item:hover { background: #f8e9e6; }.table-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 13px; color: var(--ot-muted); font-size: 10px; }.table-footer i { margin-right: 5px; color: #8d9b94; }
.quote-summary { position: sticky; top: 86px; display: grid; gap: 13px; }.summary-card { overflow: hidden; border-radius: 14px; color: #edf4ef; background: var(--ot-ink); box-shadow: 0 18px 40px rgba(24,54,45,.18); }.summary-top { display: flex; justify-content: space-between; padding: 18px 19px; border-bottom: 1px solid rgba(255,255,255,.09); color: #d8e5de; font-size: 12px; font-weight: 700; }.summary-top i { color: #e5c37d; }.summary-route { padding: 17px 19px 12px; }.summary-route strong, .summary-route small { display: block; }.summary-route strong { color: #fff; font-family: "Noto Serif SC", serif; font-size: 15px; }.summary-route small { margin-top: 5px; color: rgba(237,244,239,.55); font-size: 10px; }.summary-lines { margin: 0; padding: 0 19px; }.summary-lines > div { display: flex; justify-content: space-between; padding: 8px 0; }.summary-lines dt { color: rgba(237,244,239,.62); font-size: 11px; }.summary-lines dd { margin: 0; font-size: 11px; font-weight: 700; }.margin-row { display: flex; justify-content: space-between; padding: 13px 19px 7px; color: rgba(237,244,239,.64); font-size: 10px; }.margin-row strong { color: #efd297; }.margin-track { height: 4px; margin: 0 19px 17px; overflow: hidden; border-radius: 4px; background: rgba(255,255,255,.11); }.margin-track span { display: block; height: 100%; border-radius: inherit; background: var(--ot-gold); }.grand-total { padding: 18px 19px; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.045); }.grand-total span, .grand-total strong, .grand-total small { display: block; }.grand-total span { color: rgba(237,244,239,.65); font-size: 10px; }.grand-total strong { margin-top: 4px; color: #f2d69d; font-family: var(--ot-serif); font-size: 27px; }.grand-total small { margin-top: 2px; color: rgba(237,244,239,.63); font-size: 10px; }.summary-card .primary-button { margin: 17px 19px 8px; width: calc(100% - 38px); color: var(--ot-ink); background: #e4c37f; box-shadow: none; }.summary-card .primary-button:hover { background: #efd397; }.summary-footnote { margin: 0; padding: 3px 19px 17px; color: rgba(237,244,239,.46); font-size: 9px; text-align: center; }.summary-footnote i { margin-right: 3px; }
.health-card { padding: 16px; border: 1px solid var(--ot-line); border-radius: 13px; background: #fff; }.health-card > div { display: flex; align-items: center; gap: 11px; }.health-score { display: grid; place-items: center; width: 43px; height: 43px; border: 4px solid #dbece4; border-top-color: var(--ot-green); border-radius: 50%; color: var(--ot-green); font-size: 11px; font-weight: 800; }.health-card strong, .health-card small { display: block; }.health-card strong { font-size: 12px; }.health-card small { margin-top: 2px; color: var(--ot-muted); font-size: 9px; }.health-card ul { display: grid; gap: 7px; margin: 13px 0 0; padding: 12px 0 0; border-top: 1px solid #edf1ee; list-style: none; }.health-card li { color: #6f7e76; font-size: 9px; }.health-card li i { width: 15px; color: #37805d; }.health-card li.warning i { color: #b48332; }

.resource-filters { display: grid; grid-template-columns: 180px 180px 1fr; gap: 13px; padding: 17px; margin-bottom: 16px; }.resource-filters .search-field { width: 100%; align-self: end; }.resource-panel { padding: 0; overflow: hidden; }.resource-table td:nth-child(3) { min-width: 185px; font-weight: 700; color: var(--ot-ink); }.resource-table td:nth-child(4) { max-width: 200px; white-space: normal; color: var(--ot-muted); }.resource-table .price-cost { color: #8d6e35; }.resource-table .price-sale { color: var(--ot-green); font-weight: 800; }.status-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 20px; color: #2d7353; background: #e7f2ec; font-size: 9px; font-weight: 800; }.status-chip::before { content:""; width: 5px; height: 5px; border-radius: 50%; background: #42a375; }.table-action { padding: 5px 7px; color: var(--ot-green); background: transparent; font-size: 10px; font-weight: 800; }
.history-panel { overflow: hidden; }.history-toolbar { padding: 18px; margin: 0; }.history-table td:nth-child(1) { color: var(--ot-green); font-weight: 800; }.history-table td:nth-child(3) { min-width: 180px; }.history-table th:first-child, .history-table td:first-child { padding-left: 18px; }.history-table th:last-child, .history-table td:last-child { padding-right: 18px; }.empty-state { padding: 55px 20px !important; color: var(--ot-muted); text-align: center !important; }

.modal { width: min(620px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 15px; color: var(--ot-text); background: #fff; box-shadow: 0 30px 90px rgba(19,43,35,.3); }.modal::backdrop { background: rgba(13,31,25,.55); backdrop-filter: blur(4px); }.modal form { padding: 24px; }.modal-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; }.modal-head h2 { margin: 0; color: var(--ot-ink); font-family: var(--ot-serif); font-size: 23px; }.modal-head > button { width: 32px; height: 32px; border-radius: 8px; color: #718078; background: #f0f3f1; }.modal-grid { grid-template-columns: 1fr 1fr; }.modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; padding-top: 17px; border-top: 1px solid #e5ebe7; }.compact-modal { max-width: 460px; }.compact-modal form > label { margin-top: 13px; }
.toast { position: fixed; z-index: 200; right: 24px; top: 22px; max-width: 370px; padding: 12px 16px; border-radius: 10px; color: #fff; background: #214b3c; box-shadow: 0 15px 40px rgba(19,43,35,.24); font-size: 12px; font-weight: 700; opacity: 0; pointer-events: none; transform: translateY(-10px); transition: .25s; }.toast.show { opacity: 1; transform: none; }

/* Public-site entry module */
.quote-launch { padding: 7.5rem 0; color: #f5f5f0; background: #18362d; }
.quote-launch .quote-launch-inner { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 7rem; }
.quote-launch .quote-launch-copy .quote-launch-kicker { display: block; margin-bottom: 1.2rem; color: #dfbd78; font-family: "Lato", "Noto Sans SC", sans-serif; font-size: 1.2rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.quote-launch .quote-launch-copy h2 { margin-bottom: 1.7rem; color: #fff; font-size: clamp(3rem, 4vw, 4.6rem); line-height: 1.22; }
.quote-launch .quote-launch-copy p { max-width: 52rem; color: rgba(245,245,240,.68); font-size: 1.5rem; line-height: 1.9; }
.quote-launch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.quote-launch-card { position: relative; min-height: 23rem; display: flex; flex-direction: column; padding: 2.5rem; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 1.2rem; background: rgba(255,255,255,.055); transition: transform .25s, background .25s, border-color .25s; }
.quote-launch-card::after { content: ""; position: absolute; right: -4rem; bottom: -5rem; width: 14rem; height: 14rem; border: 1px solid rgba(216,180,106,.18); border-radius: 50%; }
.quote-launch-card:hover { transform: translateY(-4px); border-color: rgba(223,189,120,.52); background: rgba(255,255,255,.09); }
.quote-launch-icon { display: grid; place-items: center; width: 4.4rem; height: 4.4rem; margin-bottom: 2.5rem; border-radius: 50%; color: #18362d; background: #dfbd78; font-size: 1.6rem; }
.quote-launch-card h3 { margin: 0 0 .8rem; color: #fff; font-size: 1.8rem; }.quote-launch-card p { margin: 0 0 2rem; color: rgba(245,245,240,.6); font-size: 1.25rem; line-height: 1.7; }.quote-launch-card strong { position: relative; z-index: 1; margin-top: auto; color: #e7c985; font-size: 1.2rem; letter-spacing: .04em; }.quote-launch-card strong i { margin-left: .7rem; transition: transform .2s; }.quote-launch-card:hover strong i { transform: translateX(4px); }
.quote-launch--compact { padding: 5rem 0; }.quote-launch--compact .quote-launch-inner { grid-template-columns: 1fr 1fr; gap: 4rem; }

/* Customer proposal */
.proposal-page { margin: 0; color: #2b3733; background: #e9edea; font-family: var(--ot-font); font-size: 16px; }
.proposal-toolbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; min-height: 62px; padding: 0 max(24px, calc((100vw - 1080px) / 2)); color: #edf3ef; background: var(--ot-ink); box-shadow: 0 5px 20px rgba(18,42,34,.18); }
.proposal-toolbar .toolbar-brand { display: flex; align-items: center; gap: 10px; font-family: "Noto Serif SC", serif; font-size: 14px; font-weight: 700; }.proposal-toolbar .brand-mark { width: 31px; height: 31px; font-size: 15px; }.proposal-toolbar-actions { display: flex; align-items: center; gap: 9px; }.proposal-toolbar button, .proposal-toolbar a { min-height: 34px; display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; border: 1px solid rgba(255,255,255,.15); border-radius: 7px; color: #fff; background: rgba(255,255,255,.07); font-size: 11px; font-weight: 700; }.proposal-toolbar button.primary { color: var(--ot-ink); border-color: #e1c481; background: #e1c481; }
.proposal-document { width: min(1080px, calc(100% - 40px)); margin: 28px auto 60px; overflow: hidden; background: #fff; box-shadow: 0 25px 70px rgba(24,54,45,.13); }
.proposal-cover { position: relative; min-height: 560px; display: flex; align-items: flex-end; padding: 64px; overflow: hidden; color: #fff; background: #18362d; }.proposal-cover::before { content:""; position:absolute; inset:0; background: linear-gradient(90deg, rgba(12,31,25,.88) 0%, rgba(12,31,25,.47) 57%, rgba(12,31,25,.18)), var(--cover-image) center/cover no-repeat; }.proposal-cover::after { content:""; position:absolute; inset: 28px; border:1px solid rgba(237,212,161,.3); pointer-events:none; }.cover-content { position: relative; z-index: 1; max-width: 650px; }.cover-kicker { display: block; margin-bottom: 26px; color: #e5c783; font-size: 12px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }.proposal-cover h1 { margin: 0; font-family: var(--ot-serif); font-size: clamp(44px, 7vw, 75px); line-height: 1.08; }.proposal-cover h1 small { display: block; margin-top: 12px; color: rgba(255,255,255,.72); font-family: var(--ot-font); font-size: 19px; font-weight: 400; letter-spacing: .03em; }.cover-rule { width: 70px; height: 2px; margin: 28px 0 23px; background: #d7b56e; }.cover-meta { display: flex; flex-wrap: wrap; gap: 16px 28px; color: rgba(255,255,255,.76); font-size: 13px; }.cover-meta span i { margin-right: 7px; color: #e1c27e; }.cover-client { margin-top: 35px; color: rgba(255,255,255,.58); font-size: 11px; letter-spacing: .06em; }.cover-client strong { color: #fff; font-size: 13px; }
.proposal-section { padding: 62px 70px; }.proposal-section.tint { background: #f5f6f2; }.proposal-intro { display: grid; grid-template-columns: .95fr 1.05fr; gap: 62px; align-items: start; }.proposal-intro h2, .proposal-section > h2 { margin: 0 0 21px; color: var(--ot-ink); font-family: var(--ot-serif); font-size: 32px; }.proposal-intro p { margin: 0; color: #65746d; line-height: 1.9; }.proposal-facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #dce3de; border-left: 1px solid #dce3de; }.proposal-facts div { padding: 20px; border-right: 1px solid #dce3de; border-bottom: 1px solid #dce3de; }.proposal-facts small, .proposal-facts strong { display:block; }.proposal-facts small { margin-bottom: 6px; color: #8a978f; font-size: 10px; letter-spacing:.08em; text-transform:uppercase; }.proposal-facts strong { color: var(--ot-ink); font-size: 15px; }
.proposal-section-head { display:flex; justify-content:space-between; align-items:end; gap:20px; margin-bottom:35px; }.proposal-section-head h2 { margin:0; color:var(--ot-ink); font-family:var(--ot-serif); font-size:32px; }.proposal-section-head p { max-width:440px; margin:0; color:#7b8881; font-size:12px; line-height:1.7; text-align:right; }
.proposal-days { position:relative; display:grid; gap:25px; }.proposal-days::before { content:""; position:absolute; left:27px; top:10px; bottom:10px; width:1px; background:#d8dfda; }.proposal-day { position:relative; display:grid; grid-template-columns:56px 1fr; gap:20px; }.proposal-day-number { position:relative; z-index:1; display:grid; place-items:center; width:55px; height:55px; border:1px solid #d6bc83; border-radius:50%; color:#8e6928; background:#fffaf0; font-family:var(--ot-serif); font-size:13px; }.proposal-day-card { overflow:hidden; border:1px solid #dfe5e1; background:#fff; }.proposal-day-card.has-media { display:grid; grid-template-columns: 1.15fr .85fr; }.proposal-day-copy { padding:25px 27px; }.proposal-day-copy .day-city { display:block; margin-bottom:5px; color:#a37a33; font-size:10px; font-weight:800; letter-spacing:.1em; }.proposal-day-copy h3 { margin:0 0 12px; color:var(--ot-ink); font-family:"Noto Serif SC",serif; font-size:19px; }.proposal-day-copy > p { margin:0; color:#68766f; font-size:13px; line-height:1.85; }.proposal-day-meta { display:flex; flex-wrap:wrap; gap:9px 18px; margin-top:17px; padding-top:14px; border-top:1px solid #edf0ee; color:#7d8983; font-size:10px; }.proposal-day-meta i { width:13px; margin-right:4px; color:#a57b34; }.proposal-day-image { position:relative; min-height:260px; }.proposal-day-image img { width:100%; height:100%; object-fit:cover; }.proposal-day-image span { position:absolute; inset:auto 12px 12px; padding:7px 9px; color:#fff; background:rgba(16,39,31,.76); font-size:9px; backdrop-filter:blur(6px); }
.proposal-services { display:grid; grid-template-columns:1fr 1fr; gap:20px 50px; }.service-block { padding:20px 0; border-top:1px solid #dce3de; }.service-block span { display:grid; place-items:center; width:36px; height:36px; margin-bottom:13px; border-radius:50%; color:#916c2b; background:#f1e7d3; }.service-block h3 { margin:0 0 7px; color:var(--ot-ink); font-size:15px; }.service-block p { margin:0; color:#718078; font-size:12px; line-height:1.7; }
.proposal-price-wrap { display:grid; grid-template-columns:1fr 340px; gap:60px; align-items:center; }.proposal-price-copy h2 { margin-bottom:15px; }.proposal-price-copy p { color:#6b7972; font-size:13px; line-height:1.8; }.proposal-price-card { padding:32px; color:#fff; background:var(--ot-ink); }.proposal-price-card small { display:block; color:rgba(255,255,255,.57); font-size:10px; letter-spacing:.08em; }.proposal-price-card strong { display:block; margin:8px 0 4px; color:#eed295; font-family:var(--ot-serif); font-size:38px; }.proposal-price-card em { display:block; color:rgba(255,255,255,.62); font-size:11px; font-style:normal; }.proposal-price-card hr { margin:23px 0; border:0; border-top:1px solid rgba(255,255,255,.13); }.proposal-price-card dl { display:grid; gap:9px; margin:0; }.proposal-price-card dl div { display:flex; justify-content:space-between; gap:12px; color:rgba(255,255,255,.68); font-size:10px; }.proposal-price-card dd { margin:0; color:#fff; }
.video-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:15px; }.video-card { position:relative; min-height:195px; display:flex; align-items:flex-end; overflow:hidden; color:#fff; background:#17352b; }.video-card img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.62; transition:transform .4s; }.video-card::after { content:""; position:absolute; inset:35% 0 0; background:linear-gradient(transparent,rgba(11,28,22,.85)); }.video-card:hover img { transform:scale(1.04); }.video-card .play { position:absolute; z-index:2; inset:50% auto auto 50%; display:grid; place-items:center; width:44px; height:44px; transform:translate(-50%,-50%); border:1px solid rgba(255,255,255,.7); border-radius:50%; background:rgba(23,53,43,.45); }.video-card strong { position:relative; z-index:2; padding:17px; font-size:12px; }.proposal-notes { display:grid; grid-template-columns:1fr 1fr; gap:45px; }.proposal-notes h3 { margin:0 0 12px; color:var(--ot-ink); font-size:15px; }.proposal-notes ul { display:grid; gap:8px; margin:0; padding:0; list-style:none; }.proposal-notes li { position:relative; padding-left:16px; color:#6d7a74; font-size:11px; line-height:1.65; }.proposal-notes li::before { content:""; position:absolute; top:.65em; left:0; width:5px; height:5px; border-radius:50%; background:#c39a4e; }.proposal-footer { display:flex; justify-content:space-between; align-items:end; padding:42px 70px; color:rgba(255,255,255,.68); background:var(--ot-ink); }.proposal-footer .footer-logo strong { display:block; color:#fff; font-family:"Noto Serif SC",serif; font-size:18px; }.proposal-footer .footer-logo small { font-size:10px; }.proposal-footer address { font-size:10px; line-height:1.8; font-style:normal; text-align:right; }.image-credit { margin-top:12px; color:#94a099; font-size:8px; }
.proposal-page[data-lang="zh"] .lang-en, .proposal-page[data-lang="en"] .lang-zh { display:none !important; }

@media (max-width: 1180px) {
  .quote-layout { grid-template-columns: 1fr; }.quote-summary { position: static; grid-template-columns: 1fr 1fr; }.metric-grid { grid-template-columns: 1fr 1fr; }.product-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .app-shell { display:block; }.app-sidebar { transform:translateX(-100%); transition:transform .25s; box-shadow:18px 0 45px rgba(14,33,27,.22); }.app-sidebar.open { transform:none; }.app-main { grid-column:auto; }.workspace-bar { padding:0 18px; }.mobile-sidebar-toggle { display:block; }.breadcrumbs { margin-right:auto; margin-left:12px; }.quiet-link { display:none; }.app-view { padding:25px 18px 55px; }.dashboard-grid { grid-template-columns:1fr; }.source-options { grid-template-columns:1fr; }.form-grid { grid-template-columns:1fr 1fr; }.span-4 { grid-column:span 2; }.quote-steps strong { display:none; }.quote-steps li { min-height:44px; }.quote-steps li::after { display:none; }.resource-filters { grid-template-columns:1fr 1fr; }.resource-filters .search-field { grid-column:span 2; }.quote-launch .quote-launch-inner, .quote-launch--compact .quote-launch-inner { grid-template-columns:1fr; gap:3.5rem; }.proposal-cover { min-height:510px; padding:45px; }.proposal-section { padding:48px 42px; }.proposal-intro, .proposal-price-wrap { grid-template-columns:1fr; gap:35px; }.proposal-day-card.has-media { grid-template-columns:1fr; }.proposal-day-image { min-height:240px; }.video-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 620px) {
  .workspace-actions .icon-button { display:none; }.page-heading { align-items:flex-start; flex-direction:column; }.heading-actions { width:100%; }.heading-actions button { flex:1; }.metric-grid, .product-grid, .quote-summary { grid-template-columns:1fr; }.source-card { grid-template-columns:38px 1fr auto; }.customer-grid { grid-template-columns:1fr; }.customer-grid .span-2, .customer-grid .span-4 { grid-column:auto; }.panel-title { align-items:flex-start; }.title-tools { align-items:flex-end; flex-direction:column; }.match-badge { display:none; }.day-head { grid-template-columns:38px 1fr auto; }.day-head .media-ready { display:none; }.day-body { grid-template-columns:1fr; }.day-body img { width:100%; height:180px; }.day-meta-grid { grid-template-columns:1fr; }.table-footer { align-items:flex-start; flex-direction:column; }.resource-filters { grid-template-columns:1fr; }.resource-filters .search-field { grid-column:auto; }.quote-launch { padding:5.5rem 0; }.quote-launch-grid { grid-template-columns:1fr; }.quote-launch-card { min-height:19rem; }.proposal-toolbar { padding:0 12px; }.proposal-toolbar .toolbar-brand span:last-child { display:none; }.proposal-toolbar-actions a span, .proposal-toolbar-actions button span { display:none; }.proposal-document { width:100%; margin:0; }.proposal-cover { min-height:500px; padding:40px 28px; }.proposal-cover::after { inset:15px; }.proposal-cover h1 { font-size:42px; }.cover-meta { flex-direction:column; gap:9px; }.proposal-section { padding:40px 24px; }.proposal-intro, .proposal-facts, .proposal-services, .proposal-notes { grid-template-columns:1fr; }.proposal-section-head { align-items:flex-start; flex-direction:column; }.proposal-section-head p { text-align:left; }.proposal-day { grid-template-columns:42px 1fr; gap:12px; }.proposal-days::before { left:20px; }.proposal-day-number { width:42px; height:42px; }.proposal-day-copy { padding:20px; }.video-grid { grid-template-columns:1fr; }.proposal-footer { align-items:flex-start; flex-direction:column; gap:20px; padding:34px 24px; }.proposal-footer address { text-align:left; }
}

@media print {
  @page { size:A4; margin:0; }
  .proposal-page { background:#fff; -webkit-print-color-adjust:exact; print-color-adjust:exact; }
  .proposal-toolbar { display:none !important; }
  .proposal-document { width:100%; margin:0; box-shadow:none; }
  .proposal-cover { min-height:100vh; page-break-after:always; }
  .proposal-section { break-inside:auto; }
  .proposal-day, .proposal-price-wrap, .video-card, .service-block { break-inside:avoid; }
  .proposal-footer { break-inside:avoid; }
}
