:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#1d2636;background:#f5f6f8;font-synthesis:none;--blue:#2764e7;--muted:#737e91;--line:#e8ebf0;--safe:env(safe-area-inset-bottom,0px)}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default;opacity:.48}button:focus-visible,a:focus-visible{outline:3px solid #9fc0ff;outline-offset:3px}button{border:0}button,a,input{touch-action:manipulation}svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}[hidden]{display:none!important}.app{max-width:560px;margin:0 auto;min-height:100dvh;padding-bottom:calc(164px + var(--safe))}.header{display:flex;align-items:center;justify-content:space-between;padding:26px 22px 20px;background:#fff;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px}.brand-mark{display:grid;place-items:center;width:40px;height:42px;background:#eef3ff;color:var(--blue);border-radius:12px;font-size:24px;font-weight:750}.brand strong{display:block;font-size:19px;line-height:1.4}.eyebrow{display:block;color:var(--muted);font-size:10px;letter-spacing:1.4px;font-weight:700}.icon-button{width:40px;height:40px;display:grid;place-items:center;background:transparent;border-radius:12px;color:var(--muted);font-size:27px}.icon-button:hover{background:#f0f3f8}.mode-banner{padding:10px 20px;background:#fff5df;color:#8c6317;font-size:11px;text-align:center;border-bottom:1px solid #f3e7cd}main{padding:25px 20px}h1{margin:0;font-size:29px;line-height:1.2;letter-spacing:-.8px}h2{font-size:21px;line-height:1.35;letter-spacing:-.4px;margin:12px 0}p{line-height:1.55}.muted{color:var(--muted);font-size:13px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.date-chip{border:1px solid #dee4ed;padding:7px 10px;border-radius:8px;color:#657187;font-size:11px;white-space:nowrap}.intro{margin:8px 0 23px;color:var(--muted);font-size:13px}.stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:23px 0}.stat{background:#fff;border:1px solid var(--line);padding:18px;border-radius:15px}.stat strong{font-size:27px;display:block;letter-spacing:-.7px}.stat span{display:block;color:var(--muted);font-size:12px;margin-top:6px}.section-label{margin:26px 0 12px;display:flex;justify-content:space-between;align-items:center;font-size:11px;letter-spacing:1px;font-weight:700;color:var(--muted)}.empty{text-align:center;padding:44px 18px;background:white;border:1px solid var(--line);border-radius:18px}.empty-icon{width:62px;height:62px;border-radius:18px;display:grid;place-items:center;color:var(--blue);background:#f0f4ff;margin:0 auto 22px}.empty-icon svg{width:29px;height:29px}.empty h2{font-size:19px}.empty p{color:var(--muted);font-size:13px;max-width:270px;margin:10px auto 25px}.primary{background:var(--blue);color:white;font-weight:600;font-size:14px;padding:15px 19px;border-radius:12px;min-height:49px;transition:background .15s}.primary:hover{background:#1754d7}.wide{width:100%}.secondary{background:#fff;color:#344056;border:1px solid #dfe4ec;padding:13px 15px;border-radius:11px;font-size:13px;min-height:44px}.text-button{background:transparent;color:var(--blue);padding:8px 0;font-size:12px;font-weight:600}.danger{color:#b44444}.card{background:#fff;border:1px solid var(--line);border-radius:14px;margin:10px 0;padding:16px}.card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.card-title{font-size:14px;font-weight:600;line-height:1.45}.card-meta{font-size:11px;color:var(--muted);margin-top:7px}.volume{text-align:right;white-space:nowrap;font-size:21px;font-weight:650;letter-spacing:-.5px}.volume small{font-size:11px;font-weight:400;color:var(--muted);margin-left:3px}.card-actions{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:10px}.card details{margin-top:10px;font-size:11px;color:var(--muted);line-height:1.5}.card details summary{cursor:pointer}.card details p{margin:8px 0 0}.search{position:relative;margin:20px 0 13px}.search input{width:100%;background:#fff;border:1px solid #dfe4ec;border-radius:12px;padding:14px 14px 14px 42px;font-size:14px;outline:none;min-height:48px}.search input:focus{border-color:var(--blue);box-shadow:0 0 0 3px #2764e711}.search svg{position:absolute;top:14px;left:14px;width:20px;color:#8a95a6}.filters{display:flex;gap:7px;overflow-x:auto;padding-bottom:8px;scrollbar-width:none}.filter{white-space:nowrap;padding:9px 12px;border-radius:9px;background:#eaeef4;color:#67758a;font-size:11px;min-height:36px}.filter.active{color:white;background:#26384f}.mode-switch{display:flex;background:#e9edf3;padding:4px;border-radius:11px;gap:3px;margin-top:20px}.mode-switch button{flex:1;padding:10px 8px;border-radius:8px;color:#738094;font-size:12px;background:transparent}.mode-switch button.active{background:white;color:#253650;box-shadow:0 2px 4px #14284509}.list-caption{font-size:11px;color:var(--muted);margin:17px 0 10px}.add-circle{background:#edf3ff;color:var(--blue);border-radius:9px;min-width:35px;height:35px;display:grid;place-items:center;font-size:23px}.catalog-card{cursor:pointer}.catalog-card:hover{border-color:#aabfe9}.catalog-card .card-top{align-items:center}.remaining-figures{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;margin:16px 0 8px}.remaining-figures strong{color:#344056}.progress{width:100%;height:4px;display:block;border:0;appearance:none;background:#ecf0f5;border-radius:4px}.progress::-webkit-progress-bar{background:#ecf0f5;border-radius:4px}.progress::-webkit-progress-value{background:#749bea;border-radius:4px}.progress::-moz-progress-bar{background:#749bea}.warning{border:1px solid #f1d9a5;background:#fff8e8;color:#886318;padding:13px 14px;border-radius:11px;font-size:12px;line-height:1.55;margin:13px 0}.note{color:var(--muted);font-size:11px;line-height:1.6}.pending{background:#eef3ff;color:#32589c;border:1px solid #dae5ff;padding:16px;border-radius:13px;font-size:13px;line-height:1.6}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:560px;background:#fffffffa;border-top:1px solid var(--line);display:flex;z-index:20;padding:8px 14px calc(9px + var(--safe));backdrop-filter:blur(12px)}.nav-item{flex:1;display:flex;flex-direction:column;align-items:center;gap:5px;padding:6px;background:transparent;color:#8b95a6;font-size:10px}.nav-item.active{color:var(--blue)}.nav-item svg{width:23px;height:23px}.draft-bar{position:fixed;bottom:calc(76px + var(--safe));left:50%;transform:translateX(-50%);width:calc(100% - 40px);max-width:520px;z-index:18;padding:10px 0;background:linear-gradient(transparent,#f5f6f8 25%)}.draft-bar button{box-shadow:0 6px 18px #2764e729}.back{display:flex;align-items:center;gap:6px;margin:-4px 0 19px;background:transparent;color:#6d7990;font-size:12px;padding:4px 0}.back svg{width:17px}.review-summary{background:#edf3ff;border-radius:13px;padding:16px;font-size:13px;line-height:1.6;margin:20px 0}.review-summary strong{color:#2556b8}.review-actions{display:grid;gap:10px;margin:23px 0}.unresolved{border-color:#edce9b}.warning-inline{color:#9e711e;font-size:12px;margin-top:10px;line-height:1.5}.pick-buttons{display:grid;gap:6px;margin-top:12px}.pick-buttons button{text-align:left}.loading{text-align:center;color:var(--muted);padding:80px 0;font-size:14px}.error-box{text-align:center;padding:50px 15px}.error-box h2{font-size:20px}.error-box p{font-size:13px;color:var(--muted)}dialog{border:0;padding:0;width:100%;max-width:520px;border-radius:22px 22px 0 0;position:fixed;top:auto;bottom:0;margin:0 auto;max-height:90dvh;overflow:auto;color:inherit;background:white}dialog::backdrop{background:#13223d65;backdrop-filter:blur(3px)}dialog form{padding:10px 24px calc(26px + var(--safe))}.sheet-handle{width:35px;height:4px;border-radius:4px;background:#dae0e9;margin:0 auto 11px}.sheet-head{display:flex;align-items:center;justify-content:space-between}.field-label{display:block;font-size:12px;color:#536178;font-weight:600;margin:26px 0 9px}.quantity-field{display:flex;align-items:center;border:1.5px solid #dbe2ef;border-radius:12px;padding-right:18px}.quantity-field:focus-within{border-color:var(--blue)}.quantity-field input{border:0;background:transparent;padding:15px 17px;width:100%;min-width:0;font-size:29px;font-weight:600;outline:none;color:inherit}.quantity-field span{color:var(--muted);font-size:15px}.hint{font-size:12px;color:var(--muted);margin:12px 0 25px;line-height:1.6}#toast{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(151px + var(--safe));background:#25364f;color:#fff;padding:13px 18px;border-radius:12px;z-index:100;width:max-content;max-width:calc(100% - 36px);font-size:12px;line-height:1.6;box-shadow:0 5px 20px #18263c25}.saved-link{display:block;color:var(--blue);text-align:center;font-size:13px;margin:18px 0;text-decoration:none}.success{background:#eef7f1;border:1px solid #d2e9d9;color:#32704b;padding:14px;border-radius:12px;font-size:13px;line-height:1.6}.compact-count{font-size:11px;color:var(--muted)}@media(min-width:700px){.app{margin-top:25px;min-height:calc(100dvh - 25px);border:1px solid var(--line);border-bottom:0;border-radius:20px 20px 0 0;overflow:hidden}.header{padding-top:23px}dialog{bottom:25px;border-radius:20px}main{padding:28px 24px}.bottom-nav{border-left:1px solid var(--line);border-right:1px solid var(--line)}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

@media(max-width:360px){.page-heading{flex-wrap:wrap}h1{font-size:26px}}
