.cr{--paper:#f5f3e9;--ink:#172923;--panel:#fffdf5;--muted:#53635b;--rule:#bac3af;--accent:#efaa57;--late:#9a3412;color:var(--ink);background:var(--paper);overflow-wrap:anywhere;min-height:92dvh;font:16px/1.45 system-ui,sans-serif}.cr *{box-sizing:border-box}.cr button,.cr input{font:inherit;color:inherit}.cr button{cursor:pointer;min-height:44px}.cr button:disabled{opacity:.45;cursor:default}.cr button:focus-visible,.cr input:focus-visible,.cr summary:focus-visible{outline-offset:3px;outline:3px solid #487eb8}.cr-mast{color:#fff7dc;background:#182e25;border-bottom:4px solid #d6974e;align-items:center;gap:12px;padding:15px max(5%,50% - 420px);display:flex}.cr-mast strong{white-space:nowrap;letter-spacing:-.03em;font-size:1.13rem}.cr-mark{color:#192a21;background:#eeab5f;border-radius:7px;place-items:center;width:33px;height:33px;font-size:25px;display:grid}.cr-mast-edge{background:repeating-linear-gradient(110deg,#0000 0 6px,#5a6e60 6px 10px);width:42px;height:11px;margin-left:auto}.cr-tabs{background:var(--panel);border-bottom:1px solid var(--rule);justify-content:center;display:flex}.cr-tabs button{color:var(--muted);background:0 0;border:0;border-bottom:3px solid #0000;padding:10px 17px;font-weight:650}.cr-tabs [aria-current]{border-color:var(--ink);color:var(--ink)}.cr-tabs span{background:var(--ink);color:var(--paper);border-radius:4px;margin-left:6px;padding:2px 5px;font-size:.73rem}.cr-main,.cr-back{max-width:840px;margin-inline:auto}.cr-main{padding:clamp(20px,4vw,40px) max(16px,3%) 34px}.cr-back{text-align:left;background:0 0;border:none;width:100%;padding:12px max(16px,3%) 2px;display:block;color:var(--muted)!important}.cr h1,.cr h2,.cr h3,.cr p{margin:0}.cr h1,.cr h2{letter-spacing:-.055em;line-height:1.05}.cr h1{font-size:clamp(2.3rem,7vw,3.7rem);font-weight:720}.cr h2{font-size:1.35rem}.cr-kicker,.cr-code,.cr-quiet,.cr-case small,.cr-meter span,.cr-linehead small,.cr-totals,.cr-samples small{font-family:ui-monospace,Consolas,monospace}.cr .cr-kicker{letter-spacing:.12em;color:var(--muted);margin-bottom:6px;font-size:.68rem;font-weight:750}.cr-title{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px;display:flex}.cr-title h1{flex:auto;min-width:0}.cr h1{overflow-wrap:break-word}.cr-primary,.cr-outline,.cr-light,.cr-actions>button,.cr-link,.cr-back{border-radius:6px;font-weight:650}.cr .cr-primary{color:#fff9e7;background:#203c2f;border:1px solid #203c2f;padding:10px 15px}.cr-outline,.cr-actions>button{background:var(--panel);border:1px solid var(--rule);padding:9px 12px}.cr-light{background:#f1b561;border:0;padding:9px 14px;color:#1a2f23!important}.cr-light span{margin-left:12px}.cr-hero{color:#fff7db;background-color:#243e32;background-image:linear-gradient(#aecaa410 1px,#0000 1px),linear-gradient(90deg,#aecaa410 1px,#0000 1px);background-size:20px 20px;border-radius:12px;grid-template-columns:1.05fr 1fr;align-items:center;gap:1rem;padding:clamp(20px,5vw,42px);display:grid;position:relative;overflow:hidden}.cr-hero h2{font-size:clamp(2rem,5vw,3.5rem)}.cr-hero p{color:#e4e7d4;max-width:34ch;margin:12px 0 17px;font-size:.93rem}.case-drawing{color:#233729;width:100%}.case-drawing.small{max-width:150px}.cr-samples{margin-top:27px}.cr-samples>div{grid-template-columns:repeat(auto-fit,minmax(min(100%,6rem),1fr));gap:8px;margin-top:13px;display:grid}.cr-samples button{text-align:start;border:1px solid var(--rule);background:var(--panel);border-radius:8px;justify-items:start;gap:5px;padding:13px;display:grid}.cr-samples button>b{font-size:1.35rem}.cr-samples button span{font-weight:730}.cr-samples small,.cr-case small,.cr-quiet{color:var(--muted);font-size:.78rem}.cr-list{gap:9px;display:grid}.cr-case{text-align:left;border:1px solid var(--rule);background:var(--panel);border-left:4px solid #64826d;border-radius:6px;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;width:100%;padding:14px;display:grid}.cr-case strong,.cr-case small,.cr-linehead strong,.cr-linehead small{display:block}.cr-case strong{font-size:1.1rem}.cr-code,.cr-stamp{border:1px solid var(--rule);border-radius:4px;place-items:center;min-width:42px;height:42px;font-weight:800;display:grid}.cr-case small{margin-top:4px}.cr label{gap:5px;font-size:.88rem;font-weight:680;display:grid}.cr input:not([type=checkbox]){border:1px solid var(--rule);background:var(--panel);border-radius:5px;width:100%;min-height:44px;padding:9px}.cr form>label,.cr form>h2{margin-top:22px}.cr-editrows{gap:8px;margin:12px 0;display:grid}.cr-editrows>div{grid-template-columns:minmax(0,1fr) 64px 40px;align-items:end;gap:8px;display:grid}.cr-editrows button{border:1px solid var(--rule);background:var(--panel);border-radius:5px;font-size:1.1rem}.cr-actions{flex-wrap:wrap;align-items:center;gap:12px;margin-top:20px;display:flex}.cr-link{text-underline-offset:3px;background:0 0;border:0;padding:6px;text-decoration:underline;color:var(--muted)!important}.cr-slip,.cr-ledger{background:var(--panel);border:1px solid var(--rule);border-radius:8px}.cr-slip>div,.cr-outcome{border-bottom:1px solid var(--rule);justify-content:space-between;align-items:center;gap:10px;padding:12px;display:flex}.cr-slip>div:last-child,.cr-outcome:last-child{border:0}.cr-empty{text-align:center;border:1px dashed var(--rule);color:var(--muted);border-radius:8px;margin:14px 0;padding:25px}.cr-empty h2{color:var(--ink)}.cr-empty p{margin:8px 0}.cr .cr-check{background:var(--panel);border:1px solid var(--rule);border-radius:5px;align-items:center;gap:10px;margin:9px 0;padding:13px;display:flex}.cr-check input{accent-color:#306b4d;flex:none;width:20px;height:20px}.cr .cr-quiet{margin-top:5px}.cr-meter{color:#fff3cf;background:#243e32;border-radius:7px;grid-template-columns:auto 1fr;align-items:center;gap:8px 12px;margin:20px 0 12px;padding:18px;display:grid}.cr-meter strong{font-size:2.8rem;line-height:1}.cr-meter progress{accent-color:#e9a34e;grid-column:1/-1;width:100%;height:9px}.cr-totals{flex-wrap:wrap;gap:5px 13px;margin:12px 0;font-size:.79rem;display:flex}.cr-ledger>article{border-bottom:1px solid var(--rule);padding:14px}.cr-ledger>article:last-child{border:0}.cr-linehead{justify-content:space-between;align-items:center;gap:12px;display:flex}.cr-linehead small{color:var(--muted);font-size:.72rem}.cr-linehead strong{font-size:1.1rem}.cr-counter{border:1px solid var(--rule);border-radius:4px;align-items:center;display:flex;overflow:hidden}.cr-counter button{background:var(--paper);border:0;min-width:38px;font-size:1.2rem}.cr-counter output{text-align:center;font-variant-numeric:tabular-nums;min-width:27px}.cr-ledger summary{cursor:pointer;color:var(--muted);padding:12px 0}.cr-ledger article>.cr-outline{margin-top:10px}.cr-alert{color:#442a13;background:#ffe0b3;border-left:3px solid #986013;padding:12px;margin-bottom:15px!important}.cr-dialog{background:var(--panel);border-radius:9px;max-width:400px;padding:24px}.cr-dialog h2{line-height:1.3}@media (width<=480px){.cr-hero{grid-template-columns:minmax(0,1fr) 35%;gap:0}.cr-hero .case-drawing{width:140%;margin-left:-16%}.cr-samples button{padding:10px}.cr-samples small{font-size:.68rem}.cr-samples button span{font-size:.9rem}.cr-primary{font-size:.92rem!important}.cr-main{padding-inline:16px}}@media (prefers-color-scheme:dark){.cr{--paper:#17201b;--ink:#f1f0dd;--panel:#202c25;--muted:#b1c1b2;--rule:#46584a;--late:#ffb08a;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.cr .cr-primary{color:#1f2a20;background:#d3a361;border-color:#d3a361}.cr-tabs [aria-current]{border-color:#e3ac64}.cr-meter,.cr-hero{border:1px solid #5f7863}}.cr-dialog{color:var(--ink);border:1px solid var(--rule);width:min(90vw,400px)}.cr-dialog::backdrop{background:#0d201ab0}.cr-sr{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.cr-tabs{flex-wrap:wrap}.cr-editrows>div{grid-template-columns:minmax(0,1fr) minmax(64px,4.8em) 40px}.cr-main h1:focus{outline:none}@media (width<=480px){.cr-hero .case-drawing{width:100%;margin:0}.cr-hero{column-gap:8px}.cr-tabs button{padding-inline:11px}.cr-tabs span{margin-left:4px}}.cr-case-group{margin-top:20px}.cr-case-group h2{overflow-wrap:anywhere;margin-bottom:8px}.cr-template-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.cr-template-dialog{max-height:calc(100dvh - 2rem);overflow:auto}.cr-template-dialog h3{margin-top:14px}.cr-template-dialog ul{margin:12px 0;padding:0;list-style:none}.cr-template-dialog li{border-bottom:1px solid var(--rule);justify-content:space-between;gap:12px;padding:6px 0;display:flex}.cr-template-dialog li span{white-space:nowrap}.cr-template-dialog p[role=alert]{margin-top:10px}.cr-followups{background:var(--panel);border:1px solid var(--rule);border-left:4px solid #c7832f;border-radius:6px;margin:6px 0 24px;padding:16px}.cr-followups h2:focus{outline:none}.cr-followups ul{margin:10px 0 0;padding:0;list-style:none}.cr-followups li{border-top:1px solid var(--rule);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;padding:10px 0;display:flex}.cr-followups li strong,.cr-followups li small{display:block}.cr-followups li small{color:var(--muted);margin-top:2px;font-family:ui-monospace,Consolas,monospace;font-size:.78rem}.cr .cr-subhead{margin-bottom:10px}.cr-followup-line{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-top:8px;display:flex}.cr-followup-line>span:first-child{font-size:.85rem;font-weight:650}.cr-confirm-details p{font-weight:650;margin-top:12px!important}.cr-confirm-details ul{max-height:min(40dvh,260px);margin:8px 0 0;padding:0 0 0 18px;overflow:auto}.cr-confirm-details li{padding:3px 0}.cr-confirm-details ul:focus-visible{outline-offset:2px;outline:3px solid #487eb8}.cr-group-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;margin-bottom:8px;display:flex}.cr-case-group .cr-group-head h2{flex:12rem;margin-bottom:0}.cr textarea{font:inherit;color:inherit;resize:vertical;border:1px solid var(--rule);background:var(--panel);border-radius:5px;width:100%;min-height:96px;padding:9px;font-weight:400}.cr textarea:focus-visible{outline-offset:3px;outline:3px solid #487eb8}.cr-note-form{gap:10px;display:grid}.cr-note-form .cr-actions{margin-top:6px}.cr .cr-note{white-space:pre-line;border-left:3px solid var(--rule);background:var(--paper);margin-top:6px;padding:6px 9px;font-size:.88rem}.cr .cr-note small{color:var(--muted);font-family:ui-monospace,Consolas,monospace;font-size:.72rem;display:inline}.cr-followup-actions{flex-wrap:wrap;gap:8px;display:flex}.cr .cr-undo-bar{background:var(--panel);border:1px solid var(--rule);border-left:4px solid #64826d;border-radius:6px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;margin:12px 0;padding:10px 12px;font-weight:650;display:flex}.cr-inuse{background:var(--panel);border:1px solid var(--rule);border-left:4px solid #487eb8;border-radius:6px;margin:0 0 18px;padding:14px 16px}.cr-inuse h2{font-size:1.1rem}.cr-inuse ul{margin:8px 0 0;padding:0;list-style:none}.cr-inuse li{border-top:1px solid var(--rule);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;padding:8px 0;display:flex}.cr-inuse li strong,.cr-inuse li small{display:block}.cr-inuse li small{color:var(--muted);margin-top:2px;font-family:ui-monospace,Consolas,monospace;font-size:.78rem}.cr .cr-case .cr-inuse-tag{color:var(--ink);font-weight:650}.cr-backup{margin-top:27px}.cr-backup .cr-actions{margin-top:12px}.cr .cr-confirm-note{margin-top:12px;font-size:.92rem}.cr .cr-due{background:var(--panel);border:1px solid var(--rule);border-left:4px solid #487eb8;border-radius:6px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;margin-top:12px;padding:10px 12px;font-weight:650;display:flex}.cr .cr-due-late{border-left-color:var(--late)}.cr .cr-overdue,.cr .cr-case .cr-overdue{color:var(--late);font-weight:700}.cr-tabs .cr-tab-overdue{color:#fff8ee;background:#a3401b}@media (prefers-color-scheme:dark){.cr-tabs .cr-tab-overdue{background:var(--late);color:#2a1208}}.cr-search{margin:0 0 14px}.cr form>.cr-search{margin-top:12px}.cr .cr-search label{margin-bottom:5px;display:block}.cr-search>div{align-items:stretch;gap:8px;display:flex}.cr-search input{flex:1;min-width:0}.cr-search .cr-outline{flex:none}.cr .cr-matched,.cr-check>span>small{color:var(--muted);margin:3px 0 0;font-family:ui-monospace,Consolas,monospace;font-size:.78rem;font-weight:400;display:block}.cr-check>span,.cr-slip>div>span{min-width:0}.cr-slip>div>b{white-space:nowrap;flex:none}.cr .cr-loss{color:var(--late);margin-top:3px;font-family:ui-monospace,Consolas,monospace;font-size:.78rem;font-weight:650;display:block}.cr-ledger .cr-loss{margin-top:6px}.cr .cr-trip-title{margin-bottom:0}.cr-linehead{flex-wrap:wrap}.cr-linehead>span{flex:7em;min-width:0}.cr-linehead>b{white-space:nowrap}.cr .cr-primary,.cr .cr-outline,.cr .cr-light{font-weight:650}.cr input{font-weight:400}.cr-print-manifest{display:none}@media print{@page cr-outing-manifest{margin:15mm}body.cr-printed-outing{color:#111;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#fff;margin:0}body.cr-printed-outing>:not(.cr-print-manifest){display:none!important}.cr-print-manifest{page:cr-outing-manifest;overflow-wrap:anywhere;font:10pt/1.38 system-ui,sans-serif;display:block}.cr-print-manifest header,.cr-print-manifest dl{break-inside:avoid}.cr-print-manifest header{margin-bottom:12pt}.cr-print-manifest header p{margin:4pt 0}.cr-print-label{font-weight:700}.cr-print-manifest h1{margin:0;font-size:21pt;line-height:1.14}.cr-print-manifest dl{border-block:1pt solid #111;flex-wrap:wrap;gap:4pt 15pt;margin:0 0 14pt;padding:6pt 0;display:flex}.cr-print-manifest dt{font-size:9pt}.cr-print-manifest dd{margin:0;font-size:12pt;font-weight:700}.cr-print-manifest table{table-layout:fixed;border-collapse:collapse;width:100%;margin-bottom:12pt}.cr-print-manifest thead{break-inside:avoid;display:table-header-group}.cr-print-manifest tr{break-inside:avoid}.cr-print-manifest th,.cr-print-manifest td{vertical-align:top;border-bottom:.5pt solid #777;padding:3pt}.cr-print-manifest th{text-align:left}.cr-print-manifest thead tr:last-child th,.cr-print-manifest td{text-align:right}.cr-print-manifest thead tr:last-child th{font-size:8pt}.cr-print-manifest thead tr:last-child th:first-child{text-align:left}.cr-print-manifest .cr-print-case{border-block:1pt solid #111;padding-top:6pt}.cr-print-manifest .cr-print-item{width:33%}.cr-print-manifest .cr-print-packing .cr-print-item{width:62%}.cr-print-manifest tbody th{font-weight:400}}:root{font-synthesis:none;font-family:system-ui,sans-serif}*{box-sizing:border-box}body{min-width:260px;margin:0}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}.kap-footer,.kap-dialog,.kap-fallback{color:#28332e;background:#f6f6f2;font:15px/1.5 system-ui,sans-serif}.kap-footer{padding:12px max(16px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom));border-top:1px solid #a3ada355;flex-direction:column;justify-content:center;align-items:center;display:flex}.kap-about{text-underline-offset:3px;color:inherit;min-height:44px;font:inherit;background:0 0;border:0;padding:10px;text-decoration:underline}.kap-inline{width:100%;max-width:420px;padding:4px 0 12px}.kap-age{margin-top:10px}.kap-age label{align-items:center;gap:12px;display:flex}.kap-age input{width:70px;min-height:40px;padding:7px}.kap-age p,.kap-dialog p{margin:9px 0}.kap-age>div{gap:8px;display:flex}.kap-dialog button,.kap-age button,.kap-fallback button{min-height:44px;font:inherit;color:inherit;background:0 0;border:1px solid #9da79f;border-radius:6px;padding:8px 14px}.kap-dialog{border:0;border-radius:12px;width:min(92vw,460px);max-height:85dvh;padding:20px 22px;overflow:auto}.kap-dialog::backdrop{background:#10241bc0}.kap-dialog header{justify-content:space-between;align-items:center;gap:12px;display:flex}.kap-dialog h2,.kap-dialog h3{margin:4px 0}.kap-dialog section,.kap-dialog details{border-top:1px solid #a2a99e;padding-block:12px}.kap-dialog summary{cursor:pointer;padding:8px 0}.kap-fallback{padding:30px}.kap-dialog a{color:#22604b}.kap-version{font-size:.83rem}.kap-dialog button:focus-visible,.kap-about:focus-visible{outline:3px solid #4682a3}@media (prefers-color-scheme:dark){.kap-footer,.kap-dialog,.kap-fallback{color:#f0f2eb;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#202723}.kap-dialog a{color:#a2d6be}}@media print{.kap-footer,.kap-dialog{display:none!important}}.kap-recovery{color:#322415;background:#ffeed2;border-bottom:2px solid #9c713a;padding:18px max(16px,5%);font:16px/1.5 system-ui,sans-serif}.kap-recovery h2,.kap-recovery p{margin:0 0 8px}.kap-recovery button{font:inherit;color:#322415;background:#fff9eb;border:1px solid #8a7256;border-radius:5px;min-height:44px;margin:3px 8px 3px 0;padding:8px 12px}.kap-recovery{border:1px solid #9c713a;border-radius:9px;width:min(92vw,490px);max-height:85dvh;overflow:auto}.kap-recovery::backdrop{background:#17251abf}.kap-app-link{margin-block:12px}.kap-app-link-actions{flex-wrap:wrap;gap:8px;display:flex}.kap-app-link-status:not(:empty),.kap-app-link-manual{margin-block-start:6px}.kap-app-link-manual input{width:100%;min-height:44px;font:inherit;border:1px solid #87998f;border-radius:6px;padding:6px 8px;display:block}.kap-app-link-manual input:focus-visible{outline-offset:2px;outline:3px solid #4682a3}
