:root {
  --ink: #252725;
  --muted: #777c76;
  --line: #e6e6df;
  --paper: #f5f4ef;
  --white: #fff;
  --orange: #e97c4c;
  --blue: #a9c9c8;
  --pink: #edb9b0;
  --green: #6c8f73;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 14px var(--sans); }
button, input, textarea { font: inherit; }
button, a { cursor: pointer; }
.button, .tool-card { text-decoration: none; }
.app-shell { display: flex; min-height: 100vh; }
.site-footer { color: #8a9088; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 40px; margin-top: 12px; padding: 28px 0 10px; border-top: 1px solid #e1e2da; font-size: 10px; letter-spacing: .01em; }
.site-footer > :last-child { justify-self: end; }
.site-footer-links { display: flex; gap: 30px; }
.site-footer-links span { color: #737a72; transition: color .15s ease; }
.site-footer-links span:hover { color: var(--ink); }
.auth-footer { width: min(100%, 430px); margin-top: 24px; padding: 18px 0 0; border-top: 1px solid #e1e2da; grid-template-columns: 1fr; gap: 10px; text-align: center; }
.auth-footer .site-footer-links { justify-self: center; }
.auth-footer > :last-child { justify-self: center; }
@media (max-width: 640px) { .site-footer { grid-template-columns: 1fr; gap: 10px; margin-top: auto; padding: 20px 0 0; text-align: center; }.site-footer > :last-child { justify-self: center; }.site-footer-links { justify-content: center; } }
@media (max-width: 900px) { .settings-layout { grid-template-columns: 1fr; } }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 10; width: 248px; height: 100vh; overflow-y: auto; flex: 0 0 248px; background: #ebeae3; display: flex; flex-direction: column; padding: 28px 18px 18px; }
.brand { color: var(--ink); display: flex; align-items: center; gap: 10px; padding: 0 10px 55px; text-decoration: none; font-size: 13px; letter-spacing: -.3px; }
.brand strong { font-weight: 700; }.brand-mark { font: 700 18px var(--serif); letter-spacing: -4px; width: 27px; }.brand-mark span { color: var(--orange); }
.sidebar-label, .eyebrow, .tool-tag, .preview-top, .paper-items-head, .paper-notes small { color: var(--muted); font: 10px var(--mono); letter-spacing: .11em; text-transform: uppercase; }
.sidebar-label { padding: 0 12px 13px; font-size: 10px; }
.main-nav { display: grid; gap: 4px; }.nav-item { border: 0; background: transparent; border-radius: 7px; padding: 11px 12px; color: #6d716c; display: flex; align-items: center; gap: 11px; text-align: left; font-size: 13px; text-decoration: none; }.nav-item:hover { color: var(--ink); background: #e3e2da; }.nav-item.active { color: var(--ink); background: #dfded5; font-weight: 600; }.nav-icon { width: 15px; font-size: 18px; line-height: 12px; }.nav-count { margin-left: auto; color: var(--orange); font: 11px var(--mono); }
.avatar { display: grid; place-items: center; border: 0; border-radius: 50%; width: 30px; height: 30px; background: #c2d5d1; color: #48675f; font: 10px var(--mono); }.avatar-top { width: 29px; height: 29px; }.profile-menu { position: absolute; z-index: 5; top: 55px; right: 0; width: 220px; display: grid; gap: 6px; padding: 16px; background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 30px #454a3d18; }.profile-menu strong { font: 600 17px var(--serif); }.profile-menu small { color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }.profile-menu button { margin-top: 8px; border: 1px solid #dedfd7; border-radius: 4px; padding: 9px 10px; color: var(--ink); background: #fafaf7; text-align: left; font-size: 11px; }.profile-menu button:hover { background: #eef3ed; }.top-actions { position: relative; }
.profile-menu[hidden] { display: none; }
.profile-menu a { color: var(--ink); padding: 8px 0 2px; font-size: 11px; text-decoration: none; }.profile-menu a:hover { color: var(--orange); }
.view#dashboard-view .page-heading { padding-bottom: 18px; }.view#dashboard-view > .section-heading:first-of-type { margin-top: 18px; }
.settings-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }.settings-card { background: white; border: 1px solid #e7e7df; border-radius: 8px; padding: 25px 27px; }.settings-card-heading { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 25px; }.settings-card h2 { font: 600 22px var(--serif); margin: 7px 0 5px; }.settings-card p { color: var(--muted); margin: 0; font-size: 11px; line-height: 1.5; }.settings-icon { color: #789586; font-size: 26px; }.settings-form { display: grid; gap: 16px; max-width: 520px; }.settings-actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 7px; }.settings-actions span { font-size: 11px; }.settings-success { color: var(--green); }.settings-error { color: #b65e52; }.settings-info { align-self: start; background: #e1ece9; border-color: #d3e3df; }.settings-info h2 { margin-bottom: 9px; }.settings-danger { border-color: #e7c9c2; }.settings-danger .settings-icon { color: #b65e52; }.button-danger { color: white; background: #b65e52; }.button-danger:hover { background: #98483f; }
.content { flex: 1; min-width: 0; min-height: 100vh; margin-left: 248px; display: flex; flex-direction: column; padding: 0 54px 24px; }.topbar { height: 78px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }.breadcrumb { color: var(--muted); font-size: 12px; }.breadcrumb b { margin: 0 10px; color: #b0b1aa; font-weight: 400; }.breadcrumb strong { color: var(--ink); font-weight: 500; }.top-actions { display: flex; align-items: center; }.avatar-top { width: 29px; height: 29px; }
.view { display: none; width: 100%; max-width: 1200px; margin: 0 auto; }.view.active { display: block; flex: 1; }.page-heading { display: flex; align-items: end; justify-content: space-between; padding: 54px 0 35px; }.page-heading h1 { font: 700 35px var(--serif); margin: 8px 0 5px; letter-spacing: -.8px; }.subheading { color: var(--muted); margin: 0; }.wave { color: var(--orange); font-family: var(--sans); font-size: 23px; margin-left: 5px; }.button { border-radius: 5px; padding: 12px 17px; border: 1px solid transparent; font-weight: 600; font-size: 12px; }.button-dark { color: white; background: var(--ink); }.button-dark:hover { background: #424740; }.button-light { color: var(--ink); background: transparent; border-color: #d8d8d0; }.button-light:hover { background: white; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }.stat-card { background: white; padding: 19px 21px 17px; border-radius: 7px; border: 1px solid #eeeee8; }.stat-top { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }.stat-symbol { font-size: 19px; line-height: 13px; }.orange { color: var(--orange); }.blue { color: #7faead; }.pink { color: #d6968e; }.stat-card strong { display: block; font: 700 34px var(--serif); margin: 14px 0 7px; }.stat-card small { color: var(--muted); font-size: 10px; }.stat-card em { color: var(--green); font-style: normal; font-weight: 600; }.stat-card .attention { color: #ce7565; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin: 49px 0 17px; }.section-heading h2 { font: 600 20px var(--serif); margin: 0 0 4px; }.section-heading p { color: var(--muted); font-size: 11px; margin: 0; }.text-button { border: 0; background: none; color: var(--muted); font-size: 11px; }.text-button span { color: var(--orange); font-size: 17px; margin-left: 5px; }
.workspace-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }.tool-card { min-height: 218px; border-radius: 9px; border: 1px solid #e7e7df; background: white; padding: 23px; text-align: left; position: relative; display: flex; gap: 16px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }.tool-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px #a9afa322; }.tool-card.featured { background: #e1ece9; border-color: #d3e3df; }.tool-card.featured:hover { background: #d9e8e4; }.card-icon { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 7px; font-size: 24px; }.box-icon { background: #f6d5c4; color: #cb6941; }.clock-icon { background: #e5ddda; color: #a69b96; }.tool-copy { display: flex; flex-direction: column; }.tool-tag { font-size: 9px; margin: 3px 0 13px; }.tool-copy strong { font: 600 22px var(--serif); margin-bottom: 8px; }.tool-copy small { color: var(--muted); font-size: 11px; line-height: 1.55; max-width: 265px; }.open-link { color: var(--ink); margin-top: auto; font-size: 11px; }.open-link b { color: var(--orange); margin-left: 4px; }.card-arrow { position: absolute; right: 22px; bottom: 22px; color: #d26d46; font-size: 18px; }
.linked-field { background: #f0f1eb; color: #6f756d; cursor: not-allowed; }
.recent-heading { margin-top: 46px; }.recent-table { background: white; border: 1px solid #e8e8e1; border-radius: 7px; overflow: hidden; }.table-row { display: grid; grid-template-columns: 2fr 1.4fr 1fr .7fr 30px; align-items: center; gap: 10px; padding: 15px 20px; border-bottom: 1px solid #f0f0eb; font-size: 11px; color: var(--muted); }.table-row:last-child { border-bottom: 0; }.table-head { color: #a3a59f; font: 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; }.doc-name { color: var(--ink); font-weight: 500; }.mini-doc { display: inline-grid; place-items: center; width: 21px; height: 24px; background: #eef1e9; color: #78927a; margin-right: 8px; font-size: 13px; }.status { display: inline-block; width: fit-content; border-radius: 20px; padding: 5px 9px; font: 9px var(--mono); }.status.ready { background: #e5efe4; color: #648066; }.status.draft { background: #f5e8dd; color: #bd795d; }.row-action { border: 0; background: none; color: #a7aaa3; letter-spacing: 2px; }
.empty-table { padding: 28px 20px; color: var(--muted); font-size: 11px; text-align: center; }
.shows-layout { display: grid; grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr); gap: 22px; align-items: start; }.show-form { min-width: 0; }.full-width { grid-column: span 2; }.show-list-card { min-width: 0; }.show-form[hidden] + .show-list-card { grid-column: 1 / -1; }.show-list-heading { margin: 0 0 14px; }.show-row { display: grid; grid-template-columns: 92px minmax(0, 1fr) 100px auto; gap: 14px; align-items: center; background: #fff; border: 1px solid #e8e8e1; border-radius: 7px; padding: 15px; margin-bottom: 8px; }.show-row-date { color: var(--orange); font: 11px var(--mono); white-space: nowrap; }.show-row-main { min-width: 0; }.show-row-main strong { display: block; font: 600 17px var(--serif); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.show-row-main small, .show-row-docs { color: var(--muted); font-size: 10px; }.show-row-docs { white-space: nowrap; }.show-row .packing-list-actions { display: flex; justify-content: flex-end; gap: 5px; white-space: nowrap; }
.heading-actions { display: flex; align-items: center; gap: 10px; }.show-documents { margin-top: 22px; padding: 20px; background: #e8efeb; border: 1px solid #d5e1db; border-radius: 7px; }.show-documents-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 15px; }.show-documents-heading h2 { font: 600 21px var(--serif); margin: 5px 0 3px; }.show-documents-heading p { color: var(--muted); font-size: 11px; margin: 0; }.show-documents-actions { display: flex; gap: 6px; }.show-document-list { display: grid; gap: 7px; }.show-document-row { display: grid; grid-template-columns: 27px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 11px 12px; background: #fff; border: 1px solid #e3e8e3; border-radius: 5px; }.show-document-row strong, .show-document-row small { display: block; }.show-document-row strong { font-size: 12px; }.show-document-row small { color: var(--muted); font-size: 10px; margin-top: 3px; }
.packing-overview { width: 100%; margin-bottom: 28px; }.packing-list-heading { margin: 0 0 14px; }.packing-list { display: grid; gap: 8px; }.packing-list-row { display: grid; grid-template-columns: minmax(0, 1.5fr) 1fr 100px 170px; gap: 16px; align-items: center; background: white; border: 1px solid #e8e8e1; border-radius: 7px; padding: 13px 16px; }.packing-list-row strong { display: block; color: var(--ink); font-size: 12px; font-weight: 600; }.packing-list-row small { display: block; color: var(--muted); font-size: 10px; margin-top: 4px; }.packing-list-actions { display: flex; justify-content: flex-end; gap: 5px; }.small-button { border: 1px solid #dedfd7; background: #fafaf7; color: #69746c; border-radius: 4px; padding: 7px 9px; font-size: 10px; }.small-button:hover { background: #eef3ed; }.small-button.danger:hover { background: #f8e8e4; color: #b86557; }.packing-empty { background: #fff; border: 1px dashed #d8dad1; border-radius: 7px; padding: 20px; text-align: center; color: var(--muted); font-size: 11px; }
.call-fields-head, .call-item-row { display: grid; grid-template-columns: 92px 92px minmax(130px, 1fr) minmax(120px, 1fr) minmax(130px, 1fr) 26px; gap: 8px; align-items: center; }
.call-fields-head { color: var(--muted); font: 9px var(--mono); letter-spacing: .08em; margin-bottom: 8px; }
.call-head { grid-template-columns: 42px 42px minmax(0, 1fr) minmax(0, 1fr) 62px; }
.call-preview-items > div:not(.empty-preview) { grid-template-columns: 42px 42px minmax(0, 1fr) minmax(0, 1fr) 62px; }
.call-preview-items > div em { color: var(--muted); font-style: normal; overflow-wrap: anywhere; }
.callsheet-card { background: #f0e6df; border-color: #ead9d0; }
.compact-heading { padding-bottom: 27px; }.generator-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(310px, .7fr); gap: 26px; align-items: start; }.generator-form { background: white; border: 1px solid #e7e7df; border-radius: 7px; }.form-section { padding: 25px 27px; border-bottom: 1px solid #eeeeea; }.form-section:last-of-type { border: 0; }.form-section-title { display: flex; align-items: start; gap: 12px; margin-bottom: 22px; }.form-section-title h2 { font: 600 19px var(--serif); margin: 0 0 3px; }.form-section-title p { color: var(--muted); font-size: 11px; margin: 0; }.step-number { font: 10px var(--mono); background: #e5efeb; color: #668b7d; padding: 6px 5px; border-radius: 3px; }.item-total { margin-left: auto; color: var(--muted); font: 10px var(--mono); padding-top: 6px; }.form-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; }label { color: #656a63; font-size: 11px; display: grid; gap: 7px; }input, textarea { width: 100%; color: var(--ink); background: #fafaf7; border: 1px solid #e1e2da; border-radius: 4px; padding: 11px; outline: none; font-size: 12px; }input:focus, textarea:focus { border-color: #9bb9b0; box-shadow: 0 0 0 2px #e6f0ed; }textarea { resize: vertical; line-height: 1.5; }.items-list { display: grid; gap: 8px; }.item-row { display: grid; grid-template-columns: 1fr 112px 26px; gap: 8px; align-items: center; }.quantity { display: grid; grid-template-columns: 28px 1fr 28px; }.quantity button { background: #eef0e9; border: 1px solid #e1e2da; color: #65736d; }.quantity input { border-radius: 0; text-align: center; padding: 10px 3px; border-left: 0; border-right: 0; }.quantity button:first-child { border-radius: 4px 0 0 4px; }.quantity button:last-child { border-radius: 0 4px 4px 0; }.remove-item { border: 0; background: none; color: #ba7b6e; font-size: 20px; }.add-item { margin-top: 12px; border: 1px dashed #cfd4cb; color: #688577; background: #f8faf6; border-radius: 4px; width: 100%; padding: 10px; font-size: 11px; }.form-actions { background: #f7f7f2; padding: 17px 27px; display: flex; justify-content: flex-end; gap: 10px; border-radius: 0 0 7px 7px; }
.generator-layout { width: 100%; }.preview-card { width: 100%; background: #e6e8df; padding: 17px; border-radius: 7px; position: sticky; top: 20px; }.preview-top { display: flex; justify-content: space-between; padding: 0 2px 14px; font-size: 9px; }.preview-top button { border: 0; background: none; color: #687368; font: 10px var(--mono); }.paper { background: white; min-height: 510px; padding: 28px 26px 20px; box-shadow: 0 3px 14px #a9afa344; }.paper-brand { color: var(--ink); font: 700 14px var(--serif); line-height: .85; letter-spacing: -1px; border-left: 3px solid var(--orange); padding-left: 7px; }.paper-brand span { font: 7px var(--mono); letter-spacing: .03em; }.paper-title { font: 700 26px var(--serif); margin: 40px 0 19px; letter-spacing: -1px; }.paper-title small { float: right; max-width: 190px; overflow-wrap: anywhere; text-align: right; color: #9ba098; font: 7px var(--mono); letter-spacing: 0; padding-top: 8px; }.paper-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }.paper-meta small { color: #a0a59c; display: block; font: 8px var(--mono); letter-spacing: .1em; }.paper-meta strong { display: block; font-size: 11px; margin-top: 3px; font-weight: 500; }.paper-line { height: 1px; background: #e6e8e1; margin: 22px 0 11px; }.paper-items-head { display: grid; grid-template-columns: 42px minmax(0, 1fr) 42px 42px; gap: 4px; font-size: 6px; }.paper-items { min-height: 125px; }.paper-items > div:not(.empty-preview) { display: grid; grid-template-columns: 42px minmax(0, 1fr) 42px 42px; gap: 4px; align-items: center; padding: 6px 0; border-bottom: 1px solid #f0f0eb; font-size: 10px; }.paper-items > div span { color: #799586; font: 10px var(--mono); }.paper-items > div strong { font-weight: 500; overflow-wrap: anywhere; }.paper-items > div i { width: 11px; height: 11px; border: 1px solid #8d958c; display: block; }.empty-preview { grid-column: 1 / -1; color: #adb2aa; font-size: 10px; line-height: 1.5; padding-top: 27px; }.paper-notes { margin-top: 15px; padding: 10px; background: #f4f4ef; min-height: 46px; }.paper-notes p { color: #767d75; font-size: 9px; margin: 6px 0 0; line-height: 1.4; }.paper-footer { display: flex; justify-content: space-between; margin-top: 28px; color: #a5aaa2; font: 8px var(--mono); }
.items-list .call-item-row { grid-template-columns: 92px 92px minmax(130px, 1fr) minmax(120px, 1fr) minmax(130px, 1fr) 26px; }
.paper-items-head.call-head { grid-template-columns: 42px 42px minmax(0, 1fr) minmax(0, 1fr) 62px; }
.paper-items.call-preview-items > div:not(.empty-preview) { grid-template-columns: 42px 42px minmax(0, 1fr) minmax(0, 1fr) 62px; }
.toast { position: fixed; bottom: 25px; left: 50%; transform: translate(-50%, 20px); background: var(--ink); color: white; border-radius: 4px; padding: 12px 17px; font-size: 12px; opacity: 0; pointer-events: none; transition: .2s ease; }.toast.visible { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 900px) { .sidebar { width: 205px; flex-basis: 205px; }.content { margin-left: 205px; padding: 0 28px 50px; }.workspace-grid { grid-template-columns: 1fr; }.generator-layout { grid-template-columns: 1fr; }.preview-card { position: static; max-width: 520px; }.call-fields-head, .call-item-row { grid-template-columns: 78px 78px minmax(110px, 1fr) minmax(100px, 1fr) minmax(110px, 1fr) 26px; } }
@media (max-width: 640px) { .app-shell { display: block; }.sidebar { position: static; width: 100%; height: auto; max-height: none; padding: 16px; }.brand { padding: 0 4px 17px; }.sidebar-label, .sidebar-bottom { display: none; }.main-nav { display: flex; overflow-x: auto; }.nav-item { white-space: nowrap; }.content { margin-left: 0; padding: 0 16px 35px; }.topbar { height: 59px; }.sync-status { display: none; }.page-heading { display: block; padding: 34px 0 26px; }.page-heading h1 { font-size: 30px; }.page-heading .button { margin-top: 21px; }.stats-grid { grid-template-columns: 1fr; }.stat-card { padding: 15px 18px; }.stat-card strong { display: inline-block; margin: 9px 15px 0 0; }.workspace-grid { grid-template-columns: 1fr; }.featured { grid-column: auto; }.tool-card { min-height: 174px; }.table-row { grid-template-columns: 1fr auto; gap: 6px; }.table-row > span:nth-child(2), .table-row > span:nth-child(3), .table-head { display: none; }.table-row > .status { grid-column: 2; grid-row: 1; }.row-action { grid-column: 2; grid-row: 1; }.doc-name { grid-column: 1; grid-row: 1; }.compact-heading .button { display: none; }.form-grid { grid-template-columns: 1fr; }.form-section { padding: 20px 18px; }.form-actions { padding: 15px 18px; flex-wrap: wrap; }.item-row { grid-template-columns: 1fr 100px 22px; }.call-fields-head, .call-item-row { grid-template-columns: 70px 70px minmax(90px, 1fr) minmax(90px, 1fr) minmax(90px, 1fr) 22px; gap: 4px; }.packing-list-row { grid-template-columns: 1fr auto; gap: 8px; }.packing-list-row > :nth-child(2) { display: none; }.packing-list-actions { grid-column: span 2; justify-content: flex-start; }.packing-list-heading { display: block; }.packing-list-heading .button { margin-top: 15px; }.shows-layout { grid-template-columns: 1fr; }.show-row { grid-template-columns: 78px minmax(0, 1fr); }.show-row-docs { grid-column: 2; }.show-row .packing-list-actions { grid-column: 1 / -1; justify-content: flex-start; }.heading-actions { display: block; }.heading-actions .button { margin: 5px 0; }.show-documents-heading { display: block; }.show-documents-actions { margin-top: 14px; flex-wrap: wrap; } }
@media (max-width: 900px) { .items-list .call-item-row { grid-template-columns: 78px 78px minmax(110px, 1fr) minmax(100px, 1fr) minmax(110px, 1fr) 26px; } }
@media (max-width: 640px) { .items-list .call-item-row { grid-template-columns: 70px 70px minmax(90px, 1fr) minmax(90px, 1fr) minmax(90px, 1fr) 22px; } }
@media (min-width: 641px) { .call-preview-items > div:not(.empty-preview) { grid-template-columns: 42px 42px minmax(0, 1fr) minmax(0, 1fr) 62px; } }
@media print { .sidebar, .topbar, .page-heading, .generator-form, .preview-top { display: none !important; }.content { padding: 0; }.view { display: none !important; }.view#packing-view { display: block !important; }.preview-card { background: white; padding: 0; }.paper { box-shadow: none; margin: auto; max-width: 500px; } }
