:root {
  --ink: #14231e;
  --muted: #64736d;
  --green-950: #102c24;
  --green-900: #173d31;
  --green-800: #205343;
  --green-700: #286b55;
  --green-500: #55a883;
  --mint: #dff3e9;
  --mint-light: #f1f9f5;
  --cream: #f6f3eb;
  --paper: #fffef9;
  --line: #dce4df;
  --orange: #dd754d;
  --red: #bb4f47;
  --shadow: 0 18px 50px rgba(17, 46, 37, .1);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
button { color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ambient { position: fixed; z-index: -1; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.ambient-one { width: 520px; height: 520px; top: -260px; left: -200px; background: rgba(184, 220, 198, .38); }
.ambient-two { width: 420px; height: 420px; right: -230px; top: 38%; background: rgba(245, 217, 177, .32); }

.topbar {
  height: 74px; padding: 0 max(28px, calc((100vw - 1220px) / 2));
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  position: sticky; top: 0; z-index: 30; background: rgba(246, 243, 235, .88);
  border-bottom: 1px solid rgba(33, 78, 63, .11); backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 11px; width: max-content; color: var(--ink); text-decoration: none; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--green-900); color: #fff; transform: rotate(-3deg); box-shadow: 0 7px 18px rgba(22, 61, 49, .2); }
.brand-mark svg { width: 23px; }
.brand strong, .brand small { display: block; line-height: 1.05; }
.brand strong { font-size: 17px; letter-spacing: .07em; }
.brand small { margin-top: 5px; color: var(--muted); font-size: 10px; letter-spacing: .19em; }
.nav-tabs { display: flex; gap: 5px; padding: 5px; border: 1px solid rgba(31, 76, 61, .12); border-radius: 12px; background: rgba(255, 255, 255, .54); }
.nav-tab { padding: 8px 15px; display: flex; align-items: center; gap: 7px; border: 0; border-radius: 8px; background: transparent; color: #6b7873; cursor: pointer; transition: .2s; font-size: 14px; }
.nav-tab svg { width: 17px; }
.nav-tab:hover { color: var(--green-800); }
.nav-tab.active { color: white; background: var(--green-900); box-shadow: 0 5px 12px rgba(23, 61, 49, .16); }
.nav-tabs[hidden], .nav-tab[hidden], .logout-button[hidden], .outline-button[hidden], .new-link-box[hidden] { display: none !important; }
.system-status { justify-self: end; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.system-status i { width: 8px; height: 8px; border-radius: 50%; background: #61ad80; box-shadow: 0 0 0 4px rgba(97, 173, 128, .13); }
.logout-button { margin-left: 8px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 7px; background: white; color: var(--green-800); cursor: pointer; font-size: 11px; }

.shell { width: min(1220px, calc(100% - 48px)); margin: 0 auto; padding: 44px 0 70px; }
.view { display: none; animation: fade .28s ease both; }
.view.active { display: block; }
.auth-card { width: min(470px, 100%); margin: 9vh auto; padding: 38px; }
.auth-card h1 { margin: 9px 0 8px; font: 600 30px Georgia, "Noto Serif SC", serif; }
.auth-card p { color: var(--muted); font-size: 13px; }
.auth-card form { margin: 25px 0 18px; display: grid; gap: 15px; }
.auth-card > small { display: block; color: var(--muted); line-height: 1.7; }
.password-input-wrap { display: flex; position: relative; }.password-input-wrap input { padding-right: 60px; }.password-input-wrap button { position: absolute; right: 7px; top: 7px; height: 31px; padding: 0 9px; border: 0; border-radius: 6px; color: var(--green-700); background: var(--mint-light); cursor: pointer; font-size: 11px; }
@keyframes fade { from { opacity: 0; transform: translateY(5px); } }
.hero { min-height: 190px; display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; padding: 25px 46px; position: relative; overflow: hidden; border-radius: 22px; color: white; background: var(--green-950); box-shadow: var(--shadow); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(30deg, transparent 49%, #fff 50%, transparent 51%), linear-gradient(150deg, transparent 49%, #fff 50%, transparent 51%); background-size: 38px 66px; mask-image: linear-gradient(to right, transparent 20%, #000); }
.hero > div:first-child { z-index: 2; }
.eyebrow { display: block; color: #7fc39f; font-size: 10px; font-weight: 800; letter-spacing: .22em; }
.hero h1, .records-header h1 { margin: 7px 0 9px; font-family: Georgia, "Noto Serif SC", serif; font-size: clamp(30px, 3vw, 42px); line-height: 1.12; letter-spacing: -.02em; font-weight: 500; }
.hero h1 em { color: #8ed5ae; font-style: normal; }
.hero p { margin: 0; max-width: 540px; color: #c1d2cb; font-size: 13px; }
.hero-visual { align-self: stretch; position: relative; z-index: 1; }
.package-art { position: absolute; width: min(220px, 100%); right: 6%; top: 50%; transform: translateY(-49%) rotate(1deg); filter: drop-shadow(0 16px 12px rgba(0,0,0,.2)); }
.package-art .box-top { fill: #d6a061; stroke: #edc692; }
.package-art .box-left { fill: #ad7543; stroke: #d9a66f; }
.package-art .box-right { fill: #8e5e37; stroke: #c28b55; }
.package-art .tape { fill: #e8c792; stroke: #f2d7aa; }
.package-art .box-line { stroke: rgba(255,255,255,.2); }
.package-art .label { fill: #f5efe2; stroke: none; }
.package-art .label-line { stroke: #788177; stroke-width: 2; }
.route-line { position: absolute; width: 84%; height: 82px; right: 3%; top: 16%; border: 1px dashed rgba(160, 218, 185, .38); border-left-color: transparent; border-bottom-color: transparent; border-radius: 50%; transform: rotate(-8deg); }
.route-dot { position: absolute; width: 9px; height: 9px; border: 2px solid #9cdcb9; border-radius: 50%; }
.dot-one { top: 22%; right: 11%; }.dot-two { bottom: 18%; left: 15%; }

.content-grid { margin-top: 16px; padding: 0 4px; position: relative; z-index: 4; display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 18px; align-items: start; }
.panel { border: 1px solid rgba(29, 74, 59, .12); border-radius: var(--radius); background: rgba(255, 254, 249, .97); box-shadow: 0 13px 34px rgba(29, 60, 49, .07); }
.form-panel { padding: 28px; }
.shipping-notice { margin: -7px -7px 16px; min-height: 72px; padding: 13px 16px; display: flex; align-items: center; gap: 12px; border: 1px solid #add8c4; border-radius: 12px; background: linear-gradient(135deg, #edf9f3, #f9fdfb); box-shadow: inset 4px 0 var(--green-500); }
.shipping-notice-icon { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 9px; color: white; background: var(--green-800); }
.shipping-notice-icon svg { width: 18px; }.shipping-notice-content { min-width: 0; flex: 1; }.shipping-notice h3 { margin: 0 0 7px; font: 600 15px Georgia, "Noto Serif SC", serif; }
.shipping-notice-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 7px; }.shipping-notice-heading h3 { margin: 0; }
.shipping-notice dl { margin: 0; display: grid; grid-template-columns: minmax(270px, 1.6fr) minmax(110px, .55fr) minmax(130px, .6fr); gap: 12px 20px; }.shipping-notice dl > div { min-width: 0; display: flex; align-items: baseline; gap: 7px; }
.shipping-notice dt { flex: 0 0 auto; color: var(--muted); font-size: 10px; }.shipping-notice dd { min-width: 0; margin: 0; overflow: hidden; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.copy-all-shipping { flex: 0 0 auto; min-height: 28px; padding: 3px 9px; border: 1px solid var(--green-800); border-radius: 6px; color: #fff; background: var(--green-800); cursor: pointer; font-size: 11px; font-weight: 700; white-space: nowrap; }
.copy-all-shipping:hover { background: var(--green-700); }.copy-all-shipping:focus-visible { outline: 2px solid var(--green-700); outline-offset: 2px; }.copy-all-shipping:disabled { opacity: .5; cursor: not-allowed; }
.shipping-notice dd a { color: #27795a; text-decoration: none; }
.shipping-notice + .panel-heading { min-height: 36px; }
.shipping-notice + .panel-heading .step-number { width: 28px; height: 28px; }
.shipping-notice + .panel-heading h2 { font-size: 18px; }
.shipping-notice + .panel-heading p { display: inline-block; margin: 0 0 0 8px; }
.panel-heading, .section-divider { display: flex; align-items: center; justify-content: space-between; }
.panel-heading > div, .section-divider { display: flex; align-items: center; gap: 13px; }
.panel-heading h2, .section-divider h2 { margin: 0; font-family: Georgia, "Noto Serif SC", serif; font-size: 20px; font-weight: 600; }
.panel-heading p, .section-divider p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.panel-heading b, .field > span b { color: var(--orange); }
.step-number { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; color: var(--green-800); background: var(--mint); font: 800 11px Georgia, serif; }
.save-hint { color: #8b9691; font-size: 11px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.supplier-fields { margin-top: 14px; grid-template-columns: 1.5fr 1fr 1fr; }
.field { display: block; position: relative; }
.field > span { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; }
.field input, .field textarea, .field select, .search-field input {
  width: 100%; border: 1px solid #ced9d3; border-radius: 10px; outline: none; color: var(--ink); background: #fff;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.field input, .field select { height: 45px; padding: 0 13px; }
.field textarea { padding: 11px 13px; resize: vertical; min-height: 90px; }
.field input::placeholder, .field textarea::placeholder, .search-field input::placeholder { color: #a4afa9; }
.field input:focus, .field textarea:focus, .field select:focus, .search-field:focus-within { border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(79, 160, 124, .12); }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--red); background: #fffaf9; }
.field-error { display: none; margin-top: 5px; color: var(--red); font-size: 11px; }
.field.invalid .field-error { display: block; }
.section-divider { justify-content: flex-start; margin: 29px 0 17px; padding-top: 25px; border-top: 1px solid var(--line); }
.packages { display: grid; gap: 13px; margin-top: 15px; }
.package-card { border: 1px solid #d8e1dc; border-radius: 13px; background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.package-card:focus-within { border-color: #a9cdbc; box-shadow: 0 6px 20px rgba(26, 76, 59, .07); }
.package-head { min-height: 45px; padding: 9px 13px; display: flex; align-items: center; justify-content: space-between; background: #f6f8f5; border-bottom: 1px solid #e0e6e2; }
.package-head > div { display: flex; align-items: center; gap: 10px; min-width: 0; }
.package-badge { padding: 4px 8px; border-radius: 6px; color: white; background: var(--green-800); font-size: 11px; font-weight: 700; white-space: nowrap; }
.package-badge i { font-style: normal; }
.order-summary { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.remove-package { width: 29px; height: 29px; display: grid; place-items: center; border: 0; border-radius: 7px; background: transparent; color: #89958f; cursor: pointer; }
.remove-package:hover { color: var(--red); background: #f8e9e7; }
.remove-package svg { width: 16px; }
.package-fields { padding: 17px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 17px; }
.orders-input { font-family: ui-monospace, Consolas, monospace; font-size: 12px; }
.shipping-fields { display: grid; gap: 13px; }
.helper { display: block; margin-top: 5px; color: #97a19c; font-size: 10px; }
.select-wrap { position: relative; }
.select-wrap::after { content: "⌄"; position: absolute; right: 13px; top: 9px; color: #78857f; pointer-events: none; }
.select-wrap select { appearance: none; padding-right: 34px; }
.add-package { width: 100%; margin-top: 13px; min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 1px dashed #a6c4b5; border-radius: 11px; background: #f8fbf9; color: var(--green-800); cursor: pointer; }
.add-package:hover { border-color: var(--green-700); background: var(--mint-light); }
.add-package > span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 7px; color: white; background: var(--green-700); font-size: 17px; }
.add-package strong { font-size: 12px; }.add-package small { color: var(--muted); font-size: 10px; }
.note-field { margin-top: 20px; }
.note-field i { position: absolute; right: 10px; bottom: 8px; color: #a0aaa5; font-size: 10px; font-style: normal; }
.submit-bar { margin: 22px -28px -28px; padding: 18px 28px; display: flex; align-items: center; justify-content: space-between; border-radius: 0 0 var(--radius) var(--radius); background: #f1f5f2; border-top: 1px solid var(--line); }
.submit-bar p { display: flex; align-items: center; gap: 7px; margin: 0; color: var(--muted); font-size: 11px; }
.submit-bar p svg { width: 16px; color: var(--green-500); }
.primary-button, .outline-button { min-height: 42px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 9px; cursor: pointer; font-weight: 700; font-size: 13px; transition: .2s; }
.primary-button { border: 1px solid var(--green-900); color: white; background: var(--green-900); box-shadow: 0 7px 18px rgba(20, 61, 48, .17); }
.primary-button:hover { transform: translateY(-1px); background: var(--green-800); }
.primary-button:disabled { cursor: wait; opacity: .7; transform: none; }
.primary-button svg { width: 17px; }
.outline-button { border: 1px solid #bed0c7; background: rgba(255,255,255,.7); color: var(--green-800); }
.outline-button:hover { background: white; border-color: var(--green-700); }
.outline-button svg { width: 17px; }
.side-column { display: grid; gap: 14px; }
.guide-card { margin-top: 0; padding: 23px; }
.guide-card h3 { margin: 6px 0 20px; font: 600 22px Georgia, "Noto Serif SC", serif; }
.guide-card ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.guide-card li { display: flex; gap: 11px; }
.guide-card li > span { width: 24px; height: 24px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #b8d4c5; border-radius: 50%; color: var(--green-700); font: 700 11px Georgia, serif; }
.guide-card li p { margin: 0; color: var(--muted); font-size: 11px; }
.guide-card li strong { display: block; margin-bottom: 3px; color: var(--ink); font-size: 12px; }
.guide-card li.important-guide { margin: 0 -9px -6px; padding: 11px 9px; border: 1px solid #edc7b6; border-radius: 10px; background: #fff7f2; }
.guide-card li.important-guide > span { border-color: #dfa68b; color: #b85e39; background: white; }
.guide-card li.important-guide strong { color: #9e4f31; }
.support-card { padding: 17px 19px; display: flex; align-items: center; gap: 13px; border-radius: 13px; color: #d9e9e1; background: var(--green-900); box-shadow: 0 9px 24px rgba(24, 63, 50, .15); }
.support-card svg { width: 25px; flex: 0 0 auto; color: #82c5a1; }
.support-card strong { display: block; color: white; font-size: 12px; }.support-card p { margin: 2px 0 0; font-size: 10px; }

.records-header { display: flex; align-items: end; justify-content: space-between; padding: 20px 4px 30px; }
.records-header h1 { margin: 5px 0 3px; color: var(--green-950); font-size: 44px; }
.records-header p { margin: 0; color: var(--muted); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.stat-card { min-height: 112px; padding: 20px; display: flex; align-items: center; gap: 15px; border: 1px solid rgba(29, 74, 59, .12); border-radius: 15px; background: rgba(255,254,249,.9); box-shadow: 0 9px 24px rgba(29, 60, 49, .05); }
.stat-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 12px; background: #edf3ef; color: var(--green-700); font-family: Georgia, serif; }
.stat-card.accent .stat-icon { color: white; background: var(--green-800); }.stat-card.warning .stat-icon { color: var(--red); background: #f8e8e5; font-weight: 800; }
.stat-card span { display: block; color: var(--muted); font-size: 11px; }
.stat-card strong { min-width: 2ch; margin-right: 6px; display: inline-block; color: var(--ink); font-family: Inter, Arial, sans-serif; font-size: 29px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.15; letter-spacing: -.02em; text-align: right; }
.stat-card small { display: inline-block; color: #9aa59f; font-size: 10px; line-height: 1; vertical-align: baseline; }
.records-panel { min-height: 380px; overflow: hidden; }
.filter-bar { padding: 17px; display: grid; grid-template-columns: minmax(260px, 1fr) auto auto; gap: 14px; align-items: center; border-bottom: 1px solid var(--line); }
.search-field { height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid #ced9d3; border-radius: 9px; background: white; }
.search-field svg { width: 17px; color: #8c9993; }.search-field input { height: 38px; padding: 0; border: 0; box-shadow: none !important; }
.status-filters { display: flex; gap: 3px; padding: 3px; border-radius: 9px; background: #edf1ee; }
.status-filters button { padding: 7px 11px; border: 0; border-radius: 7px; color: var(--muted); background: transparent; cursor: pointer; font-size: 11px; }
.status-filters button.active { color: white; background: var(--green-800); }
.refresh-button { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid #ced9d3; border-radius: 9px; background: white; color: var(--green-800); cursor: pointer; }
.refresh-button:hover svg { transform: rotate(180deg); }.refresh-button svg { width: 17px; transition: transform .4s; }
.records-table { overflow-x: auto; }
.record-row { min-width: 850px; display: grid; grid-template-columns: 150px minmax(180px, 1.2fr) minmax(250px, 1.8fr) 120px 125px; gap: 14px; align-items: start; padding: 18px; border-bottom: 1px solid #e6ebe8; font-size: 12px; }
.record-row.head { padding-top: 12px; padding-bottom: 12px; color: #7c8882; background: #fafbf9; font-size: 10px; font-weight: 700; letter-spacing: .05em; }
.record-row:not(.head):hover { background: #fcfdfb; }
.notice-cell strong, .supplier-cell strong { display: block; color: var(--ink); }.notice-cell strong { font-family: ui-monospace, Consolas, monospace; font-size: 11px; }
.notice-cell small, .supplier-cell small { display: block; margin-top: 5px; color: #8d9993; font-size: 10px; }
.package-line + .package-line { margin-top: 11px; padding-top: 11px; border-top: 1px dashed #dce3df; }
.package-line strong { display: inline-block; font-family: ui-monospace, Consolas, monospace; font-size: 11px; }.package-line small { margin-left: 6px; color: var(--muted); }
.order-tags { margin-top: 5px; display: flex; flex-wrap: wrap; gap: 4px; }.order-tags span { padding: 3px 5px; border-radius: 4px; color: var(--green-800); background: var(--mint-light); font: 700 9px ui-monospace, Consolas, monospace; }
.status-select { width: 100%; height: 34px; padding: 0 24px 0 9px; appearance: none; border: 1px solid #cdd9d3; border-radius: 8px; outline: none; color: var(--green-800); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%2362766e'/%3E%3C/svg%3E") calc(100% - 9px) center/10px no-repeat; font-size: 11px; font-weight: 700; }
.status-select[data-status="运输异常"] { color: var(--red); border-color: #e4bbb7; background-color: #fff8f7; }
.readonly-status { display: inline-block; padding: 7px 10px; border-radius: 7px; color: var(--green-800); background: var(--mint-light); font-size: 11px; font-weight: 700; }
.date-cell { color: var(--muted); font-size: 11px; }
.date-cell strong { display: block; color: var(--ink); font-size: 12px; }
.empty-state { padding: 72px 20px; text-align: center; }.empty-state > div { width: 54px; height: 54px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; background: #edf3ef; color: #7ca38f; }.empty-state svg { width: 25px; }.empty-state h3 { margin: 0 0 5px; font: 600 18px Georgia, serif; }.empty-state p { margin: 0; color: var(--muted); font-size: 12px; }

.toast { position: fixed; z-index: 100; right: 24px; bottom: 24px; max-width: 390px; padding: 14px 14px 14px 12px; display: flex; align-items: center; gap: 11px; border: 1px solid #bad8c9; border-radius: 12px; color: var(--ink); background: #f9fffb; box-shadow: 0 18px 45px rgba(21, 61, 48, .18); transform: translateY(130%); opacity: 0; transition: .28s; }
.toast.show { transform: translateY(0); opacity: 1; }.toast.error { border-color: #e2b6b2; background: #fff9f8; }.toast-icon { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green-700); }.toast-icon::after { content: "✓"; }.toast.error .toast-icon { background: var(--red); }.toast.error .toast-icon::after { content: "!"; }.toast strong { display: block; font-size: 12px; }.toast p { margin: 2px 0 0; color: var(--muted); font-size: 10px; }.toast button { margin-left: auto; border: 0; background: none; color: #84908a; cursor: pointer; font-size: 20px; }
.modal { position: fixed; z-index: 90; inset: 0; display: grid; place-items: center; padding: 20px; }.modal[hidden] { display: none; }.modal-backdrop { position: absolute; inset: 0; background: rgba(10, 30, 23, .65); backdrop-filter: blur(5px); }.modal-card { width: min(460px, 100%); padding: 38px; position: relative; border-radius: 20px; background: var(--paper); box-shadow: 0 26px 70px rgba(0,0,0,.25); text-align: center; animation: modalIn .25s ease both; }
.supplier-manager { margin-bottom: 20px; padding: 25px; }
.supplier-manager h2 { margin: 0 0 5px; font: 600 22px Georgia, "Noto Serif SC", serif; }
.supplier-manager > p, .supplier-empty { margin: 0 0 20px; color: var(--muted); font-size: 12px; }
.supplier-create-row { display: flex; align-items: end; gap: 12px; }
.supplier-create-row .field { flex: 1; }.supplier-create-row .primary-button { height: 45px; white-space: nowrap; }
.share-origin-field { max-width: 610px; margin-top: 21px; }
.share-origin-section { margin-top: 21px; }.share-origin-section .share-origin-field { margin-top: 0; }
.lan-address-choices { margin-top: 9px; display: flex; flex-wrap: wrap; gap: 7px; }
.lan-address-button { padding: 7px 10px; border: 1px solid #b9d2c5; border-radius: 8px; color: var(--green-800); background: var(--mint-light); cursor: pointer; font-size: 11px; font-weight: 700; }
.lan-address-button:hover { border-color: var(--green-700); background: #e5f5ec; }
.mobile-access-status { max-width: 610px; margin-top: 10px; padding: 10px 12px; border-radius: 8px; color: #745632; background: #fff6e7; font-size: 11px; line-height: 1.6; }
.mobile-access-status.ready { color: #246049; background: var(--mint-light); }
.new-link-box { margin-top: 20px; padding: 15px; border: 1px solid #b6dac4; border-radius: 10px; background: var(--mint-light); }
.new-link-box > strong { display: block; margin-bottom: 9px; font-size: 12px; }.new-link-box > div { display: flex; gap: 8px; }
.new-link-box input { min-width: 0; flex: 1; padding: 0 10px; border: 1px solid #bdd6c8; border-radius: 8px; background: white; font-size: 12px; }.new-link-box small { display: block; margin-top: 9px; color: var(--muted); }
.supplier-list-heading { display: flex; justify-content: space-between; align-items: center; }.supplier-list-heading span { color: var(--muted); font-size: 12px; }
.supplier-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 0; border-top: 1px solid var(--line); }
.supplier-item strong, .supplier-item small { display: block; }.supplier-item strong { font-size: 14px; }.supplier-item small { margin-top: 5px; color: var(--muted); font-size: 11px; }
.supplier-actions { display: flex; gap: 8px; }.supplier-actions button { min-height: 35px; padding: 0 11px; white-space: nowrap; font-size: 11px; }
.supplier-actions .primary-button { box-shadow: none; }
.password-form { max-width: 610px; display: grid; gap: 12px; }.password-form button { justify-self: start; }
.shipping-settings-panel { padding: 28px; }.shipping-settings-heading { margin-bottom: 24px; display: flex; align-items: start; justify-content: space-between; gap: 15px; }
.shipping-settings-heading h2 { margin: 0 0 5px; font: 600 23px Georgia, "Noto Serif SC", serif; }.shipping-settings-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.shipping-settings-heading > span { padding: 5px 9px; border-radius: 7px; color: var(--green-700); background: var(--mint); font-size: 10px; font-weight: 700; }
#shippingInfoForm { max-width: 760px; display: grid; gap: 17px; }.field-full { width: 100%; }.shipping-settings-actions { display: flex; align-items: center; gap: 13px; }.shipping-settings-actions small { color: var(--muted); }
.settings-preview { margin-top: 28px; padding: 18px; border: 1px solid #bfdccc; border-radius: 12px; background: var(--mint-light); }
.settings-preview > span { display: block; margin-bottom: 9px; color: var(--green-700); font-size: 10px; font-weight: 800; letter-spacing: .12em; }.settings-preview strong { display: block; font-size: 15px; }.settings-preview p { margin: 8px 0 0; color: var(--muted); }.settings-preview i { margin-right: 18px; font-style: normal; }.settings-preview a { color: #247b58; text-decoration: none; }
@keyframes modalIn { from { transform: scale(.94) translateY(10px); opacity: 0; } }
.success-check { width: 58px; height: 58px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green-700); box-shadow: 0 0 0 9px var(--mint); }.success-check svg { width: 30px; stroke-width: 2.5; }.modal-card h2 { margin: 8px 0 6px; font: 600 27px Georgia, "Noto Serif SC", serif; }.modal-card > p { margin: 0; color: var(--muted); font-size: 12px; }.notice-result { margin: 24px 0; padding: 13px; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; border: 1px dashed #aac9ba; border-radius: 10px; background: var(--mint-light); text-align: left; }.notice-result span { color: var(--muted); font-size: 10px; }.notice-result strong { font-family: ui-monospace, Consolas, monospace; font-size: 12px; }.notice-result button { border: 0; background: none; color: var(--green-700); cursor: pointer; font-size: 10px; font-weight: 700; }.modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

@media (max-width: 960px) {
  .content-grid { grid-template-columns: 1fr; }.side-column { grid-template-columns: 1fr 1fr; }.guide-card { margin-top: 0; }.support-card { align-self: start; }
  .supplier-fields { grid-template-columns: 1fr 1fr; }.supplier-fields .field-wide { grid-column: 1 / -1; }
  .stats-grid { grid-template-columns: 1fr 1fr; }.filter-bar { grid-template-columns: 1fr auto; }.status-filters { grid-row: 2; grid-column: 1 / -1; width: max-content; }
}
@media (max-width: 720px) {
  .auth-card { margin: 4vh auto; padding: 25px; }
  .supplier-manager { padding: 18px; }.supplier-create-row { flex-direction: column; align-items: stretch; }.supplier-create-row .field { width: 100%; }.supplier-item { align-items: flex-start; flex-direction: column; }.new-link-box > div { flex-direction: column; }.new-link-box input { min-height: 42px; }
  .topbar { height: auto; min-height: 66px; padding: 10px 16px; grid-template-columns: 1fr auto; }.nav-tabs { grid-row: 2; grid-column: 1 / -1; width: 100%; margin-top: 9px; }.nav-tab { flex: 1; justify-content: center; }.system-status { display: none; }
  .shell { width: min(100% - 24px, 620px); padding-top: 16px; }.hero { min-height: 176px; padding: 23px 22px; grid-template-columns: 1fr; border-radius: 18px; }.hero h1 { max-width: 82%; font-size: 29px; line-height: 1.16; }.hero h1 em { display: block; }.hero p { max-width: 75%; font-size: 11px; line-height: 1.55; }.hero-visual { position: absolute; inset: 0; opacity: .27; }.package-art { width: 175px; right: -36px; top: 58%; }.route-line { height: 65px; }
  .content-grid { margin-top: 12px; padding: 0 4px; }.form-panel { padding: 20px 16px; }.save-hint { display: none; }.supplier-fields, .field-grid { grid-template-columns: 1fr; gap: 13px; }.package-fields { grid-template-columns: 1fr; }.add-package small { display: none; }.submit-bar { margin: 20px -16px -20px; padding: 16px; flex-direction: column; gap: 12px; }.submit-bar .primary-button { width: 100%; }.submit-bar p { align-self: flex-start; }.side-column { grid-template-columns: 1fr; }
  .shipping-notice { margin: -4px -2px 15px; padding: 12px; align-items: flex-start; }.shipping-notice-icon { width: 31px; height: 31px; }.shipping-notice-heading { align-items: flex-start; }.shipping-notice h3 { font-size: 14px; }.shipping-notice dl { grid-template-columns: 1fr 1fr; gap: 5px 12px; }.shipping-notice dl > div { display: grid; grid-template-columns: 54px 1fr; gap: 5px; }.shipping-notice dl > div:first-child { grid-column: 1 / -1; }.shipping-notice dd { overflow: visible; font-size: 11px; text-overflow: clip; white-space: normal; }.shipping-notice + .panel-heading p { display: block; margin: 2px 0 0; }
  .records-header { align-items: start; gap: 15px; }.records-header h1 { font-size: 35px; }.records-header .outline-button { padding: 0 12px; white-space: nowrap; }.stats-grid { grid-template-columns: 1fr 1fr; gap: 9px; }.stat-card { min-height: 93px; padding: 13px; }.stat-icon { display: none; }.filter-bar { grid-template-columns: 1fr auto; gap: 9px; }.status-filters { width: 100%; overflow-x: auto; }.status-filters button { flex: 1; white-space: nowrap; }
  .modal-card { padding: 30px 21px; }.modal-actions { grid-template-columns: 1fr; }
  .shipping-settings-panel { padding: 20px 16px; }.shipping-settings-heading { flex-direction: column; }.shipping-settings-actions { align-items: stretch; flex-direction: column; }.shipping-settings-actions .primary-button { width: 100%; }.settings-preview p { display: grid; gap: 5px; }.settings-preview i { margin-right: 0; }
}
@media (max-width: 410px) { .stats-grid { grid-template-columns: 1fr; }.records-header { display: block; }.records-header .outline-button { margin-top: 16px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
