:root{--ink: #16323a;--teal: #1f6f78;--brass: #c9973f;--brass-dark: #8a6420;--paper: #f5f0e6;--terracotta: #b5532f;--muted: #4a5559;--line: #e3e0d8;--line-strong: #d6d1c4;--teal-soft: #e3ecec;--brass-soft: #f3e6cc;--terracotta-soft: #f6e1d8;--white: #fff;--radius: 18px;--nav-h: 68px;font-family:Manrope,system-ui,-apple-system,Segoe UI,sans-serif;color:var(--ink);background:var(--paper);-webkit-text-size-adjust:100%}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0;background:var(--paper)}a{color:var(--teal)}button,input,select,textarea{font:inherit;color:inherit}h1,h2,h3{margin:0;letter-spacing:-.02em}h1{font-size:30px;font-weight:800}h2{font-size:17px;font-weight:800}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.shell{min-height:100vh}.main{max-width:760px;margin:0 auto;padding:24px 20px calc(var(--nav-h) + 96px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:14px}.nav{position:fixed;left:0;right:0;bottom:0;z-index:10;height:calc(var(--nav-h) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:var(--white);border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.nav a{position:relative;text-decoration:none;color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:11px;font-weight:600}.nav a.active{color:var(--teal);font-weight:800}.nav .brand{display:none}.nav .badge{position:absolute;top:8px;left:50%;margin-left:6px;min-width:18px;height:18px;padding:0 5px;border-radius:99px;background:var(--terracotta);color:var(--white);font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center}@media(min-width:960px){.shell{display:grid;grid-template-columns:232px 1fr}.nav{position:sticky;top:0;height:100vh;padding:20px 12px;border-top:0;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:4px}.nav .brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:20px;padding:4px 12px 20px;color:var(--ink);text-decoration:none}.nav a{flex-direction:row;justify-content:flex-start;gap:12px;font-size:15px;padding:12px;border-radius:12px}.nav a.active{background:var(--teal-soft)}.nav .badge{position:static;margin-left:auto}.main{padding:40px 32px 64px}.fab{right:max(32px,calc(50% - 264px));bottom:32px}}.card{background:var(--white);border-radius:var(--radius);padding:16px;display:flex;flex-direction:column;gap:10px}a.card{text-decoration:none;color:var(--ink)}a.card:hover{box-shadow:0 2px 12px #16323a14}.row{display:flex;align-items:center;gap:10px}.between{display:flex;align-items:center;justify-content:space-between;gap:10px}.wrap{flex-wrap:wrap}.stack{display:flex;flex-direction:column;gap:10px}.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.muted{color:var(--muted)}.small{font-size:13px}.strong{font-weight:800}.title{font-size:17px;font-weight:800}.big{font-size:26px;font-weight:800}.danger{color:var(--terracotta)}.ok{color:var(--teal)}.search{display:flex;align-items:center;gap:10px;background:var(--white);border-radius:14px;padding:0 14px;height:48px}.search input{border:0;outline:none;font-size:16px;flex-grow:1;background:transparent;min-width:0}.chips{display:flex;gap:8px;flex-wrap:wrap}.chip{font-size:14px;font-weight:600;border:1px solid var(--line-strong);border-radius:99px;padding:0 14px;height:36px;background:var(--white);cursor:pointer;white-space:nowrap}.chip.on{background:var(--ink);color:var(--white);border-color:var(--ink);font-weight:800}.tag{font-size:14px;padding:6px 10px;border-radius:10px;background:var(--paper)}.pill{font-size:12px;font-weight:700;padding:4px 10px;border-radius:99px;white-space:nowrap}.pill.teal{background:var(--teal-soft);color:var(--ink)}.pill.brass{background:var(--brass-soft);color:#5c4214}.pill.ink{background:var(--ink);color:var(--white)}.pill.terracotta{background:var(--terracotta-soft);color:#7a3018}.pill.grey{background:#ecebe7;color:var(--muted)}.progress{flex-grow:1;height:6px;border-radius:99px;background:var(--teal-soft);overflow:hidden}.progress>div{height:100%;background:var(--teal);border-radius:99px}.btn{height:48px;padding:0 20px;border-radius:14px;border:0;cursor:pointer;background:var(--teal);color:var(--white);font-size:16px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}.btn:disabled{opacity:.55;cursor:default}.btn.secondary{background:var(--white);color:var(--teal);border:1.5px solid var(--teal)}.btn.ghost{background:transparent;color:var(--teal);padding:0 8px;height:36px;font-size:14px;font-weight:700}.btn.danger{background:var(--white);color:var(--terracotta);border:1.5px solid var(--terracotta)}.btn.block{width:100%}.link{background:none;border:0;padding:0;color:var(--teal);font-weight:700;font-size:14px;cursor:pointer;text-decoration:none}.fab{position:fixed;right:20px;bottom:calc(var(--nav-h) + 20px + env(safe-area-inset-bottom));z-index:9;height:56px;padding:0 22px;border-radius:99px;background:var(--teal);color:var(--white);font-size:16px;font-weight:800;display:flex;align-items:center;gap:8px;text-decoration:none;box-shadow:0 6px 20px #16323a40;border:0;cursor:pointer}.back{display:inline-flex;align-items:center;gap:4px;color:var(--ink);text-decoration:none;font-weight:700;font-size:15px;margin-left:-6px;width:fit-content}.field{display:flex;flex-direction:column;gap:6px}.field>span{font-size:14px;font-weight:700}.field .hint{font-size:13px;color:var(--muted);font-weight:400}.input,.field input:not([type=checkbox]):not([type=radio]),.field select,.field textarea{width:100%;min-height:48px;padding:10px 14px;border-radius:12px;border:1px solid var(--line-strong);background:var(--white);font-size:16px;outline:none}.field textarea{min-height:88px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus,.input:focus{border-color:var(--teal);box-shadow:0 0 0 3px var(--teal-soft)}.check{display:flex;align-items:center;gap:10px;font-size:15px;min-height:40px;cursor:pointer}.check input{width:20px;height:20px;accent-color:var(--teal)}.seg{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:6px;background:var(--white);border-radius:14px;padding:4px}.seg button{height:40px;border:0;border-radius:10px;background:transparent;font-weight:700;font-size:14px;cursor:pointer}.seg button.on{background:var(--ink);color:var(--white)}.error{background:var(--terracotta-soft);color:#7a3018;padding:10px 14px;border-radius:12px;font-size:14px}.empty{text-align:center;color:var(--muted);padding:32px 16px}.stepper{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.stepper .bar{height:6px;border-radius:99px;background:var(--teal-soft)}.stepper .bar.done{background:var(--teal)}.stepper .bar.now{background:var(--brass)}.stepper button{background:none;border:0;padding:4px 0;font-size:11px;color:var(--muted);cursor:pointer}.stepper button.now{color:var(--ink);font-weight:800}.feed{display:flex;flex-direction:column;gap:10px}.feed>div{display:flex;gap:10px;font-size:14px}.feed time{color:var(--muted);width:58px;flex-shrink:0}.doc-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--line)}.doc-row:first-child{border-top:0}.dot{width:10px;height:10px;border-radius:99px;flex-shrink:0}.dot.accepted{background:var(--teal)}.dot.missing{background:var(--line-strong)}.dot.expiring{background:var(--brass)}.dot.expired{background:var(--terracotta)}.sheet-bg{position:fixed;inset:0;background:#16323a59;z-index:20;display:flex;align-items:flex-end;justify-content:center}.sheet{background:var(--paper);width:100%;max-width:560px;max-height:92vh;overflow:auto;border-radius:22px 22px 0 0;padding:20px 20px calc(20px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:14px}@media(min-width:960px){.sheet-bg{align-items:center}.sheet{border-radius:22px}}.login{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px}.login form{width:100%;max-width:380px}.logo{display:flex;align-items:center;gap:12px;font-size:26px;font-weight:800}.thumb{width:56px;height:56px;border-radius:12px;background:var(--teal-soft);display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;color:var(--teal);font-weight:800;font-size:12px}.thumb img{width:100%;height:100%;object-fit:cover}.toast{position:fixed;left:50%;transform:translate(-50%);top:calc(16px + env(safe-area-inset-top));max-width:calc(100% - 32px);text-align:center;background:var(--ink);color:var(--white);padding:12px 18px;border-radius:14px;font-weight:700;z-index:30}
