:root{--lads: #485E88;--mgmt: #4F4B6A;--dark: #33415F;--bg: #F2F3F6;--card: #FFFFFF;--text: #1E2433;--muted: #5B6273;--line: #D9DCE4;--field: #C4C9D4;--amber-fill: #FFF4D6;--amber: #E0A100;--amber-text: #3D2B00;--amber-sub: #5C4300;--green: #2F7D5B;--green-fill: #E1F0E8;--green-text: #1F5A40;--red: #C0392B;--accent: var(--lads);--safe-b: env(safe-area-inset-bottom, 0px)}.mgmt{--accent: var(--mgmt)}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;background:var(--bg);color:var(--text);font-family:IBM Plex Sans,system-ui,sans-serif;font-size:16px}body{min-height:100vh;min-height:100dvh}button,input,textarea,select{font-family:inherit;color:inherit}a{color:var(--dark)}button{cursor:pointer}button:disabled{opacity:.55;cursor:default}.screen{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;max-width:560px;margin:0 auto;background:var(--bg)}.content{padding:20px;display:flex;flex-direction:column;gap:18px;flex-grow:1;padding-bottom:calc(110px + var(--safe-b))}.h-display{margin:0;font-family:Archivo,sans-serif;font-stretch:112%;font-weight:800;text-transform:uppercase;letter-spacing:.01em}.h-sub{margin:0;font-size:14px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.muted{color:var(--muted)}.small{font-size:14px}.center{text-align:center}.logobar{background:#fff;padding:16px 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:6px solid var(--accent);position:sticky;top:0;z-index:5}.logobar img{width:190px;height:auto;display:block}.avatar{width:44px;height:44px;border-radius:22px;background:var(--mgmt);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:16px;border:0}.iconbtn{width:44px;height:44px;border-radius:22px;border:0;background:var(--bg);color:var(--dark);display:flex;align-items:center;justify-content:center;position:relative}.dot{position:absolute;top:6px;right:7px;width:10px;height:10px;border-radius:5px;background:var(--red);border:2px solid var(--bg)}.titlebar{background:var(--accent);color:#fff;padding:16px 12px 16px 8px;display:flex;align-items:center;gap:6px;position:sticky;top:0;z-index:5}.titlebar h1{margin:0;font-family:Archivo,sans-serif;font-stretch:112%;font-weight:800;font-size:22px;text-transform:uppercase;letter-spacing:.02em}.titlebar .sub{font-size:14px;opacity:.9}.back{width:44px;height:44px;display:flex;align-items:center;justify-content:center;color:#fff;background:none;border:0;flex-shrink:0}.field{display:flex;flex-direction:column;gap:8px}.field>label,.label{font-size:16px;font-weight:600}.hint{font-size:14px;color:var(--muted)}.input,.select,.textarea{width:100%;border:2px solid var(--field);border-radius:10px;background:#fff;font-size:18px;color:var(--text)}.input,.select{height:56px;padding:0 16px}.select{appearance:none;-webkit-appearance:none;padding-right:44px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235B6273' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center}.textarea{padding:14px 16px 64px;font-size:17px;line-height:1.45;resize:none;min-height:140px}.input:focus,.select:focus,.textarea:focus{outline:none;border-color:var(--accent)}.btn{height:60px;border:0;border-radius:12px;background:var(--accent);color:#fff;font-family:Archivo,sans-serif;font-stretch:112%;font-weight:800;font-size:19px;letter-spacing:.04em;text-transform:uppercase;display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:0 16px}.btn.big{height:64px;font-size:20px}.btn.green{background:var(--green)}.btn2{min-height:52px;border-radius:10px;border:2px solid var(--field);background:#fff;color:var(--dark);font-size:16px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 14px;text-decoration:none}.btn2.accent{border-color:var(--accent)}.btn2.fill{background:var(--accent);border-color:var(--accent);color:#fff}.btn2.danger{border-color:#e3b8b3;color:#8e2a1f}.row2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tile-main{text-decoration:none;min-height:76px;border-radius:12px;background:var(--accent);color:#fff;display:flex;align-items:center;gap:16px;padding:0 20px;font-family:Archivo,sans-serif;font-stretch:112%;font-weight:800;font-size:20px;text-transform:uppercase;letter-spacing:.03em;border:0}.tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tile{text-decoration:none;color:var(--text);background:#fff;border:2px solid var(--line);border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:12px;min-height:112px;font-weight:600;font-size:17px;line-height:1.25}.card{background:#fff;border-radius:12px;border:2px solid var(--line);padding:16px;display:flex;flex-direction:column;gap:10px}.card.accent{border-color:var(--accent)}.list{background:#fff;border-radius:12px;border:2px solid var(--line);display:flex;flex-direction:column;overflow:hidden}.list>*{padding:14px 16px;display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #E4E6EC;min-height:44px;text-decoration:none;color:inherit;background:none;border-left:0;border-right:0;border-top:0;text-align:left;font-size:16px;width:100%}.list>*:last-child{border-bottom:0}.stack{display:flex;flex-direction:column;gap:2px}.b{font-weight:600}.amber{background:var(--amber-fill);border:2px solid var(--amber);border-radius:12px;padding:16px;display:flex;align-items:center;gap:14px}.amber .t{font-weight:600;font-size:17px;color:var(--amber-text)}.amber .s{font-size:14px;color:var(--amber-sub)}.done-box{background:var(--green-fill);border:2px solid var(--green);border-radius:12px;padding:16px;display:flex;align-items:center;gap:14px;color:var(--green-text);font-weight:600}.info{background:#e9edf5;border-radius:12px;padding:14px 16px;display:flex;gap:12px;align-items:flex-start;font-size:15px;line-height:1.45;color:#2a3247}.error{background:#fbe9e7;border:2px solid #E3B8B3;color:#8e2a1f;border-radius:12px;padding:12px 14px;font-size:15px}.pill{font-size:13px;font-weight:600;padding:4px 10px;border-radius:12px;background:#e6e8ee;color:#3a4152;white-space:nowrap}.pill.green{background:var(--green-fill);color:var(--green-text)}.pill.amber{background:#ffe7a8;color:#5c4300;display:inline;border:0;padding:4px 10px}.pill.high{background:#ffe7a8;color:#5c4300}.pill.urgent{background:#f6d2cd;color:#8e2a1f}.pill.new{background:var(--accent);color:#fff}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{height:44px;padding:0 16px;border-radius:22px;border:2px solid var(--field);background:#fff;color:var(--text);font-size:15px;font-weight:500;display:flex;align-items:center;gap:6px}.chip.on{border-color:var(--accent);background:var(--accent);color:#fff;font-weight:600}.chip.dashed{border-style:dashed;border-color:#8a90a0;background:transparent;color:var(--dark);font-weight:600}.seg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));background:#dde0e8;border-radius:12px;padding:4px}.seg.three{grid-template-columns:repeat(3,minmax(0,1fr))}.seg button{height:48px;border:0;border-radius:9px;background:transparent;color:#4a5163;font-size:16px;font-weight:500}.seg button.on{background:#fff;color:var(--text);font-weight:600}.photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.photo{aspect-ratio:1;border-radius:8px;background:#b9c0ce center / cover no-repeat;position:relative;overflow:hidden;border:0;padding:0}.photo img{width:100%;height:100%;object-fit:cover;display:block}.photo .x{position:absolute;top:4px;right:4px;width:32px;height:32px;border-radius:16px;background:#1e2433bf;color:#fff;border:0;display:flex;align-items:center;justify-content:center}.photo.add{border:2px dashed #8A90A0;background:#fff;color:var(--dark);display:flex;align-items:center;justify-content:center}.dropzone{height:120px;border-radius:10px;border:2px dashed #8A90A0;background:#f7f8fa;color:var(--dark);font-size:16px;font-weight:600;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:100%}.speakwrap{position:relative}.speak{position:absolute;right:10px;bottom:12px;height:44px;padding:0 14px;border-radius:22px;border:0;background:var(--mgmt);color:#fff;display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600}.speak.rec{background:var(--red)}.speak.busy{background:#8a90a0}.pending-audio{font-size:14px;color:var(--amber-sub);background:var(--amber-fill);border-radius:8px;padding:8px 10px}.progress{height:10px;border-radius:5px;background:#ffffff47;overflow:hidden}.progress>div{height:10px;background:#fff;border-radius:5px}.bar{height:8px;border-radius:4px;background:#e4e6ec;overflow:hidden}.bar>div{height:8px;background:var(--lads)}.nav{position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:8px 4px calc(10px + var(--safe-b));z-index:10;max-width:560px;margin:0 auto}.nav a{text-decoration:none;color:var(--muted);display:flex;flex-direction:column;align-items:center;gap:4px;font-size:13px;font-weight:500;padding:6px 0}.nav a.on{color:var(--accent);font-weight:600}.toast{position:fixed;left:16px;right:16px;bottom:calc(96px + var(--safe-b));background:var(--text);color:#fff;border-radius:12px;padding:14px 16px;font-size:15px;z-index:20;max-width:528px;margin:0 auto;box-shadow:0 6px 24px #0003}.sheet-bg{position:fixed;inset:0;background:#1e243373;z-index:30;display:flex;align-items:flex-end;justify-content:center}.sheet{background:var(--bg);width:100%;max-width:560px;max-height:88vh;overflow:auto;border-radius:16px 16px 0 0;padding:20px 20px calc(24px + var(--safe-b));display:flex;flex-direction:column;gap:14px}.mono{font-family:IBM Plex Mono,ui-monospace,monospace;font-size:19px;letter-spacing:.03em}.spinner{width:22px;height:22px;border:3px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}.spinner.dark{border-color:#33415f40;border-top-color:var(--dark)}@keyframes spin{to{transform:rotate(360deg)}}.hide{display:none!important}
