:root {
  --ink: #002e3d;
  --muted: #68758a;
  --line: #dce4ee;
  --surface: #ffffff;
  --canvas: #f5f7fa;
  --red: #22b5bd;
  --red-dark: #168e96;
  --blue: #007783;
  --blue-pale: #e7f8f8;
  --green: #117a62;
  --green-pale: #ddf8ec;
  --orange: #c86c07;
  --orange-pale: #fff0d9;
  --radius: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.app-header { height: 84px; padding: 0 clamp(22px, 4vw, 68px); background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 44px; position: sticky; top: 0; z-index: 10; }
.brand { display: inline-flex; align-items: center; min-width: 300px; }
.brand-logo { display: block; width: 270px; height: auto; }
.main-nav { display: flex; align-self: stretch; gap: 7px; }.main-nav a { display: inline-flex; align-items: center; gap: 7px; color: #69768a; font-size: 14px; font-weight: 700; border-bottom: 3px solid transparent; padding: 0 10px; }.main-nav a svg, .header-actions svg, .button svg, .lane-title svg, .settings-card h2 svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }.main-nav a.active { color: var(--red); border-bottom-color: var(--red); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }.panel-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 750; color: var(--blue); }.panel-link svg { width: 17px; }.user-badge { border-left: 1px solid var(--line); padding-left: 15px; line-height: 1.2; }.user-badge b, .user-badge small { display: block; font-size: 12px; }.user-badge small { color: var(--muted); font-size: 11px; margin-top: 2px; }.logout-form button { color: var(--muted); background: none; border: none; font-size: 12px; font-weight: 700; }
.app-main { max-width: 1570px; margin: 0 auto; padding: 38px clamp(20px, 4.25vw, 68px) 65px; }.page-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 26px; }.eyebrow { color: var(--red); font-size: 10px; letter-spacing: .14em; font-weight: 850; margin: 0 0 8px; }.page-heading h1 { margin: 0; font-size: clamp(28px, 3vw, 38px); line-height: 1.05; letter-spacing: -.04em; }.page-heading p:not(.eyebrow), .panel-intro > p:last-child { margin: 9px 0 0; color: var(--muted); font-size: 15px; }.button { border: 0; border-radius: 9px; padding: 11px 16px; font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: transform .15s, background .15s; }.button:hover { transform: translateY(-1px); }.button.primary { background: var(--red); color: #fff; box-shadow: 0 8px 17px rgba(34,181,189,.24); }.button.primary:hover { background: var(--red-dark); }.button.secondary { background: var(--blue-pale); color: var(--blue); }.button.ghost { background: #eef2f6; color: var(--ink); }.button.wide { width: 100%; padding: 13px; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-bottom: 25px; }.metrics article { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 15px 18px; display: flex; gap: 13px; align-items: center; }.metrics article > span { background: var(--blue-pale); color: var(--blue); width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; }.metrics article > span svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }.metrics p { color: var(--muted); font-size: 12px; margin: 0; }.metrics strong { display: block; color: var(--ink); font-size: 21px; line-height: 1.05; margin-top: 2px; }
.board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }.day-column { display: flex; flex-direction: column; gap: 13px; min-width: 0; }.day-header { padding: 18px 20px; border-radius: 14px; background: linear-gradient(120deg, #e4edf9, #f8fbff); border: 1px solid #d3deec; }.day-header p { margin: 0 0 5px; font-size: 10px; letter-spacing: .12em; font-weight: 900; color: var(--blue); }.day-header h2 { margin: 0; font-size: 19px; letter-spacing: -.03em; text-transform: capitalize; }.day-header span { display: block; color: #69778d; margin-top: 3px; font-size: 12px; }.lane { background: var(--surface); border: 1px solid var(--line); border-radius: 13px; overflow: hidden; }.lane > header { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 9px 15px; border-bottom: 1px solid var(--line); }.lane-title { display: flex; align-items: center; gap: 8px; }.lane-title svg { width: 22px; height: 22px; }.lane-title h3 { font-size: 14px; margin: 0; }.lane-title span { display: grid; place-items: center; width: 21px; height: 21px; border-radius: 999px; font-size: 11px; font-weight: 800; }.lane-add { font-size: 20px; line-height: 20px; width: 27px; height: 27px; border: none; border-radius: 8px; color: #fff; font-weight: 400; }.lane-crane > header { background: #fff1f3; color: #b51d31; }.lane-crane .lane-title span, .lane-crane .lane-add { background: #ef747d; color: #fff; }.lane-delivery > header { background: #eef6ff; color: #1260c1; }.lane-delivery .lane-title span { background: #1870dc; color: #fff; }.lane-delivery .lane-add { background: #1870dc; }.lane-job > header { background: #eaf9f1; color: #087553; }.lane-job .lane-title span { background: #0b8a63; color: #fff; }.lane-job .lane-add { background: #0b8a63; }
.task-list { min-height: 49px; padding: 5px 7px; }.task-card { padding: 9px 5px; display: grid; grid-template-columns: 15px minmax(120px, 1.4fr) minmax(95px, .8fr) minmax(95px, .64fr) 41px; align-items: center; gap: 8px; border-bottom: 1px solid #edf0f4; background: #fff; transition: background .12s, opacity .12s; }.task-card:last-child { border-bottom: none; }.task-card[draggable=true] { cursor: grab; }.task-card.dragging { opacity: .45; background: #f4f8fc; }.task-grip { display: grid; grid-template-columns: repeat(2, 3px); gap: 3px; padding: 4px; opacity: .58; }.task-grip span { height: 3px; background: #60728c; border-radius: 5px; }.task-main { min-width: 0; }.task-main strong { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.task-location { color: var(--blue); font-size: 11px; line-height: 1.2; display: block; }.task-notes { display: block; color: #7c8797; font-size: 10px; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.task-assignment { min-width: 0; }.task-assignment span, .task-assignment small { display: block; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.task-assignment span { font-weight: 750; }.task-assignment small { color: var(--muted); margin-top: 2px; }.status-form { min-width: 0; }.status-select, .status-chip { display: block; border: none; border-radius: 6px; padding: 7px 7px; font-size: 10px; font-weight: 850; width: 100%; text-align: center; appearance: none; }.status-select { cursor: pointer; }.status-pending { background: #fff0bf; color: #866000; }.status-prepared { background: #d9f8e5; color: #087144; }.status-en_route, .en-route { background: #dbeaff; color: #1559ad; }.status-completed, .completed { background: #e8edf2; color: #667585; }.edit-task { border: none; background: none; color: #6e7b8d; font-size: 10px; font-weight: 800; padding: 7px 2px; }.edit-task:hover { color: var(--blue); }.empty { color: #8b96a5; font-size: 11px; padding: 9px 10px; margin: 0; text-align: center; }.empty button { color: var(--blue); padding: 0; border: none; background: none; font-weight: 750; font-size: inherit; }
.toast { position: fixed; top: 92px; right: 25px; z-index: 30; border-radius: 9px; padding: 12px 15px; color: #fff; font-size: 13px; font-weight: 700; background: #187759; box-shadow: 0 8px 30px rgba(0,0,0,.14); max-width: 360px; }.toast.error { background: #b92135; }
.task-dialog { width: min(650px, calc(100vw - 32px)); border: 0; border-radius: 19px; padding: 0; box-shadow: 0 20px 80px rgba(11,26,50,.3); color: var(--ink); }.task-dialog::backdrop { background: rgba(17,30,48,.5); backdrop-filter: blur(2px); }.task-dialog form { padding: 25px; }.dialog-top { display: flex; align-items: start; justify-content: space-between; gap: 15px; margin-bottom: 20px; }.dialog-top h2 { margin: 0; font-size: 25px; letter-spacing: -.04em; }.dialog-close { border: 0; background: #edf1f6; border-radius: 50%; color: var(--ink); width: 31px; height: 31px; font-size: 22px; line-height: 26px; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }.form-grid label, .auth-form label { color: #4b5b70; display: grid; gap: 6px; font-size: 12px; font-weight: 800; }.form-grid .full { grid-column: 1 / -1; }.form-grid input, .form-grid select, .form-grid textarea, .auth-form input, .inline-add input, .copy-row input { width: 100%; border: 1px solid #cfd9e5; border-radius: 8px; background: #fff; color: var(--ink); padding: 10px 11px; outline-color: var(--blue); font-size: 13px; font-weight: 500; }.form-grid textarea { resize: vertical; }.form-grid .status-select { appearance: auto; text-align: left; }.dialog-footer { display: flex; justify-content: end; gap: 10px; border-top: 1px solid var(--line); margin-top: 23px; padding-top: 18px; }
.history-table-wrap { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; }.history-table { border-collapse: collapse; width: 100%; min-width: 700px; }.history-table th { text-align: left; color: #667589; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 14px 18px; background: #f7f9fc; }.history-table td { border-top: 1px solid #edf0f4; padding: 13px 18px; font-size: 13px; color: #39495e; }.history-table td strong, .history-table td small { display: block; }.history-table td small { color: var(--muted); margin-top: 3px; font-size: 11px; }.table-type { display: inline-block; font-size: 10px; font-weight: 800; margin-bottom: 4px; }.table-type.type-crane { color: var(--red); }.table-type.type-delivery { color: var(--blue); }.table-type.type-job { color: var(--green); }.table-empty { text-align: center; color: var(--muted); padding: 35px !important; }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; }.settings-card { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }.settings-card h2 { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 16px; }.settings-card h2 svg { color: var(--red); }.settings-card > p { color: var(--muted); font-size: 13px; margin: 8px 0 17px; }.directory-list { list-style: none; margin: 0 0 14px; padding: 0; border-top: 1px solid #eef1f5; }.directory-list li { display: flex; align-items: center; justify-content: space-between; padding: 9px 1px; border-bottom: 1px solid #eef1f5; font-size: 13px; font-weight: 650; }.directory-list button, .text-button { border: 0; background: none; color: #8490a0; padding: 4px; font-size: 11px; font-weight: 700; }.directory-list button:hover, .text-button:hover { color: var(--red); }.inline-add { display: flex; gap: 8px; }.inline-add input { padding: 8px 10px; }.inline-add .button { padding: 8px 12px; white-space: nowrap; }.panel-settings { grid-column: 1 / -1; }.copy-row { display: flex; gap: 9px; }.copy-row input { background: #f7f9fc; font-size: 12px; color: #53637a; }.renew-form { margin-top: 10px; }
.login-page { min-height: 100vh; background: radial-gradient(circle at 5% 95%, rgba(34,181,189,.17), transparent 28%), radial-gradient(circle at 88% 8%, rgba(0,46,61,.14), transparent 25%), #f5f8fc; display: grid; place-items: center; padding: 24px; }.auth-shell { width: min(100%, 480px); }.auth-card { background: rgba(255,255,255,.96); border: 1px solid #dbe3ee; border-radius: 23px; padding: 37px; box-shadow: 0 20px 80px rgba(0,46,61,.11); }.auth-card .brand { margin-bottom: 32px; }.auth-copy h1 { margin: 0; font-size: 30px; letter-spacing: -.05em; line-height: 1.08; }.auth-copy p:last-child { color: var(--muted); margin: 11px 0 27px; font-size: 14px; line-height: 1.55; }.auth-form { display: grid; gap: 15px; }.auth-form small { color: var(--muted); font-size: 10px; font-weight: 600; }.lock-icon { color: var(--red); border: 2px solid #bdebed; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 23px; font-weight: 800; margin-bottom: 17px; }.auth-card > h1 { margin: 0 0 7px; }.auth-card > p { color: var(--muted); margin: 0; line-height: 1.5; }
.panel-page { background: #f6f8fb; }.panel-header { height: 76px; padding: 0 clamp(22px, 5vw, 82px); background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }.panel-status { color: #6d7a8e; font-size: 12px; display: flex; align-items: center; gap: 8px; }.panel-status span { display: inline-block; background: #1aaf75; width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 0 4px #e4f8ef; }.panel-status b { color: #3d4d62; }.panel-main { max-width: 1620px; margin: 0 auto; padding: 43px clamp(20px, 5vw, 82px) 70px; }.panel-intro { margin-bottom: 29px; }.panel-intro h1 { font-size: clamp(31px, 4vw, 46px); letter-spacing: -.05em; margin: 0; }.panel-board .day-header { padding: 21px 22px; }.panel-board .task-card { grid-template-columns: 12px minmax(130px, 1.5fr) minmax(105px, .8fr) minmax(92px, .64fr); padding: 11px 5px; }.panel-board .task-card .task-grip { visibility: hidden; }.panel-board .status-chip { white-space: nowrap; }.readonly-list { padding-block: 6px; }
@media (max-width: 1030px) { .app-header { gap: 15px; }.main-nav a span { display: none; }.header-actions .panel-link { display: none; }.board { grid-template-columns: 1fr; }.day-column { max-width: 830px; width: 100%; }.settings-grid { grid-template-columns: 1fr; }.panel-settings { grid-column: auto; } }
@media (max-width: 670px) { .app-header { height: 65px; padding-inline: 16px; }.brand { min-width: 0; }.brand small { display: none; }.brand strong { font-size: 13px; }.brand-mark, .brand-mark svg { width: 31px; height: 31px; }.main-nav { gap: 0; }.main-nav a { padding: 0 6px; }.header-actions { gap: 7px; }.user-badge { display: none; }.logout-form button { font-size: 11px; }.app-main, .panel-main { padding: 26px 14px 45px; }.page-heading { align-items: start; flex-direction: column; gap: 17px; margin-bottom: 21px; }.page-heading h1 { font-size: 28px; }.metrics { grid-template-columns: repeat(3, 1fr); gap: 8px; }.metrics article { padding: 10px; gap: 7px; }.metrics article > span { width: 31px; height: 31px; }.metrics article > span svg { width: 17px; }.metrics p { font-size: 10px; }.metrics strong { font-size: 17px; }.task-card { grid-template-columns: 12px minmax(0, 1fr) 76px 34px; gap: 5px; }.task-assignment { display: none; }.status-select, .status-chip { font-size: 9px; padding-inline: 3px; }.edit-task { font-size: 0; }.edit-task::after { content: '⋮'; font-size: 19px; }.form-grid { grid-template-columns: 1fr; }.form-grid .full { grid-column: auto; }.task-dialog form { padding: 19px; }.panel-header { height: 65px; padding-inline: 16px; }.panel-status { font-size: 10px; }.panel-status b { display: none; }.panel-board .task-card { grid-template-columns: minmax(0, 1fr) 76px; gap: 6px; }.panel-board .task-grip, .panel-board .task-assignment { display: none; }.copy-row { flex-direction: column; }.inline-add { flex-wrap: wrap; }.inline-add input { flex: 1; min-width: 120px; } }

.directory-list .delete-directory { color: #c31b32; }
.directory-list .delete-directory:hover { color: #911324; text-decoration: underline; }
@media (max-width: 670px) { .brand-logo { width: 185px; } }
