@import "tailwindcss";

:root { --ink:#272727; --muted:#6f6f6f; --line:#dedede; --paper:#fff; --ground:#f2f2f2; --green:#ee7f18; --green-2:#c85e00; --mint:#f4e2d3; --amber:#ee7f18; --red:#a83d34; --blue:#67737c; --shadow:0 18px 50px rgba(35,35,35,.08); }
* { box-sizing:border-box; }
html { background:var(--ground); }
body { margin:0; background:var(--ground); color:var(--ink); font-family:Aptos,"Segoe UI",Arial,sans-serif; min-height:100vh; }
button,input,select,textarea { font-family:Aptos,"Segoe UI",Arial,sans-serif; }
button,input,select,textarea { font:inherit; }
button,a { -webkit-tap-highlight-color:transparent; }
button { color:inherit; }
img { display:block; }
.eyebrow { color:#71827c; font-size:11px; font-weight:800; letter-spacing:.12em; margin:0 0 7px; text-transform:uppercase; }
.muted { color:var(--muted); }
.primary,.secondary,.return-button,.danger-button { align-items:center; border-radius:10px; cursor:pointer; display:inline-flex; font-weight:750; justify-content:center; min-height:42px; padding:10px 16px; transition:.18s ease; }
.primary { background:var(--green); border:1px solid var(--green); color:white; box-shadow:0 6px 18px rgba(238,127,24,.18); }
.primary:hover { background:#d86d0b; transform:translateY(-1px); }
.secondary { background:white; border:1px solid #ccd8d3; color:var(--ink); }
.secondary:hover { border-color:var(--green); color:var(--green); }
.return-button { background:#fff8ec; border:1px solid #e5c68e; color:#85520a; }
.danger-button { background:#fff; border:1px solid #e1bbb6; color:var(--red); }
.wide { width:100%; }
.small { min-height:34px; padding:7px 12px; font-size:12px; }
.text-button,.back-button { background:transparent; border:0; color:var(--green-2); cursor:pointer; font-weight:750; padding:6px; }
.link-button { text-decoration:none; }
button:disabled,fieldset:disabled button { cursor:not-allowed; opacity:.5; transform:none; }

.app-shell { min-height:100vh; }
.sidebar { background:linear-gradient(180deg,#3f4143,#292a2c); color:white; display:flex; flex-direction:column; height:100vh; left:0; padding:26px 18px 18px; position:fixed; top:0; width:248px; z-index:20; }
.brand { align-items:center; display:flex; gap:12px; }
.brand img { background:white; border-radius:10px; height:40px; object-fit:contain; padding:4px; width:40px; }
.brand strong { display:block; font-size:18px; letter-spacing:-.03em; }
.brand span { color:#a8c5be; display:block; font-size:8px; font-weight:800; letter-spacing:.15em; margin-top:2px; }
.sidebar nav { display:flex; flex-direction:column; gap:5px; margin-top:48px; }
.sidebar nav button { align-items:center; background:transparent; border:0; border-radius:10px; color:#b7cbc6; cursor:pointer; display:flex; font-size:13px; font-weight:650; gap:13px; padding:12px 14px; text-align:left; width:100%; }
.sidebar nav button > span { color:#91aca6; font-size:18px; width:18px; }
.sidebar nav button b { background:#e88637; border-radius:20px; color:white; font-size:10px; margin-left:auto; min-width:20px; padding:3px 6px; text-align:center; }
.sidebar nav button:hover,.sidebar nav .nav-active { background:#ee7f18; color:white; }
.sidebar nav .nav-active > span { color:white; }
.sidebar-foot { border-top:1px solid rgba(255,255,255,.1); margin-top:auto; padding-top:17px; }
.user-block { align-items:center; display:flex; gap:10px; }
.avatar { align-items:center; background:#d6ebe5; border-radius:50%; color:var(--green); display:flex; flex:0 0 auto; font-size:11px; font-weight:850; height:36px; justify-content:center; width:36px; }
.avatar.small { height:34px; width:34px; }
.user-block strong { display:block; font-size:11px; }
.user-block small { color:#9dbab3; display:block; font-size:9px; margin-top:2px; }
.signout { background:transparent; border:0; color:#8fabaa; cursor:pointer; font-size:11px; margin-top:15px; padding:5px 0; }
.main-area { margin-left:248px; min-height:100vh; padding:28px 38px 50px; }
.topbar { align-items:flex-start; display:flex; justify-content:space-between; margin:0 auto 28px; max-width:1400px; }
.topbar h1 { font-size:27px; letter-spacing:-.045em; line-height:1.1; margin:0; }
.sync-pill { align-items:center; background:white; border:1px solid var(--line); border-radius:30px; color:var(--muted); display:flex; font-size:10px; font-weight:750; gap:7px; padding:8px 12px; }
.sync-pill span { background:#36a477; border-radius:50%; box-shadow:0 0 0 3px #ddf3ea; height:7px; width:7px; }
.sync-pill.offline span,.sync-pill.unsynced span { background:#d68a25; box-shadow:0 0 0 3px #fff0d8; }
.sync-pill.conflict span { background:#c24f45; box-shadow:0 0 0 3px #f8e1de; }
.sync-pill.syncing span { animation:pulse 1s infinite; }
@keyframes pulse { 50% { opacity:.25; } }
.notice,.credential-banner,.return-banner { align-items:center; border-radius:10px; display:flex; font-size:12px; gap:8px; margin:0 auto 18px; max-width:1400px; padding:11px 14px; }
.notice.success { background:#e6f4ee; border:1px solid #b8dfcf; color:#23644c; }
.notice.error { background:#fff0ee; border:1px solid #efc8c2; color:#933d34; }
.notice button { background:transparent; border:0; cursor:pointer; font-size:18px; margin-left:auto; }
.credential-banner { background:#fff8e8; border:1px solid #edd7a5; color:#7b5b1b; }
.return-banner { background:#fff8e8; border:1px solid #edd7a5; color:#765617; }
.return-banner span { margin-left:8px; }
.content-stack,.workspace,.review-layout,.review-detail,.report-detail,.admin-layout,.panel { margin-left:auto; margin-right:auto; max-width:1400px; }

.stat-grid { display:grid; gap:15px; grid-template-columns:repeat(4,1fr); }
.stat-grid article { background:white; border:1px solid var(--line); border-radius:14px; min-height:142px; padding:20px; position:relative; }
.stat-grid article > div { margin-top:17px; }
.stat-grid article strong { font-size:27px; letter-spacing:-.05em; }
.stat-grid article p { color:#4d5c57; font-size:11px; font-weight:650; margin:2px 0; }
.stat-grid article small { bottom:17px; color:#899690; font-size:9px; position:absolute; right:18px; }
.stat-icon { align-items:center; border-radius:9px; display:flex; font-size:18px; height:35px; justify-content:center; width:35px; }
.stat-icon.teal { background:#e0eeea; color:#176b5d; }.stat-icon.amber { background:#fff0d9; color:#b46d0a; }.stat-icon.blue { background:#e3eef4; color:#386d85; }.stat-icon.green { background:#e5f1e7; color:#3d7d50; }
.dashboard-grid { display:grid; gap:18px; grid-template-columns:2fr 1fr; margin-top:18px; }
.panel { background:white; border:1px solid var(--line); border-radius:14px; padding:24px; box-shadow:0 10px 35px rgba(26,54,47,.03); }
.panel-head,.form-title,.workspace-head { align-items:flex-start; display:flex; justify-content:space-between; gap:20px; }
.panel-head h2,.form-title h2 { font-size:18px; letter-spacing:-.03em; margin:0; }
.panel-head p,.form-title p { color:var(--muted); font-size:11px; margin:5px 0 0; }
.borehole-list { margin-top:17px; }
.borehole-list button { align-items:center; background:white; border:0; border-top:1px solid #edf1ef; cursor:pointer; display:grid; gap:13px; grid-template-columns:38px 1fr auto 16px; padding:14px 4px; text-align:left; width:100%; }
.borehole-list button:hover { background:#f9fbfa; }
.bh-monogram { align-items:center; background:#e6f0ed; border-radius:8px; color:var(--green); display:flex; font-size:10px; font-weight:850; height:34px; justify-content:center; width:34px; }
.borehole-list strong { font-size:12px; }.borehole-list p { color:#7b8984; font-size:9px; margin:3px 0 0; }.arrow { color:#92a29d; font-size:20px; }
.status { border-radius:20px; display:inline-block; font-size:9px; font-weight:800; padding:5px 9px; text-transform:uppercase; white-space:nowrap; }
.status.draft { background:#edf0ef; color:#65726e; }.status.returned { background:#fff0d6; color:#a4640a; }.status.submitted { background:#e1edf3; color:#356d85; }.status.approved { background:#e0f0e6; color:#34704a; }
.field-card { background:linear-gradient(150deg,#55585b,#2f3032); color:white; }
.field-card .eyebrow { color:#8db5ac; }.field-card h2 { font-size:21px; margin:0; }.field-card hr { border:0; border-top:1px solid rgba(255,255,255,.12); margin:22px 0; }
.signal { align-items:center; display:flex; gap:12px; margin-top:22px; }.signal > span { background:#d98b2f; border-radius:50%; box-shadow:0 0 0 5px rgba(217,139,47,.13); height:10px; width:10px; }.signal > span.online { background:#63c79f; box-shadow:0 0 0 5px rgba(99,199,159,.13); }.signal strong { font-size:11px; }.signal p,.bm-help { color:#a9c1bc; font-size:10px; margin:3px 0 0; line-height:1.55; }

.workspace-head { align-items:center; background:white; border:1px solid var(--line); border-radius:14px 14px 0 0; padding:18px 22px; }
.bh-select { appearance:none; background:#f2f6f4; border:1px solid #d9e2de; border-radius:8px; color:var(--ink); font-size:17px; font-weight:850; min-width:190px; padding:9px 35px 9px 12px; }
.workspace-head p { color:var(--muted); font-size:10px; margin:5px 0 0; }.workspace-actions { align-items:center; display:flex; gap:9px; }
.step-tabs { background:white; border:1px solid var(--line); border-top:0; display:grid; grid-template-columns:repeat(6,1fr); }
.step-tabs button { align-items:center; background:white; border:0; border-bottom:3px solid transparent; cursor:pointer; display:flex; gap:10px; padding:15px 20px; text-align:left; }
.step-tabs button b { align-items:center; background:#eef2f0; border-radius:50%; color:#6f7c78; display:flex; font-size:10px; height:25px; justify-content:center; width:25px; }
.step-tabs button span { font-size:10px; font-weight:750; }.step-tabs button small { color:#8a9893; display:block; font-size:8px; font-weight:500; margin-top:2px; }.step-tabs button.active { border-bottom-color:var(--green); }.step-tabs button.active b { background:var(--green); color:white; }
.field-area { border:0; margin:0; padding:0; }
.form-panel { background:white; border:1px solid var(--line); border-radius:0 0 14px 14px; border-top:0; padding:26px; }
.field-grid { display:grid; gap:16px; margin-top:24px; }.field-grid.three { grid-template-columns:repeat(3,1fr); }.field-grid.compact { grid-template-columns:repeat(4,1fr); gap:12px; margin-top:15px; }.span-two { grid-column:span 2; }.description-field { grid-column:span 2; }
label { color:#43514c; display:block; font-size:10px; font-weight:750; }
label > small { color:#95a09c; display:block; font-size:8px; font-weight:500; margin-top:2px; }
input,select,textarea { background:#fbfcfb; border:1px solid #d8e1dd; border-radius:8px; color:var(--ink); min-height:42px; outline:none; padding:10px 11px; width:100%; }
label input,label select,label textarea { margin-top:6px; }
input:focus,select:focus,textarea:focus { background:white; border-color:#4f887d; box-shadow:0 0 0 3px rgba(79,136,125,.1); }
textarea { min-height:80px; resize:vertical; }
.log-cards { display:flex; flex-direction:column; gap:13px; margin-top:20px; }
.log-card { border:1px solid #dbe4e0; border-radius:12px; overflow:hidden; }
.log-card > header { align-items:center; background:#f7f9f8; border-bottom:1px solid #e2e8e5; display:flex; justify-content:space-between; padding:11px 14px; }
.log-card > header > div { align-items:center; display:flex; gap:10px; }.log-card header strong { font-size:11px; }.log-card header small { color:#84918d; font-size:9px; }
.row-number { align-items:center; background:var(--green); border-radius:50%; color:white; display:flex; flex:0 0 auto; font-size:9px; font-weight:800; height:22px; justify-content:center; width:22px; }
.log-card > .field-grid,.log-card details { padding-left:15px; padding-right:15px; }.calculated { background:#eff5f2; border-radius:8px; padding:10px; }.calculated span,.n-value span { color:#6f7f79; display:block; font-size:8px; text-transform:uppercase; }.calculated strong,.n-value strong { display:block; font-size:15px; margin-top:5px; }
.spt-strip { align-items:center; background:#f8faf9; border-bottom:1px solid #e3e8e6; border-top:1px solid #e3e8e6; display:grid; gap:14px; grid-template-columns:145px 1fr 55px; margin-top:15px; padding:13px 15px; }.spt-strip strong { font-size:10px; }.spt-strip small { color:#84928d; display:block; font-size:8px; margin-top:3px; }.blow-inputs { display:grid; gap:6px; grid-template-columns:repeat(6,1fr); }.blow-inputs input { min-height:36px; padding:7px; text-align:center; }.n-value { background:#e3efeb; border-radius:8px; padding:7px; text-align:center; }.n-value strong { color:var(--green); }
.log-card details { padding-bottom:13px; }.log-card summary { color:var(--green-2); cursor:pointer; font-size:9px; font-weight:750; padding:11px 0 0; }.icon-button { align-items:center; background:white; border:1px solid #dae3df; border-radius:7px; cursor:pointer; display:flex; height:29px; justify-content:center; width:29px; }.icon-button.danger { color:var(--red); }
.water-list { display:flex; flex-direction:column; gap:9px; margin-top:20px; }.water-row { align-items:end; background:#f8faf9; border:1px solid #e1e8e5; border-radius:10px; display:grid; gap:9px; grid-template-columns:25px repeat(6,1fr) 30px; padding:12px; }
.preview-layout,.review-columns { display:grid; gap:22px; grid-template-columns:minmax(0,1fr) 290px; padding-top:22px; }.preview-layout { background:#e5e9e7; border:1px solid var(--line); border-top:0; padding:25px; }.checklist,.review-actions { background:white; border:1px solid var(--line); border-radius:12px; height:max-content; padding:20px; position:sticky; top:20px; }.checklist h3 { font-size:17px; margin:0 0 18px; }.checklist > div { align-items:flex-start; border-top:1px solid #edf1ef; display:flex; gap:10px; padding:12px 0; }.checklist > div > span { align-items:center; border-radius:50%; display:flex; font-size:9px; font-weight:850; height:20px; justify-content:center; width:20px; }.check-ok > span { background:#dff1e7; color:#26704b; }.check-warn > span { background:#fff0d8; color:#9c620c; }.checklist p { margin:0; }.checklist strong { display:block; font-size:10px; }.checklist small { color:#85918d; font-size:8px; }.print-button { margin-top:12px; }

.review-list { margin-top:18px; }.review-list button { align-items:center; background:white; border:0; border-top:1px solid #e8edeb; cursor:pointer; display:grid; gap:13px; grid-template-columns:38px 1fr auto auto; padding:15px 4px; text-align:left; width:100%; }.review-list p { color:#84918c; font-size:9px; margin:4px 0 0; }.review-list > button > span:not(.bh-monogram),.review-list b { font-size:9px; }.count-badge { background:#e4eff3; border-radius:20px; color:#346a81; font-size:9px; font-weight:800; padding:6px 9px; }.back-button { margin-bottom:13px; }.review-columns { background:#e5e9e7; border-radius:14px; padding:22px; }.review-actions h2 { font-size:24px; margin:0; }.review-actions > p:not(.eyebrow) { color:#788782; font-size:10px; margin:4px 0 18px; }.review-summary { display:grid; gap:7px; grid-template-columns:repeat(3,1fr); margin-bottom:18px; }.review-summary span { background:#f3f6f4; border-radius:7px; color:#6f7e79; font-size:7px; padding:8px; text-align:center; }.review-summary b { color:var(--ink); display:block; font-size:14px; }.review-actions > button { margin-top:9px; }.action-note { color:#82908c!important; font-size:8px!important; line-height:1.5; text-align:center; }.edit-box { background:#f4f8f6; border:1px solid #d9e5e0; border-radius:9px; margin-top:10px; padding:12px; }.edit-box strong { font-size:10px; }.edit-box p { color:#7d8985; font-size:8px; }.edit-box label { margin-top:8px; }

.report-sheet { background:white; border:1px solid #cfd8d4; box-shadow:0 15px 40px rgba(29,53,47,.12); margin:auto; max-width:930px; min-height:1080px; overflow:hidden; padding:38px; position:relative; }
.report-sheet > header { align-items:stretch; background:var(--green); color:white; display:flex; justify-content:space-between; min-height:82px; }.report-brand { align-items:center; display:flex; gap:14px; padding:14px 20px; }.report-brand img { background:white; border-radius:7px; height:47px; object-fit:contain; padding:4px; width:47px; }.report-brand strong { display:block; font-size:15px; }.report-brand span { color:#b7d1cb; display:block; font-size:8px; font-weight:700; letter-spacing:.1em; margin-top:5px; }.report-bh { border-left:1px solid rgba(255,255,255,.18); min-width:145px; padding:16px 20px; text-align:center; }.report-bh span { color:#b7d1cb; display:block; font-size:7px; font-weight:700; letter-spacing:.1em; }.report-bh strong { display:block; font-size:23px; margin-top:7px; }.watermark { color:rgba(167,61,52,.08); font-size:130px; font-weight:900; left:50%; letter-spacing:.12em; position:absolute; top:45%; transform:translate(-50%,-50%) rotate(-30deg); z-index:0; }
.report-meta { border:1px solid #d1dbd6; border-top:0; position:relative; z-index:1; }.project-title { align-items:center; border-bottom:1px solid #dbe3df; display:flex; gap:30px; padding:12px 16px; }.project-title span,.report-meta dt,.report-sheet footer dt { color:#77857f; font-size:7px; font-weight:800; text-transform:uppercase; }.project-title strong { font-size:14px; }.report-meta dl { display:grid; grid-template-columns:repeat(3,1fr); margin:0; }.report-meta dl div { border-right:1px solid #e1e7e4; border-top:1px solid #e1e7e4; padding:9px 14px; }.report-meta dd,.report-sheet footer dd { font-size:8px; font-weight:650; margin:4px 0 0; }
.report-sheet table { border-collapse:collapse; margin-top:15px; position:relative; width:100%; z-index:1; }.report-sheet th { background:#dce9e5; border:1px solid #98aaa3; font-size:7px; padding:8px 5px; text-align:left; }.report-sheet td { border:1px solid #b9c7c1; font-size:7px; height:55px; padding:7px 5px; vertical-align:top; }.report-sheet td small { color:#76847f; display:block; font-size:6px; margin-top:4px; }.report-sheet td:last-child { text-align:center; }.report-sheet td:last-child b { display:block; font-size:11px; }.report-sheet td:last-child i { background:#d9e4e0; display:block; height:3px; margin-top:6px; position:relative; width:100%; }.report-sheet td:last-child i::after { background:#e07831; content:""; height:3px; left:0; position:absolute; top:0; width:calc(var(--n) * 1%); }.report-sheet footer { border:1px solid #b9c7c1; display:grid; grid-template-columns:1.3fr 1fr; margin-top:15px; position:relative; z-index:1; }.report-sheet footer > div,.report-sheet footer > dl { margin:0; padding:12px; }.report-sheet footer > div { border-right:1px solid #b9c7c1; }.report-sheet footer strong { font-size:7px; }.report-sheet footer p { font-size:6.5px; margin:5px 0 0; }.report-sheet footer dl div { display:grid; grid-template-columns:90px 1fr; margin-bottom:5px; }.report-buttons { display:flex; gap:10px; justify-content:center; margin-top:15px; }
.report-table { margin-top:18px; }.table-head,.report-table > button { align-items:center; display:grid; gap:15px; grid-template-columns:.7fr 1.5fr .5fr .8fr 1fr .5fr; padding:12px 8px; text-align:left; width:100%; }.table-head { color:#77857f; font-size:8px; font-weight:800; text-transform:uppercase; }.report-table > button { background:white; border:0; border-top:1px solid #e7ecea; cursor:pointer; font-size:10px; }.report-table code { font-size:8px; }.report-table b { color:var(--green-2); font-size:9px; }

.admin-tabs { display:flex; gap:7px; margin-bottom:14px; }.admin-tabs button { background:white; border:1px solid var(--line); border-radius:9px; cursor:pointer; font-size:10px; font-weight:700; padding:9px 14px; }.admin-tabs button.active { background:var(--green); border-color:var(--green); color:white; }.user-list { margin-top:18px; }.user-list > div { align-items:center; border-top:1px solid #e7ecea; display:grid; gap:12px; grid-template-columns:36px 1fr auto auto; padding:12px 2px; }.user-list strong { font-size:11px; }.user-list p { color:#7f8c87; font-size:8px; margin:3px 0 0; }.active-user,.inactive-user { border-radius:20px; font-size:8px; font-weight:750; padding:5px 8px; }.active-user { background:#e4f1e8; color:#31704a; }.inactive-user { background:#f1e6e4; color:#91443c; }.new-user { background:#f6f8f7; border:1px solid #e0e7e4; border-radius:10px; display:grid; gap:10px; grid-template-columns:1.3fr 1fr .8fr 1.2fr auto; margin-top:20px; padding:15px; }.new-user h3 { grid-column:1/-1; font-size:12px; margin:0; }.new-user button { align-self:end; }
.share-card { margin-top:17px; }.share-status { align-items:center; background:#eef5f2; border-radius:9px; display:flex; gap:11px; padding:13px; }.share-status > span { background:#36a477; border-radius:50%; height:9px; width:9px; }.share-status strong { font-size:10px; }.share-status p { color:#70807a; font-size:8px; margin:3px 0 0; }.share-card > label { margin-top:16px; }.copy-field { display:flex; margin-top:6px; }.copy-field input { border-radius:8px 0 0 8px; }.copy-field button { background:var(--green); border:0; border-radius:0 8px 8px 0; color:white; cursor:pointer; font-size:10px; font-weight:750; padding:0 16px; }.visibility-list { margin-top:20px; }.visibility-list h3 { font-size:12px; }.visibility-list label { align-items:center; border-top:1px solid #e8edeb; display:flex; gap:10px; padding:10px 0; }.visibility-list input { height:16px; min-height:0; width:16px; }.visibility-list strong { display:block; font-size:10px; }.visibility-list small { color:#84918c; font-size:8px; }.share-actions { display:flex; gap:9px; margin-top:18px; }.audit-list > div { align-items:center; border-top:1px solid #e8edeb; display:grid; gap:11px; grid-template-columns:10px 1fr auto; padding:12px 0; }.audit-dot { background:#4c9483; border-radius:50%; height:8px; width:8px; }.audit-list strong { font-size:10px; text-transform:capitalize; }.audit-list p,.audit-list time { color:#84918d; font-size:8px; margin:3px 0 0; }

.login-layout { display:grid; grid-template-columns:1.08fr .92fr; min-height:100vh; }.login-story { background:linear-gradient(155deg,rgba(5,52,47,.95),rgba(8,35,33,.98)),radial-gradient(circle at 65% 30%,#356c61,transparent 45%); color:white; display:flex; flex-direction:column; overflow:hidden; padding:42px 7vw; position:relative; }.login-story::after { border:1px solid rgba(255,255,255,.07); border-radius:50%; content:""; height:640px; position:absolute; right:-320px; top:14%; width:640px; }.story-brand { align-items:center; display:flex; gap:10px; font-size:11px; letter-spacing:.12em; }.story-brand img { background:white; border-radius:8px; height:36px; object-fit:contain; padding:3px; width:36px; }.story-copy { margin:auto 0; max-width:580px; position:relative; z-index:1; }.kicker { color:#80c8b7; font-size:10px; font-weight:850; letter-spacing:.17em; }.story-copy h1 { font-size:clamp(40px,5vw,67px); letter-spacing:-.06em; line-height:.98; margin:21px 0; }.story-copy > p { color:#b7cfca; font-size:14px; line-height:1.7; max-width:520px; }.story-points { display:flex; flex-wrap:wrap; gap:18px; margin-top:30px; }.story-points span { color:#d3e3df; font-size:10px; }.story-points span::first-letter { color:#74c0af; }.story-foot { color:#769e96; font-size:8px; }.login-panel { align-items:center; background:#f6f8f7; display:flex; justify-content:center; padding:35px; }.login-card { max-width:390px; width:100%; }.login-card h2 { font-size:27px; letter-spacing:-.045em; margin:0; }.login-card > p.muted { font-size:11px; margin:8px 0 25px; }.login-card > label { margin-top:14px; }.login-card > .primary { margin-top:18px; min-height:47px; }.form-error { background:#fff0ee; border:1px solid #ecc7c2; border-radius:8px; color:#963d34; font-size:10px; margin:12px 0; padding:9px; }.demo-box { background:#eef3f1; border:1px solid #dce5e1; border-radius:10px; margin-top:22px; padding:12px; }.demo-box strong { font-size:9px; }.demo-box p { color:#77847f; font-size:8px; margin:4px 0 9px; }.demo-box div { display:flex; gap:6px; }.demo-box button { background:white; border:1px solid #d2dcd8; border-radius:6px; color:var(--green); cursor:pointer; font-size:8px; font-weight:700; padding:6px 8px; }.client-link { color:var(--green-2); display:block; font-size:10px; font-weight:750; margin-top:20px; text-align:center; text-decoration:none; }.mobile-brand { display:none; }
.loading-screen { align-items:center; display:flex; flex-direction:column; justify-content:center; min-height:100vh; }.loading-mark img { border-radius:14px; height:64px; object-fit:contain; width:64px; }.loading-screen h1 { font-size:23px; margin:17px 0 4px; }.loading-screen p { color:#7a8984; font-size:10px; }.loader { animation:pulse 1s infinite; background:#2c8877; border-radius:20px; display:block; height:4px; margin-top:12px; width:44px; }
.client-gate { align-items:center; background:linear-gradient(160deg,#092e2b,#0b4a45); color:white; display:flex; flex-direction:column; justify-content:center; min-height:100vh; padding:25px; }.client-gate-brand { align-items:center; display:flex; font-size:10px; gap:9px; letter-spacing:.12em; margin-bottom:30px; }.client-gate-brand img { background:white; border-radius:7px; height:34px; object-fit:contain; padding:3px; width:34px; }.client-gate form { background:white; border-radius:16px; color:var(--ink); max-width:410px; padding:32px; text-align:center; width:100%; }.lock-mark { align-items:center; background:#e2efeb; border-radius:50%; color:var(--green); display:flex; font-size:25px; height:54px; justify-content:center; margin:0 auto 16px; width:54px; }.client-gate h1 { font-size:24px; letter-spacing:-.04em; margin:0; }.client-gate form > p:not(.eyebrow) { color:#71807b; font-size:10px; line-height:1.5; }.client-gate label { margin-top:20px; text-align:left; }.client-gate button { margin-top:14px; }.client-gate small { color:#93a09b; display:block; font-size:8px; margin-top:12px; }.client-gate > a { color:#afd0c8; font-size:9px; margin-top:22px; text-decoration:none; }.client-portal > header { align-items:center; background:#0c302d; color:white; display:flex; justify-content:space-between; padding:17px 5vw; }.read-only { background:#174743; border-radius:20px; color:#b9d3cd; font-size:9px; font-weight:700; padding:7px 10px; }.client-portal > main { margin:auto; max-width:1100px; padding:55px 30px; }.client-portal h1 { font-size:35px; letter-spacing:-.05em; margin:0; }.client-subtitle { color:#74837e; font-size:11px; }.client-report-grid { display:grid; gap:14px; grid-template-columns:repeat(2,1fr); margin-top:28px; }.client-report-grid article { align-items:center; background:white; border:1px solid var(--line); border-radius:12px; display:grid; gap:14px; grid-template-columns:45px 1fr auto; padding:17px; }.pdf-mark { align-items:center; background:#f2dfdc; border-radius:8px; color:#9a453c; display:flex; font-size:9px; font-weight:850; height:44px; justify-content:center; width:44px; }.client-report-grid strong { font-size:12px; }.client-report-grid p,.client-report-grid small { color:#788681; font-size:8px; margin:4px 0; }.client-report-grid a { color:var(--green-2); font-size:9px; font-weight:750; text-decoration:none; }.client-note { color:#8a9692; font-size:8px; line-height:1.5; margin-top:28px; }.empty-state { color:#7c8a85; padding:50px 20px; text-align:center; }.empty-state > span { align-items:center; background:#e7efec; border-radius:50%; color:var(--green); display:flex; font-size:23px; height:55px; justify-content:center; margin:auto; width:55px; }.empty-state h3 { color:var(--ink); font-size:15px; margin:14px 0 5px; }.empty-state p { font-size:10px; margin:0; }

img.company-logo { background:white; border:1px solid rgba(255,255,255,.45); border-radius:2px; height:36px; object-fit:contain; padding:0; width:auto; }
.brand img.company-logo { height:30px; max-width:118px; padding:0; width:auto; }
.story-brand img.company-logo { height:42px; padding:0; width:auto; }
.mobile-brand img.company-logo { height:32px; max-width:176px; padding:0; width:auto; }
.loading-mark img.company-logo { height:52px; max-width:286px; padding:0; width:auto; }
.report-brand img.company-logo { height:38px; max-width:210px; padding:0; width:auto; }
.client-gate-brand img.company-logo { height:42px; max-width:230px; padding:0; width:auto; }

/* Geonamics grey + orange production theme */
.login-story { background:linear-gradient(90deg,rgba(35,36,38,.90),rgba(55,56,58,.48)),url('/drilling-site.png') center/cover no-repeat; }
.kicker { color:#ffad5b; }
.story-copy > p,.story-points span { color:#f2f2f2; }
.story-foot { color:#d1d1d1; }
.login-panel { background:#ededed; }
.sync-pill span { background:#ee7f18; box-shadow:0 0 0 3px #ffe7d0; }
.stat-icon.teal,.stat-icon.amber,.stat-icon.blue,.stat-icon.green { background:#f4e2d3; color:#c85e00; }
.bh-monogram,.row-number { background:#ee7f18; color:white; }
.custom-input { border-color:#ee7f18; margin-top:6px; }
.field-test-row { background:#f4f4f4; border-bottom:1px solid #dedede; border-top:1px solid #dedede; display:grid; gap:14px; grid-template-columns:1fr 2fr; padding:14px 15px; }
.add-record-bottom { margin-top:18px; min-height:52px; position:sticky; bottom:76px; z-index:5; }

/* A4 engineering log */
.report-pages { display:flex; flex-direction:column; gap:24px; }
.engineering-log { --report-grid-line:#111; font-family:Aptos,"Segoe UI",Arial,sans-serif; min-height:1120px; padding:24px; }
.engineering-log > header.report-identity-header { align-items:center; background:#fff; border:1px solid #111; color:#111; display:grid; grid-template-columns:34% 31% 35%; min-height:96px; padding:9px 12px; }
.report-identity-header .report-logo-stack { align-items:flex-start; border-right:1px solid #d2d2d2; display:flex; flex-direction:column; gap:5px; justify-content:center; min-width:0; padding-right:20px; }
.report-identity-header .company-logo.report { background:#fff; border:0; border-radius:0; height:50px; max-width:255px; object-fit:contain; object-position:left center; padding:0; width:100%; }
.report-identity-header .report-logo-stack span { color:#444!important; font-size:8.2px!important; font-weight:700; letter-spacing:.02em!important; margin:0 0 0 2px!important; }
.report-company,.report-title { align-items:center; display:flex; flex-direction:column; justify-content:center; min-width:0; padding:6px 18px; text-align:center; }
.report-company { border-right:1px solid #111; }
.report-company strong { color:#111; font-size:13.5px; font-weight:800; letter-spacing:.015em; line-height:1.2; padding:0; white-space:nowrap; }
.report-company span,.report-title span { color:#222; font-size:9.5px; font-style:italic; line-height:1.2; margin-top:6px; white-space:nowrap; }
.report-title h2 { color:#111; font-size:19px; font-weight:800; letter-spacing:.04em; line-height:1.15; margin:0; white-space:nowrap; }
.report-document-ref { align-items:center; display:grid; gap:4px 9px; grid-template-columns:auto auto; margin-left:auto; text-align:right; }
.report-document-ref > span { color:#77857f; font-size:7px; font-weight:800; grid-row:1; letter-spacing:.06em; }
.report-document-ref > strong { font-size:16px; grid-row:1; }
.report-document-ref > small { color:#666; font-size:7px; grid-column:1/-1; }
.engineering-log .project-title { min-height:46px; }
.engineering-log .project-title span,.engineering-log .report-meta dt { font-size:8.7px; }
.engineering-log .project-title strong { font-size:16px; }
.engineering-log .report-meta dl div { min-height:53px; padding:11px 14px; }
.engineering-log .report-meta dd { font-size:10px; margin-top:6px; }
.log-table-head { background:#e8e8e8; border:1px solid var(--report-grid-line); display:grid; font-size:8.8px; font-weight:800; grid-template-columns:7% 7% 23% 12% 15% 21% 5% 10%; margin-top:12px; text-align:center; text-transform:uppercase; }
.log-table-head span { align-items:center; border-right:1px solid var(--report-grid-line); display:flex; justify-content:center; min-height:44px; padding:7px 4px; }
.log-table-head span:last-child { border-right:0; }
.depth-log { border:1px solid var(--report-grid-line); border-top:0; display:grid; grid-template-columns:7% 93%; height:600px; }
.depth-scale { border-right:1px solid var(--report-grid-line); position:relative; }
.depth-scale i { border-top:1px solid #999; color:#222; font-size:8.2px; font-style:normal; left:0; padding-left:3px; position:absolute; right:0; }
.depth-scale i.half { border-color:#ccc; }
.clean-depth-scale { background:#fff; }
.clean-depth-scale i { left:72%; padding:0; right:0; }
.clean-depth-scale i.metre { border-color:var(--report-grid-line); font-size:8.8px; font-weight:700; left:25%; padding-left:2px; }
.clean-depth-scale i.minor-tick { font-size:0; }
.depth-grid { height:100%; position:relative; }
.report-column-lines { bottom:0; left:0; pointer-events:none; position:absolute; right:0; top:0; z-index:6; }
.report-column-lines i { background:#111; bottom:0; position:absolute; top:0; width:1px; }
.report-column-lines i.sub { background:#555; opacity:.6; }
.depth-grid > i { display:none; }
.depth-grid > .lithology-backfill { left:0; margin:0; min-height:0; padding:0; position:absolute; right:auto; width:9.677%; z-index:1; }
.soil-layer-boundary { border-top:1.5px solid #111; height:0; left:0; padding:0!important; pointer-events:none; position:absolute; width:32.258%; z-index:7; }
.depth-entry { display:grid; font-size:9.2px; grid-template-columns:7.527% 24.731% 12.903% 16.129% 27.957% 10.753%; left:0; line-height:1.28; min-height:15px; position:absolute; right:0; }
.depth-entry > span { background:rgba(255,255,255,.94); border-bottom:1px solid var(--report-grid-line); border-right:0; overflow:hidden; padding:3px 4px; }
.depth-entry > .soil-fill,.depth-entry > .description-cell { border-bottom:0; }
.soil-fill { display:inline-block; min-height:14px; width:100%; }
.soil-fill.topsoil { background-color:#fff; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' fill='none' stroke='black' stroke-width='.7'%3E%3Cpath d='M1 7L3 2M5 7L7 2M9 7L11 2'/%3E%3C/svg%3E"); }.soil-fill.fill { background-color:#fff; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9' fill='none' stroke='black' stroke-width='.7'%3E%3Cpath d='M0 0L9 9M9 0L0 9'/%3E%3C/svg%3E"); }.soil-fill.clay { background-color:#fff; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='6' fill='none' stroke='black' stroke-width='.7'%3E%3Cpath d='M0 3H16'/%3E%3C/svg%3E"); }.soil-fill.silt { background-color:#fff; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='8' fill='none' stroke='black' stroke-width='.7'%3E%3Cpath d='M0 2H16'/%3E%3Ccircle cx='4' cy='6' r='.55' fill='black'/%3E%3Ccircle cx='12' cy='6' r='.55' fill='black'/%3E%3C/svg%3E"); }.soil-fill.sand { background-color:#fff; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='none' stroke='black' stroke-width='.7'%3E%3Ccircle cx='2' cy='2' r='.75' fill='black'/%3E%3Ccircle cx='7' cy='4' r='.75' fill='black'/%3E%3Ccircle cx='4' cy='8' r='.75' fill='black'/%3E%3C/svg%3E"); }.soil-fill.gravel { background-color:#fff; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='black' stroke-width='.7'%3E%3Ccircle cx='4' cy='4' r='2.3'/%3E%3Ccircle cx='11' cy='9' r='2.3'/%3E%3Ccircle cx='3' cy='11' r='1.4'/%3E%3C/svg%3E"); }.soil-fill.cobble { background-color:#fff; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='black' stroke-width='.7'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Ccircle cx='18' cy='17' r='5'/%3E%3Ccircle cx='19' cy='5' r='2.8'/%3E%3C/svg%3E"); }.soil-fill.peat { background-color:#fff; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='black' stroke-width='.7'%3E%3Cpath d='M0 2H12M3 2V6M9 2V6'/%3E%3C/svg%3E"); }.soil-fill.rock { background:repeating-linear-gradient(135deg,#777 0 2px,#ddd 2px 7px); }.soil-fill.mixed { background:#e1e1e1; }
.sample-cell b,.description-cell b { display:block; font-size:9.4px; }.sample-cell small,.description-cell small { color:#444; display:block; font-size:7.8px; margin-top:2px; }
.recovery-cell,.blows-cell { text-align:center; }
.blows-cell > span { display:block; }
.spt-n-readout { color:#111; display:block; font-size:9.5px; font-weight:900; margin-top:2px; }
.rock-recovery-cell { display:grid; grid-template-rows:1fr 1fr; padding:0!important; }
.rock-metric-row { align-items:center; display:flex; gap:4px; justify-content:center; min-width:0; padding:3px; }
.rock-metric-row + .rock-metric-row { border-top:0; }
.rock-metric-row b { font-size:8.7px; text-align:left; }
.rock-metric-row strong { font-size:8.7px; font-weight:400; line-height:1.12; text-align:left; white-space:nowrap; }
.depth-grid::after { background:repeating-linear-gradient(90deg,transparent 0 calc(10% - 1px),#bbb calc(10% - 1px) 10%); bottom:0; content:""; pointer-events:none; position:absolute; right:0; top:0; width:10.753%; z-index:1; }
.spt-plot { background:transparent!important; position:relative; }
.spt-graph-layer { bottom:0; pointer-events:none; position:absolute; right:0; top:0; width:10.753%; z-index:4; }
.spt-line-canvas { height:100%; overflow:visible; width:100%; }
.spt-plot-scale { color:#111; display:flex; font-size:7px; font-weight:900; justify-content:space-between; left:3px; position:absolute; right:3px; top:2px; z-index:2; }
.spt-plot-scale b { font-size:6.5px; letter-spacing:.02em; }
.spt-no-data { color:#555; font-size:7px; font-weight:800; left:50%; position:absolute; top:50%; transform:translate(-50%,-50%) rotate(-90deg); white-space:nowrap; }
.spt-graph-value { background:#fff; border:1px solid #111; border-radius:3px; color:#111; font-size:8px; font-weight:900; line-height:14px; min-width:18px; padding:0 2px; position:absolute; text-align:center; transform:translate(-50%,-50%); z-index:3; }
.spt-graph-line { fill:none; stroke:#111; stroke-linecap:round; stroke-linejoin:round; stroke-width:3; vector-effect:non-scaling-stroke; }
.spt-graph-point { fill:#ee7f18; stroke:#111; stroke-width:2.5; vector-effect:non-scaling-stroke; }
.spt-single-point { align-items:center; display:flex; flex-direction:column; position:absolute; transform:translate(-50%,-50%); z-index:5; }
.spt-single-point i { background:#ee7f18; border:2px solid #111; border-radius:50%; box-shadow:0 0 0 2px #fff; display:block; height:10px; width:10px; }
.spt-single-point b { background:#fff; border:1px solid #111; border-radius:3px; color:#111; font-size:8px; line-height:13px; margin-top:2px; min-width:18px; padding:0 2px; text-align:center; }
.depth-entry { z-index:2; }
.depth-entry .spt-plot { background-color:rgba(255,255,255,.72)!important; }
.spt-report-entry { z-index:5; }
.spt-report-entry > span:nth-child(2),.spt-report-entry > span:nth-child(4) { background:transparent!important; border-bottom:0; }
.empty-fill { background:transparent!important; }
.end-borehole-mask { background:#fff; bottom:0; left:0; position:absolute; right:0; z-index:8; }
.end-borehole-mask::before { border-top:1px solid var(--report-grid-line); content:""; left:0; position:absolute; right:0; top:0; }
.end-borehole-mask strong { background:#fff; display:block; font-size:8.5px; letter-spacing:.07em; padding:6px 10px; text-align:center; }
.groundwater-table { border:1px solid var(--report-grid-line); margin-top:8px; }.groundwater-table h3,.report-legends h3 { background:#55585b; color:white; font-size:7.8px; letter-spacing:.06em; margin:0; padding:5px; }.groundwater-table > div { display:grid; font-size:8px; grid-template-columns:1fr .7fr .8fr .8fr 1fr 1.7fr; }.groundwater-table > div span { border-right:1px solid var(--report-grid-line); border-top:1px solid var(--report-grid-line); padding:4px; }.groundwater-table .gw-head { background:#ededed; font-weight:800; }
.report-legends { border:1px solid var(--report-grid-line); display:grid; grid-template-columns:1.2fr 1fr 1.2fr; margin-top:8px; }.report-legends > div { border-right:1px solid var(--report-grid-line); padding:5px; }.report-legends span { align-items:center; display:inline-flex; font-size:7.2px; gap:4px; margin:1px 0; }.report-legends span i { border:1px solid var(--report-grid-line); flex:0 0 18px; height:10px; width:18px; }.report-legends p { font-size:7.2px; line-height:1.18; margin:1px 0; }
.report-legends.enhanced { grid-template-columns:repeat(4,1fr); }
.report-legends-balanced { align-items:stretch; grid-template-columns:repeat(4,minmax(0,1fr)); }
.report-legends-balanced > div { display:flex; flex-direction:column; justify-content:flex-start; min-width:0; padding:5px; }
.report-legends-balanced > div:last-child { border-right:0; }
.report-legends-balanced h3 { margin:-5px -5px 3px; min-height:18px; }
.report-legends-balanced span { margin:1px 0; }
.report-legends-balanced small { font-size:6.5px; line-height:1.18; margin-top:2px; }
.strength-guide table { border-collapse:collapse; font-size:7px; margin:0; width:100%; }
.strength-guide th,.strength-guide td { border-bottom:1px solid #c5c5c5; height:auto; padding:2px 3px; text-align:left; }
.strength-guide th { background:#f0f0f0; font-weight:800; }
.strength-guide td:first-child { font-weight:800; width:38%; }
.density-guide table { border-collapse:collapse; font-size:5px; width:100%; }
.density-guide td { border-bottom:1px solid #ccc; padding:2px; }
.density-guide td:last-child { font-weight:800; text-align:right; }
.density-guide small { display:block; font-size:4.6px; line-height:1.25; margin-top:3px; }
.field-density td:last-child { font-weight:500; text-align:left; }
.measurement-row,.rock-core-row,.vane-result-row { align-items:end; background:#f5f6f5; border:1px solid var(--line); border-radius:10px; display:grid; gap:12px; grid-template-columns:repeat(3,1fr); margin:12px 0; padding:12px; }
.rock-core-row { grid-template-columns:repeat(5,1fr); }
.test-card { background:#fff; border:1px solid var(--line); border-radius:14px; margin-top:16px; padding:16px; }
.test-card > header { align-items:center; display:flex; justify-content:space-between; margin-bottom:12px; }
.test-card > header > div { align-items:center; display:flex; gap:8px; }
.vane-readings { border:1px solid var(--line); border-radius:10px; margin:14px 0; overflow:hidden; }
.vane-readings-head { align-items:center; background:#e9e9e9; display:flex; justify-content:space-between; padding:8px 10px; }
.vane-reading-grid { display:grid; gap:8px; grid-template-columns:repeat(3,1fr); padding:10px; }
.vane-reading-grid > div { align-items:end; display:grid; gap:5px; grid-template-columns:1fr 1fr auto; }
.standpipe-table { margin-top:15px; overflow:auto; }
.standpipe-head,.standpipe-table > div { align-items:end; display:grid; gap:8px; grid-template-columns:1fr 1.4fr 1fr .8fr 1.3fr 1.4fr auto; min-width:900px; }
.standpipe-head { background:#595b5d; color:white; font-size:9px; font-weight:800; padding:9px; text-transform:uppercase; }
.standpipe-table > div:not(.standpipe-head) { border-bottom:1px solid var(--line); padding:9px; }
.operator-create { margin:0 auto; max-width:680px; }
.operator-create-layout { align-items:start; display:grid; gap:18px; grid-template-columns:minmax(320px,.8fr) minmax(420px,1.2fr); }
.operator-bh-register .panel-head { align-items:center; }
.operator-bh-list { display:flex; flex-direction:column; gap:7px; }
.operator-bh-list > div { align-items:center; border:1px solid var(--line); border-radius:9px; display:grid; gap:10px; grid-template-columns:28px 1fr auto; padding:10px; }
.operator-bh-list small { color:var(--muted); display:block; margin-top:3px; }
.bh-index { align-items:center; background:#eee; border-radius:50%; display:flex; font-size:9px; font-weight:800; height:26px; justify-content:center; width:26px; }
.operator-owner-note { background:#fff3e8; border-left:4px solid var(--orange); display:flex; flex-direction:column; gap:3px; padding:12px; }
.operator-owner-note span { color:var(--muted); font-size:10px; }
.client-login-divider { align-items:center; color:#999; display:flex; font-size:9px; gap:10px; margin:14px 0; text-transform:uppercase; }
.client-login-divider::before,.client-login-divider::after { background:var(--line); content:""; flex:1; height:1px; }
.client-access-button { background:#fff; border:1px solid var(--orange); border-radius:8px; color:#b75200; cursor:pointer; font-weight:800; padding:12px; }
.client-link-entry { background:#f6f6f6; border:1px solid var(--line); border-radius:9px; margin-top:10px; padding:12px; }
.client-link-entry p { font-size:10px; margin:0 0 8px; }
.split-add-actions { display:flex; flex-wrap:wrap; gap:8px; }
.record-section { border-top:1px solid var(--line); margin-top:18px; padding-top:18px; }
.record-section-title { align-items:center; display:flex; justify-content:space-between; margin-bottom:10px; }
.record-section-title > div { align-items:center; display:flex; gap:9px; }
.record-section-title h3 { margin:0; }
.record-section-title > strong { align-items:center; background:#eee; border-radius:999px; display:flex; font-size:10px; height:28px; justify-content:center; min-width:28px; padding:0 8px; }
.record-kind { border-radius:5px; color:white; font-size:8px; font-weight:900; letter-spacing:.08em; padding:5px 7px; }
.record-kind.soil { background:#6d736f; }.record-kind.spt { background:var(--orange); }
.interval-help { align-items:center; background:#fff6ec; border:1px solid #f1c99f; border-radius:9px; display:flex; gap:8px; margin:0 0 12px; padding:10px 12px; }
.interval-help strong { color:#934500; font-size:10px; }.interval-help span { color:#6f6257; font-size:10px; }
.interval-card-actions { flex-wrap:wrap; justify-content:flex-end; }
.insert-interval { min-height:32px; white-space:nowrap; }
.spt-section { margin-top:28px; }
.spt-entry-card { border-left:4px solid var(--orange); }
.soil-entry-card { border-left:4px solid #777; }
.embedded-spt { background:#fff7ef; border:1px solid #f0c396; border-radius:10px; margin:14px 15px; padding:0 14px 14px!important; }
.embedded-spt summary { color:#9a4700!important; font-size:11px!important; font-weight:800!important; padding:14px 0 5px!important; }
.embedded-spt > p { color:#6f6257; font-size:9px; margin:0 0 10px; }
.embedded-spt .field-grid { padding:0!important; }
.embedded-spt .spt-strip { background:white; border:1px solid #ead8c8; border-radius:9px; margin:12px 0; }
.sensitivity-result em { color:#b75200; display:block; font-size:9px; font-style:normal; font-weight:800; margin-top:4px; }
.sensitivity-scale { display:grid; gap:7px; grid-template-columns:repeat(4,1fr); margin:10px 0 16px; }
.sensitivity-scale span { background:#f1f1f1; border-radius:7px; font-size:9px; padding:8px; text-align:center; }
.sensitivity-scale b { display:block; }

.login-card-brand { align-items:flex-start; display:flex; flex-direction:column; gap:10px; margin-bottom:34px; }
.login-card-brand img.company-logo { height:43px; max-width:285px; }
.login-card-brand strong { color:#46554f; font-size:10px; font-weight:700; letter-spacing:.03em; }
.login-subtitle { color:var(--green-2); font-size:12px; font-weight:750; margin:7px 0 0; }
.password-field { display:block; position:relative; }
.password-field input { padding-right:48px; }
.password-eye { align-items:center; background:transparent; border:0; color:#65756f; cursor:pointer; display:flex; height:40px; justify-content:center; position:absolute; right:2px; top:7px; width:42px; }
.password-eye span { filter:grayscale(1); font-size:16px; line-height:1; }
.password-eye:not(.visible)::after { background:#65756f; content:""; height:1px; position:absolute; transform:rotate(-42deg); width:19px; }
.password-gate { align-items:center; background:linear-gradient(155deg,#0a3733,#0d2725); display:flex; justify-content:center; min-height:100vh; padding:24px; }
.account-layout { margin:0 auto; max-width:650px; }
.password-card { background:white; border:1px solid var(--line); border-radius:16px; box-shadow:0 22px 60px rgba(18,53,47,.14); max-width:480px; padding:30px; width:100%; }
.password-card-head { align-items:center; display:flex; gap:15px; }
.password-card-head .lock-mark { flex:0 0 auto; margin:0; }
.password-card h1 { font-size:24px; letter-spacing:-.04em; margin:0; }
.password-card > p { color:var(--muted); font-size:10px; line-height:1.55; }
.password-card > label { margin-top:14px; }
.password-card .notice { margin:14px 0; }
.password-rule,.form-hint { color:#7c8a85; display:block; font-size:8px; line-height:1.5; margin:11px 0; }
.admin-work-grid { display:grid; gap:16px; grid-template-columns:1fr 1fr; }
.setup-form > label { margin-top:12px; }
.setup-form > button { margin-top:16px; }
.setup-register { border-top:1px solid #e2e8e5; margin-top:24px; padding-top:15px; }
.setup-register h3,.reset-password h3 { font-size:12px; margin:0 0 10px; }
.setup-register > div:not(.empty-state) { align-items:center; border-top:1px solid #edf1ef; display:grid; font-size:9px; gap:9px; grid-template-columns:.6fr 1.5fr auto; padding:10px 0; }
.setup-register small { color:#7e8b86; }
.reset-password { background:#fff9ed; border:1px solid #ead8af; border-radius:10px; margin:16px 0; max-width:520px; padding:16px; }
.reset-password p { color:#74674a; font-size:9px; }
.reset-password > div { display:flex; gap:8px; margin-top:12px; }
.user-list > div { grid-template-columns:36px 1fr auto auto auto; }
.passcode-manager { align-items:end; display:grid; gap:14px; grid-template-columns:1.4fr 1fr 1fr auto; margin-top:16px; }
.passcode-manager h2 { font-size:18px; margin:0; }
.passcode-manager p:not(.eyebrow) { color:var(--muted); font-size:9px; line-height:1.45; margin:5px 0 0; }

/* Operator field workspace */
.operator-step-tabs { grid-template-columns:repeat(5,1fr); }
.field-tab-stack { display:flex; flex-direction:column; gap:14px; }
.borehole-details-panel { background:#fff; border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.borehole-details-panel > summary { cursor:pointer; font-size:13px; font-weight:800; padding:16px 18px; }
.borehole-details-panel > summary small { color:var(--muted); display:block; font-size:10px; font-weight:500; margin-top:3px; }
.borehole-details-panel .form-panel { border:0; border-top:1px solid var(--line); border-radius:0; box-shadow:none; }
.simple-guide { align-items:center; background:#fff4e8; border:1px solid #f2c89e; border-radius:12px; display:flex; gap:12px; margin-bottom:18px; padding:13px 15px; }
.simple-guide > b { align-items:center; background:var(--orange); border-radius:50%; color:#fff; display:flex; flex:0 0 34px; font-size:16px; height:34px; justify-content:center; }
.simple-guide div { display:flex; flex-direction:column; gap:3px; }
.simple-guide strong { color:#743800; font-size:13px; }
.simple-guide span { color:#756357; font-size:10px; }
.entry-choice-bar { display:flex; flex-wrap:wrap; gap:10px; margin:0 0 18px; }
.entry-choice-bar button { min-height:48px; min-width:230px; }
.bottom-add { border-top:1px solid var(--line); margin:18px 0 0; padding-top:16px; }
.sample-entry-card { border-left:4px solid var(--orange); }
.core-entry-card { border-left:4px solid #4e5553; }
.sample-kind-toggle { background:#eceeec; border-radius:10px; display:grid; gap:5px; grid-template-columns:1fr 1fr; margin:12px 15px; padding:5px; }
.sample-kind-toggle button { background:transparent; border:0; border-radius:7px; color:#68716e; cursor:pointer; font-weight:800; min-height:40px; }
.sample-kind-toggle button.active { background:#fff; box-shadow:0 2px 8px rgba(0,0,0,.1); color:#b55200; }
.blow-inputs label { gap:3px; }
.blow-inputs label span { color:#777; font-size:8px; text-align:center; }
.rock-measure-grid { align-items:end; background:#f4f5f4; border:1px solid var(--line); border-radius:10px; display:grid; gap:10px; grid-template-columns:1fr 1fr 1.5fr; margin:12px 0; padding:12px; }
.rock-measure-grid .calculated:last-child { grid-column:2/4; }
.field-subtabs { background:#e8eae9; border-radius:11px; display:flex; gap:5px; padding:5px; }
.field-subtabs button { background:transparent; border:0; border-radius:8px; cursor:pointer; flex:1; font-weight:800; min-height:42px; padding:8px; }
.field-subtabs button.active { background:#fff; box-shadow:0 2px 8px rgba(0,0,0,.08); color:#b55200; }
.record-totals { display:grid; gap:6px; grid-template-columns:repeat(3,1fr); margin:14px 0; }
.record-totals span { background:#f0f1f0; border-radius:8px; font-size:9px; padding:9px 5px; text-align:center; }
.record-totals b { display:block; font-size:16px; }
.submit-final { margin-top:18px; min-height:50px; }
.autosave-label { background:#e8f3ed; border:1px solid #b8d8c6; border-radius:999px; color:#28714d; font-size:10px; font-weight:800; padding:8px 11px; white-space:nowrap; }
.sample-report-entry { display:grid; font-size:8.7px; grid-template-columns:22.642% 28.302% repeat(6,6.604%) 9.434%; left:32.258%; line-height:1.2; min-height:16px; position:absolute; right:10.753%; z-index:5; }
.sample-report-entry > span { background:transparent; border:0; overflow:hidden; padding:3px 4px; }
.sample-report-entry .sample-cell,.sample-report-entry .recovery-cell { border-right:0; }
.sample-report-entry .blows-cell { color:#000; }
.core-report-entry { z-index:5; }

@media (max-width:1050px) { .sidebar { width:205px; }.main-area { margin-left:205px; padding:24px; }.stat-grid { grid-template-columns:repeat(2,1fr); }.field-grid.three { grid-template-columns:repeat(2,1fr); }.field-grid.compact { grid-template-columns:repeat(3,1fr); }.water-row { grid-template-columns:25px repeat(3,1fr); }.new-user { grid-template-columns:repeat(2,1fr); }.new-user button { align-self:end; }.report-sheet { padding:24px; }.client-report-grid { grid-template-columns:1fr; }.user-list > div { grid-template-columns:36px 1fr auto; }.user-list > div button { grid-column:auto; }.passcode-manager { grid-template-columns:1fr 1fr; } }
@media (max-width:760px) { .sidebar { bottom:0; flex-direction:row; height:66px; left:0; padding:7px 10px; right:0; top:auto; width:auto; }.sidebar > .brand,.sidebar-foot { display:none; }.sidebar nav { display:grid; gap:3px; grid-template-columns:repeat(auto-fit,minmax(0,1fr)); margin:0; width:100%; }.sidebar nav button { align-items:center; flex-direction:column; font-size:8px; gap:2px; justify-content:center; padding:6px; text-align:center; }.sidebar nav button > span { font-size:16px; width:auto; }.sidebar nav button b { position:absolute; }.main-area { margin:0; padding:18px 14px 90px; }.topbar { margin-bottom:20px; }.topbar h1 { font-size:22px; }.topbar .eyebrow { font-size:8px; }.sync-pill { font-size:8px; }.stat-grid { gap:9px; grid-template-columns:repeat(2,1fr); }.stat-grid article { min-height:125px; padding:15px; }.dashboard-grid,.admin-work-grid,.passcode-manager { grid-template-columns:1fr; }.workspace-head { align-items:flex-start; flex-direction:column; }.workspace-actions { flex-wrap:wrap; width:100%; }.operator-step-tabs { overflow-x:auto; padding-bottom:4px; }.operator-step-tabs button { flex:0 0 62px; justify-content:center; min-height:54px; padding:8px 4px; }.step-tabs button span { display:none; }.form-panel { padding:14px; }.field-grid.three,.field-grid.compact { grid-template-columns:1fr 1fr; }.description-field,.span-two { grid-column:1/-1; }.spt-strip { grid-template-columns:1fr; }.blow-inputs { gap:5px; grid-template-columns:repeat(3,1fr); }.blow-inputs input { font-size:16px; min-height:44px; }.water-row { grid-template-columns:25px 1fr 1fr; }.preview-layout,.review-columns { grid-template-columns:1fr; padding:10px; }.checklist,.review-actions { position:static; }.report-sheet { min-height:0; padding:12px; }.report-brand { padding:10px; }.report-brand strong { font-size:10px; }.report-bh { min-width:95px; padding:13px 8px; }.report-meta dl { grid-template-columns:1fr 1fr; }.report-sheet table { display:block; overflow:auto; }.report-sheet th,.report-sheet td { min-width:78px; }.report-sheet th:nth-child(3),.report-sheet td:nth-child(3) { min-width:180px; }.report-sheet footer { grid-template-columns:1fr; }.report-sheet footer > div { border-bottom:1px solid #b9c7c1; border-right:0; }.report-table { overflow:auto; }.table-head,.report-table > button { min-width:720px; }.new-user { grid-template-columns:1fr; }.login-layout { grid-template-columns:1fr; }.login-story { display:none; }.login-panel { min-height:100vh; padding:25px; }.login-card-brand { margin-bottom:30px; }.client-portal > main { padding:35px 16px; }.client-report-grid article { grid-template-columns:42px 1fr; }.client-report-grid article a { grid-column:2; }.admin-tabs { overflow-x:auto; }.password-card { padding:22px; }.entry-choice-bar button { flex:1 1 100%; min-width:0; }.rock-measure-grid { grid-template-columns:1fr 1fr; }.rock-measure-grid .calculated { grid-column:1/-1; }.rock-measure-grid .calculated:last-child { grid-column:1/-1; }.field-subtabs { overflow-x:auto; }.field-subtabs button { flex:0 0 120px; }.simple-guide strong { font-size:12px; } }
@media (max-width:760px) { .measurement-row { grid-template-columns:1fr 1fr 1fr; }.rock-core-row { grid-template-columns:1fr 1fr; }.vane-result-row { grid-template-columns:1fr 1fr; }.vane-reading-grid { grid-template-columns:1fr; }.report-legends.enhanced { grid-template-columns:1fr 1fr; } }
@media (max-width:900px) { .operator-create-layout { grid-template-columns:1fr; }.sensitivity-scale { grid-template-columns:1fr 1fr; } }

@media print { *,*::before,*::after { -webkit-print-color-adjust:exact!important; print-color-adjust:exact!important; }.sidebar,.topbar,.notice,.credential-banner,.workspace-head,.step-tabs,.checklist,.review-actions,.back-button,.print-button,.report-buttons,.admin-tabs { display:none!important; } body,.main-area,.preview-layout,.review-columns { background:white!important; margin:0; padding:0; }.report-pages { display:block; }.report-sheet { border:0; box-shadow:none; break-after:page; margin:0; min-height:297mm; padding:7mm; page-break-after:always; width:210mm; }.report-sheet:last-child { break-after:auto; page-break-after:auto; }.panel { border:0; box-shadow:none; }.watermark { color:rgba(167,61,52,.08)!important; } @page { size:A4 portrait; margin:0; } }

/* Drilling Log */
.drilling-add-bar{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:12px 0}
.drilling-add-bar button{min-height:52px;font-size:1rem}
@media (min-width:900px){.drilling-add-bar{grid-template-columns:repeat(4,1fr)}}
.log-hint{margin:4px 0;color:#5b6168}
.seating-refusal{margin-top:10px;padding:10px;border:2px solid #ee6614;border-radius:10px;background:#fff4ec;display:grid;gap:6px}
.end-remarks-field{display:grid;gap:6px;margin-top:16px;font-weight:600}
.end-remarks-field textarea{min-height:90px}
.end-remarks{margin:10px 0;padding:8px 10px;border:1px solid #888;font-size:.8rem}
.vane-verify{display:grid;gap:8px;margin:10px 0;padding:10px;border:1px dashed #888;border-radius:8px}
.check-line{display:flex;gap:8px;align-items:center}

/* ---- Drilling log v2 (tablet-first) ---- */
.dl, .dl-form, .dl-pick { max-width:880px; margin:0 auto; }
.dl-head { align-items:center; display:flex; gap:16px; justify-content:space-between; margin-bottom:14px; }
.dl-head h2, .dl-pick h2 { font-size:22px; letter-spacing:-.02em; margin:0; }
.dl-head p, .dl-pick > p { color:var(--muted); font-size:14px; margin:4px 0 0; }
.dl-add { font-size:17px; min-height:52px; min-width:120px; }
.dl-empty { background:#fff; border:1px dashed #cfcfcf; border-radius:14px; display:grid; gap:6px; padding:28px; text-align:center; }
.dl-empty span { color:var(--muted); font-size:14px; }
.dl-list { display:grid; gap:10px; }
.dl-row { align-items:center; background:#fff; border:1px solid var(--line); border-radius:14px; cursor:pointer; display:grid; gap:14px; grid-template-columns:150px 64px 1fr auto; min-height:68px; padding:12px 16px; text-align:left; width:100%; }
.dl-row:hover { border-color:var(--green); }
.dl-depth { font-size:15px; font-weight:750; font-variant-numeric:tabular-nums; }
.dl-main { display:grid; gap:2px; min-width:0; }
.dl-main b { font-size:15px; }
.dl-main small { color:var(--muted); font-size:13px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.dl-result { color:var(--green-2); font-size:14px; font-weight:750; text-align:right; white-space:nowrap; }
.dl-badge { border-radius:8px; color:#fff; display:inline-block; font-size:11px; font-weight:800; letter-spacing:.06em; padding:5px 8px; text-align:center; }
.dl-badge.spt { background:#c85e00; } .dl-badge.ud { background:#2f6f8f; } .dl-badge.core { background:#6b4f9a; } .dl-badge.vane { background:#3b7d4f; } .dl-badge.soil { background:#777; }
.dl-end-remarks { margin-top:18px; }
.dl-pick-grid { display:grid; gap:14px; grid-template-columns:repeat(2,1fr); margin:18px 0; }
.dl-pick-card { background:#fff; border:2px solid var(--line); border-radius:16px; cursor:pointer; display:grid; gap:6px; min-height:110px; padding:18px; text-align:left; }
.dl-pick-card strong { font-size:19px; } .dl-pick-card span { color:var(--muted); font-size:14px; }
.dl-pick-card.spt { border-left:8px solid #c85e00; } .dl-pick-card.ud { border-left:8px solid #2f6f8f; } .dl-pick-card.core { border-left:8px solid #6b4f9a; } .dl-pick-card.vane { border-left:8px solid #3b7d4f; }
.dl-pick-card:hover { border-color:var(--green); }
.dl-form { padding-bottom:96px; }
.dl-form-title { align-items:center; display:flex; gap:12px; margin-bottom:12px; }
.dl-form-title h2 { font-size:22px; margin:0; } .dl-form-title small { color:var(--muted); font-size:14px; }
.dl-section { background:#fff; border:1px solid var(--line); border-radius:14px; display:grid; gap:14px; margin-bottom:14px; padding:16px; }
.dl-section h3 { font-size:17px; margin:0; }
.dl-grid { align-items:start; display:grid; gap:14px; }
.dl-grid.two { grid-template-columns:repeat(2,minmax(0,1fr)); }
.dl-blows { display:grid; gap:10px; }
.dl-blow-row { display:grid; gap:14px; grid-template-columns:repeat(2,minmax(0,1fr)); }
.dl-field { display:grid; gap:6px; min-width:0; }
.dl-field > span { color:#555; font-size:13px; font-weight:700; }
.dl-field small { color:var(--muted); font-size:12px; font-weight:500; }
.dl-input-wrap { align-items:center; background:#fff; border:1px solid #c9c9c9; border-radius:12px; display:flex; gap:8px; min-height:52px; padding:0 12px; }
.dl-input-wrap:focus-within { border-color:var(--green); box-shadow:0 0 0 3px rgba(238,127,24,.18); }
.dl-input-wrap input, .dl-input-wrap select { appearance:auto; background:transparent!important; border:0!important; border-radius:0!important; box-shadow:none!important; flex:1; font-size:17px; height:48px; margin:0; min-height:48px; min-width:0; outline:0; padding:0!important; width:100%; }
.dl-input-wrap em { color:var(--muted); font-size:14px; font-style:normal; white-space:nowrap; }
.dl-field.readonly .dl-input-wrap { background:#efefef; }
.dl-swatch { border:1px solid rgba(0,0,0,.25); border-radius:6px; display:inline-block; flex:none; height:24px; width:24px; }
.dl-field textarea { border:1px solid #c9c9c9; border-radius:12px; font-size:17px; line-height:1.4; min-height:92px; padding:12px; resize:vertical; width:100%; }
.dl-field textarea:focus { border-color:var(--green); box-shadow:0 0 0 3px rgba(238,127,24,.18); outline:0; }
.dl-link { background:transparent; border:0; color:var(--green-2); cursor:pointer; font-size:13px; font-weight:750; justify-self:start; padding:6px 0; }
.dl-alert { background:#fff6e8; border:1px solid #e7c58b; border-radius:12px; display:grid; gap:10px; padding:14px; }
.dl-note { color:var(--muted); font-size:13px; margin:0; }
.dl-error { background:#fff0ee; border:1px solid #ecc7c2; border-radius:10px; color:#963d34; font-size:14px; margin:0 0 12px; padding:10px 12px; }
.dl-actionbar { background:rgba(255,255,255,.96); border-top:1px solid var(--line); bottom:0; display:flex; gap:12px; left:0; padding:12px 16px; position:sticky; z-index:5; }
.dl-actionbar button { font-size:17px; min-height:54px; min-width:130px; }
.dl-delete { margin-left:auto; }
@media (max-width:640px) {
  .dl-grid.two, .dl-blow-row, .dl-pick-grid { grid-template-columns:1fr; }
  .dl-row { grid-template-columns:1fr auto; }
  .dl-row .dl-badge { justify-self:start; }
}

.dl-check { align-items:flex-start; background:#f6f6f6; border-radius:12px; display:flex; gap:12px; min-height:56px; padding:14px; }
.dl-check input { flex:none; height:26px; margin:0; width:26px; }
.dl-check span { font-size:15px; font-weight:650; }

.vane-report-entry .vane-su-cell { display:grid; font-size:8px; gap:1px; line-height:1.15; }
.vane-report-entry .vane-su-cell em { color:#a83d34; font-size:7px; }
.bh-project-title { color:var(--ink); }

.log-table-head .spt-head { flex-direction:column; gap:0; padding:0; }
.spt-head > b { align-items:center; display:flex; flex:1; font-size:7.5px; justify-content:center; width:100%; }
.spt-head > em { border-bottom:1px solid var(--report-grid-line); border-top:1px solid var(--report-grid-line); display:grid; font-style:normal; grid-template-columns:repeat(6,1fr); width:100%; }
.spt-head > em i { border-right:1px solid var(--report-grid-line); font-style:normal; padding:2px 0; }
.spt-head > em i:last-child { border-right:0; }
.sample-report-entry .recovery-cell { display:flex; flex-direction:column; align-items:center; }
.sample-report-entry .recovery-cell b { font-size:8.7px; }
.sample-report-entry .recovery-cell small { font-size:7.6px; }
.sample-report-entry .blow-box { align-items:center; display:flex; flex-direction:column; padding:3px 0; text-align:center; }
.sample-report-entry .blow-box b { font-size:9.5px; }
.sample-report-entry .blow-box small { font-size:7px; margin:0; }
.sample-report-entry .n-cell { padding:3px 0; text-align:center; }
.sample-report-entry .n-cell .spt-n-readout { font-size:8.7px; margin:0; }
.vane-report-entry .recovery-cell { grid-column:2 / span 7; }
.core-report-entry .recovery-cell { grid-column:2; }
.core-report-entry .rock-metric-row { padding:2px 3px; }
.core-report-entry .rock-metric-row b, .core-report-entry .rock-metric-row strong { font-size:7.6px; }
.sample-report-entry .rock-recovery-cell { align-items:stretch; display:grid; }
.sample-report-entry .vane-su-cell { align-items:flex-start; }
.sample-report-entry { min-height:36px; }
.sample-report-entry.vane-report-entry { min-height:30px; }

.sample-cell small.depth-one-row { color:#111; font-size:7.8px; margin-top:2px; white-space:nowrap; }

/* Engineering log: one A4 sheet per 10 m, drawn as SVG from lib/report-layout.ts (same instructions as the frozen PDF) */
.report-sheet-svg { background:#fff; border:1px solid #cfd8d4; box-shadow:0 15px 40px rgba(29,53,47,.12); margin:0 auto; max-width:930px; width:100%; }
.report-sheet-svg svg { display:block; height:auto; width:100%; }
@media print {
  .report-sheet-svg { border:0; box-shadow:none; break-after:page; height:297mm; margin:0; max-width:none; overflow:hidden; page-break-after:always; width:210mm; }
  .report-sheet-svg:last-child { break-after:auto; page-break-after:auto; }
  .report-sheet-svg svg { height:297mm; width:210mm; }
}

/* ---- Sign-in page, right-hand card: larger, easier to read ---- */
.login-card { max-width:520px; }
.login-card-brand strong { font-size:14px; }
.login-card .eyebrow { font-size:14px; letter-spacing:.08em; }
.login-card h2 { font-size:34px; letter-spacing:.01em; line-height:1.12; margin:8px 0 6px; text-transform:uppercase; }
.login-card .login-subtitle { font-size:20px; font-weight:800; letter-spacing:.14em; margin:0 0 10px; }
.login-card .muted { font-size:17px; }
.login-card label { font-size:16px; font-weight:700; }
.login-card input { font-size:19px; min-height:54px; }
.login-card button.primary { font-size:19px; font-weight:800; letter-spacing:.1em; min-height:58px; }
.login-card .client-access-button { font-size:17px; min-height:52px; }
.login-card .form-error { font-size:15px; }
.login-story h1 { letter-spacing:.01em; }
/* ---- Admin create-project: project title box shows at least 3 rows ---- */
.project-title-input { font:inherit; line-height:1.4; min-height:84px; resize:vertical; width:100%; }
.login-card p.muted { font-size:17px; margin:6px 0 18px; }
.login-story .story-copy h1 { font-size:clamp(40px,4.6vw,64px); font-weight:800; line-height:1.08; }

/* Operator "My work": boreholes grouped under their project */
.project-groups { display: grid; gap: 16px; }
.project-group { border: 1px solid var(--line, #dfe6e3); border-radius: 12px; overflow: hidden; background: #fff; }
.project-group > header { align-items: center; background: #f1f6f4; display: flex; gap: 12px; justify-content: space-between; padding: 12px 14px; }
.project-group > header strong { display: block; font-size: 14px; line-height: 1.3; }
.project-group > header small { color: #5f6f6a; display: block; font-size: 11px; margin-top: 2px; }
.project-group .borehole-list { padding: 8px; }
/* Admin: delete project */
.setup-register > div .project-delete { margin-top: 8px; }
.delete-confirm { background: #fff0ee; border: 1px solid #ecc7c2; border-radius: 8px; margin-top: 8px; padding: 10px; }
.delete-confirm p { color: #7a2f27; font-size: 12px; line-height: 1.5; margin: 0 0 8px; }
.delete-confirm button { margin-right: 8px; }
.field-hint { color: #6a7772; display: block; font-size: 11px; margin-top: 4px; }
.manage-list { display: grid; gap: 8px; }
.manage-row { align-items: center; border: 1px solid #dfe6e3; border-radius: 10px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; padding: 10px 12px; }
.manage-row > div:first-child { align-items: center; display: flex; gap: 10px; }
.manage-actions { align-items: flex-start; display: flex; flex-wrap: wrap; gap: 8px; }
.pdf-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.dl-clear { margin: 14px 0; }
.client-howto { background: #f1f6f4; border-radius: 8px; font-size: 12px; line-height: 1.6; margin: 10px 0; padding: 10px 12px; }

.topbar-right { align-items:center; display:flex; gap:10px; }
.mobile-signout { display:none; background:#fff; border:1px solid #c9ced1; border-radius:8px; color:#3f4143; cursor:pointer; font-size:12px; font-weight:650; padding:7px 12px; }
@media (max-width:760px) { .mobile-signout { display:inline-block; } }
@media (max-width:760px) {
  .operator-step-tabs { display:flex; gap:0; }
  .operator-step-tabs button { align-items:center; flex:1 0 74px; flex-direction:column; gap:4px; justify-content:flex-start; min-height:62px; padding:8px 3px; text-align:center; }
  .step-tabs.operator-step-tabs button span { display:block; font-size:8.5px; line-height:1.15; text-align:center; word-break:normal; }
  .step-tabs.operator-step-tabs button small { display:none; }
}
