:root{--navy:#0d2e7a;--navy-title:#0b3b85;--ink:#0a1240;--muted:#4a5a86;--line:#e6e9f0;--leaf:#2d8212;--yellow:#fdcc1c;--yellow-line:#fed510;--yellow-soft:#fbf1c8;--selected-cell:#edf2f8;--halo:#1e88e58c;--grey:#a1a4ad;--purple:#9753b7;--blue:#01b2f9;--green:#54a80f;--grey-fg:#6b6e76;--purple-fg:#7d3f9b;--blue-fg:#0277bd;--green-fg:#3d7d0a;--al:#f6bf26;--mc:#d50000;--bg-grey:#f2f2f3;--bg-purple:#f6eefd;--bg-blue:#e7f5fd;--bg-green:#e8f4ec;--bg-yellow:#fff8ea;--bg-red:#fcebef;--radius:14px;--nav-h:64px;--font:-apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html,body,#root{height:100%}body{color:var(--navy);font-family:var(--font);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;background:#fff;margin:0;overflow-x:hidden}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}:focus-visible{outline-offset:2px;border-radius:8px;outline:3px solid #1e88e5}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.app{background:#fff;max-width:560px;min-height:100%;margin:0 auto;position:relative}.screen{padding:0 16px calc(var(--nav-h) + env(safe-area-inset-bottom) + 24px)}.app-header{z-index:20;padding:calc(env(safe-area-inset-top) + 10px) 16px 8px;background:#fff;align-items:center;gap:10px;display:flex;position:sticky;top:0}.brand{flex:1;align-items:center;gap:10px;min-width:0;text-decoration:none;display:flex}.brand img{width:auto;height:46px;display:block}.brand-name{color:var(--navy-title);letter-spacing:-.2px;white-space:nowrap;font-size:27px;font-weight:600;line-height:1.1;position:relative}.brand-name svg{width:62%;height:8px;position:absolute;bottom:-9px;left:38%}.icon-btn{width:44px;height:44px;color:var(--navy);background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:inline-grid;position:relative}.badge{background:var(--yellow);min-width:20px;height:20px;color:var(--ink);border:2px solid #fff;border-radius:10px;place-items:center;padding:0 5px;font-size:12px;font-weight:700;display:grid;position:absolute;top:2px;right:1px}.bottom-nav{z-index:30;border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom);background:#fff;position:fixed;bottom:0;left:0;right:0}.bottom-nav ul{grid-template-columns:repeat(4,1fr);max-width:560px;margin:0 auto;padding:0;list-style:none;display:grid}.bottom-nav a{height:var(--nav-h);color:var(--leaf);flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:15px;font-weight:600;text-decoration:none;display:flex;position:relative}.bottom-nav a svg{color:#111}.bottom-nav a[aria-current=page]:after{content:"";background:var(--yellow-line);border-radius:2px;width:46px;height:4px;position:absolute;bottom:6px}.view-switch{grid-template-columns:repeat(3,1fr);gap:8px;margin:4px 0 6px;display:grid}.view-switch button{height:40px;color:var(--navy);background:0 0;border:0;border-radius:20px;font-size:18px;font-weight:600}.view-switch button[aria-pressed=true]{background:var(--yellow)}.period{justify-content:space-between;align-items:center;margin:0;display:flex}.period h2{color:var(--navy);text-align:center;flex:1;margin:0;font-size:22px;font-weight:700}.period .icon-btn svg{width:28px;height:28px}.today-btn{min-height:24px;color:var(--navy);background:#fff;border:1px solid #c9d0de;border-radius:12px;flex:none;margin-left:auto;padding:0 10px;font-size:13px;font-weight:600;line-height:1}.grid{grid-template-columns:repeat(7,1fr);display:grid}.weekday{text-align:center;color:var(--navy);padding:0 0 2px;font-size:16px;font-weight:500}.cell{background:0 0;border:0;border-radius:12px;flex-direction:column;align-items:center;min-width:44px;min-height:44px;padding:2px 0 0;display:flex;position:relative}.cell.blank{pointer-events:none}.cell.selected{background:var(--selected-cell)}.cell.today:before{content:"";border:2px solid var(--yellow);pointer-events:none;border-radius:12px;position:absolute;inset:0}.date-wrap{place-items:center;width:40px;height:40px;display:grid;position:relative}.date{width:36px;height:36px;color:var(--ink);border-radius:50%;place-items:center;font-size:19px;font-weight:700;display:grid}.date.ev{color:var(--ink)}.date.ev.on-dark{color:#fff}.date.ev.multi{text-shadow:0 0 2px #fff,0 0 3px #ffffffe6}.halo{border:2px solid var(--halo);pointer-events:none;border-radius:50%;position:absolute;inset:0}.dots{flex-wrap:wrap;justify-content:center;gap:2px;max-width:42px;min-height:7px;margin-top:-5px;display:flex;position:relative}.dot{border-radius:50%;width:7px;height:7px}.dot.annual{background:var(--al)}.dot.mc,.dot.urgent{background:var(--mc)}.year-grid{grid-template-columns:repeat(2,1fr);gap:14px 12px;display:grid}@media (width>=520px){.year-grid{grid-template-columns:repeat(3,1fr)}}.mini h3{margin:0 0 4px;font-size:15px;font-weight:700}.mini h3 button{color:var(--navy);background:0 0;border:0;min-height:32px;padding:4px 0;font-weight:700}.mini .weekday{padding:0 0 2px;font-size:9px}.mini .cell{border-radius:6px;min-width:0;min-height:24px;padding:1px 0}.mini .cell.today:before{border-width:1.5px;border-radius:6px}.mini .date-wrap{width:20px;height:20px}.mini .date{width:18px;height:18px;font-size:10px}.mini .halo{border-width:1.5px}.mini .dots{gap:1px;max-width:22px;min-height:3px;margin-top:1px}.mini .dot{width:3px;height:3px}.week .cell{min-height:64px}@media (width<=359px){.app-header .brand img{height:38px}.app-header .brand-name{font-size:22px}.app-header{gap:4px}.cell{min-width:0}.date-wrap{width:36px;height:36px}.date{width:32px;height:32px;font-size:17px}}.details{background:#fff;border-radius:18px;margin-top:6px;padding:12px 12px 10px;box-shadow:0 1px 6px #0d2e7a14}.details-head{align-items:center;gap:12px;margin-bottom:6px;display:flex}.details-head h3{margin:0;font-size:17px;font-weight:700}.details-head>div{flex:1;min-width:0}.details-head .sub{align-items:center;gap:8px;margin-top:1px;display:flex}.details-head p{color:var(--muted);margin:0;font-size:15px}.item{border-radius:12px;align-items:flex-start;gap:12px;margin-top:6px;padding:6px 12px 6px 14px;line-height:1.25;display:flex;position:relative;overflow:hidden}.item:before{content:"";background:var(--accent);width:8px;position:absolute;top:0;bottom:0;left:0}.item.annual{--accent:var(--al);background:var(--bg-yellow)}.item.mc,.item.urgent{--accent:var(--mc);background:var(--bg-red)}.item.grey{--accent:var(--grey);background:var(--bg-grey)}.item.purple{--accent:var(--purple);background:var(--bg-purple)}.item.blue{--accent:var(--blue);background:var(--bg-blue)}.item.green{--accent:var(--green);background:var(--bg-green)}.item .ico{color:var(--navy);flex:none;margin-top:5px;margin-left:6px}.item h4{color:var(--navy);margin:0;font-size:16.5px;font-weight:700}.item p{color:var(--ink);margin:1px 0 0;font-size:14px}.item .meta{align-items:center;gap:6px;display:flex}.item button.edit{margin-left:auto}.empty{text-align:center;color:var(--muted);padding:14px 4px 8px;font-size:15px}.add-btn{justify-content:center;align-items:center;gap:6px;width:100%;margin-top:12px;display:flex}h1.page{margin:6px 0 12px;font-size:26px;font-weight:700}.card{border:1px solid var(--line);border-radius:var(--radius);background:#fff;margin-bottom:14px;padding:14px}.card h2{margin:0 0 10px;font-size:18px;font-weight:700}.field{margin-bottom:12px;display:block}.field>span,.field>label>span{color:var(--navy);margin-bottom:4px;font-size:14px;font-weight:600;display:block}.input,select.input,textarea.input{background:#fff;border:1px solid #c9d0de;border-radius:10px;width:100%;min-height:44px;padding:8px 12px;font-size:16px}select.input{appearance:none;color:var(--navy);background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230d2e7a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center no-repeat;padding-right:34px}.row{gap:10px;display:flex}.row>*{flex:1;min-width:0}.btn{background:var(--navy);color:#fff;border:1px solid #0000;border-radius:12px;min-height:44px;padding:0 16px;font-size:16px;font-weight:600}.btn.secondary{color:var(--navy);background:#fff;border-color:#c9d0de}.btn.yellow{background:var(--yellow-soft);color:#1e6b0e;border-color:#f0d35a}.btn.danger{color:#b00020;background:#fff;border-color:#e7b7bf}.btn:disabled{opacity:.55;cursor:not-allowed}.btn.small{border-radius:10px;min-height:36px;padding:0 12px;font-size:14px}.seg{grid-auto-columns:1fr;grid-auto-flow:column;gap:6px;display:grid}.seg button{min-height:44px;color:var(--navy);background:#fff;border:1px solid #c9d0de;border-radius:10px;padding:0 6px;font-size:15px;font-weight:600}.seg button[aria-pressed=true]{background:var(--yellow);border-color:var(--yellow)}.hint{color:var(--muted);margin:4px 0 0;font-size:13px}.error{color:#b00020;margin:8px 0 0;font-size:14px}.ok{color:#1e6b0e;margin:8px 0 0;font-size:14px}.list-row{border-top:1px solid var(--line);align-items:center;gap:10px;padding:10px 0;display:flex}.list-row:first-of-type{border-top:0}.list-row .grow{flex:1;min-width:0}.list-row strong{font-size:16px;display:block}.list-row small{color:var(--muted);overflow-wrap:anywhere;font-size:13px;display:block}.chip{background:var(--bg-grey);color:#333;white-space:nowrap;border-radius:10px;padding:3px 8px;font-size:12px;font-weight:700;display:inline-block}.chip.pending,.chip.cancel_requested{color:#7a5200;background:#fff4d1}.chip.approved,.chip.published{color:#1b5e20;background:#e3f3e6}.chip.rejected{color:#9b0018;background:#fde4e7}.chip.cancelled,.chip.withdrawn{background:var(--bg-grey);color:#444}.chips{flex-wrap:wrap;gap:4px;margin-top:2px;display:flex}.chip.locked{color:var(--navy);background:#e8ecf4;align-items:center;gap:3px;display:inline-flex}.chip.corrected{color:#444;background:#eef0f3}.corr-item+.corr-item .list-row{border-top:1px solid var(--line)}.correction{border:1px solid var(--line);background:#fafbfd;border-radius:12px;margin:0 0 12px;padding:12px}.correction textarea.input{resize:vertical;min-height:80px}.correction .history{border-top:1px solid var(--line);margin-top:12px;padding-top:8px}.correction .history strong{margin-bottom:4px;font-size:14px;display:block}.correction .history small{color:var(--muted);overflow-wrap:anywhere;margin-bottom:4px;font-size:13px;display:block}.switch{flex:none;width:50px;height:30px;position:relative}.switch input{opacity:0;cursor:pointer;z-index:1;margin:0;position:absolute;inset:0}.switch span{background:#c9d0de;border-radius:15px;transition:background .15s;position:absolute;inset:0}.switch span:after{content:"";background:#fff;border-radius:50%;width:24px;height:24px;transition:transform .15s;position:absolute;top:3px;left:3px}.switch input:checked+span{background:var(--leaf)}.switch input:checked+span:after{transform:translate(20px)}.switch input:focus-visible+span{outline-offset:2px;outline:3px solid #1e88e5}.profile-menu{position:relative}.dropdown{z-index:40;border:1px solid var(--line);background:#fff;border-radius:16px;width:240px;padding:6px;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 8px 24px #0d2e7a29}.dropdown-head{border-bottom:1px solid var(--line);margin-bottom:4px;padding:10px 12px 12px}.dropdown-head strong{color:var(--navy);overflow-wrap:anywhere;margin-bottom:4px;font-size:17px;display:block}.dropdown [role=menuitem]{width:100%;min-height:48px;color:var(--navy);text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:12px;padding:0 12px;font-size:16px;font-weight:600;text-decoration:none;display:flex}.dropdown [role=menuitem]:hover,.dropdown [role=menuitem]:focus-visible{background:var(--selected-cell)}.dropdown [role=menuitem].danger{color:#b00020}.menu-group{letter-spacing:.4px;text-transform:uppercase;color:var(--muted);margin:18px 4px 8px;font-size:14px;font-weight:700}.menu-list{border:1px solid var(--line);border-radius:var(--radius);background:#fff;margin:0;padding:0;list-style:none;overflow:hidden}.menu-list li+li{border-top:1px solid var(--line)}.menu-row{min-height:60px;color:var(--navy);align-items:center;gap:12px;padding:8px 12px;text-decoration:none;display:flex}.menu-row:active{background:var(--selected-cell)}.menu-row strong{font-size:16px;display:block}.menu-row small{color:var(--muted);font-size:13px;display:block}.menu-row .grow{flex:1;min-width:0}.menu-ico{background:var(--selected-cell);width:38px;height:38px;color:var(--navy);border-radius:10px;flex:none;place-items:center;display:grid}.chev{color:var(--muted);flex:none}.sub-head{align-items:center;gap:2px;margin-left:-10px;display:flex}.sub-head h1.page{margin:6px 0 12px}.kv{margin:0}.kv>div{border-top:1px solid var(--line);gap:12px;padding:9px 0;font-size:15px;display:flex}.kv>div:first-child{border-top:0}.kv dt{color:var(--muted);flex:0 0 40%}.kv dd{color:var(--ink);overflow-wrap:anywhere;flex:1;margin:0}.legend{margin:0;padding:0;list-style:none}.legend li{color:var(--ink);align-items:center;gap:10px;padding:6px 0;font-size:15px;display:flex}.swatch{flex:none;width:18px;height:18px;display:inline-block}.swatch.ring{border:2px solid var(--halo);border-radius:50%}.profile-card{align-items:center;gap:14px;display:flex}.avatar{background:var(--yellow-soft);width:56px;height:56px;color:var(--navy);border-radius:50%;flex:none;place-items:center;font-size:20px;font-weight:700;display:grid}.profile-name{margin-bottom:4px;font-size:18px;display:block}.link-btn{justify-content:center;align-items:center;gap:6px;width:100%;text-decoration:none;display:flex}.sheet-backdrop{z-index:50;background:#0a124059;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{width:100%;max-width:560px;max-height:92vh;padding:16px 16px calc(16px + env(safe-area-inset-bottom));background:#fff;border-radius:20px 20px 0 0;overflow-y:auto}.sheet-head{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.sheet-head h2{margin:0;font-size:21px}.notif-header{padding:calc(env(safe-area-inset-top) + 10px) 12px 10px;border-bottom:3px solid var(--yellow-line);z-index:20;background:#fff;align-items:center;gap:6px;display:flex;position:sticky;top:0}.notif-header h1{color:var(--navy-title);flex:1;margin:0;font-size:25px;font-weight:700}.notif{background:var(--bg);text-align:left;border:0;border-radius:16px;gap:12px;width:100%;margin-top:12px;padding:12px 10px 12px 12px;display:flex}.notif.grey{--bg:var(--bg-grey);--fg:var(--grey-fg)}.notif.purple{--bg:var(--bg-purple);--fg:var(--purple-fg)}.notif.blue{--bg:var(--bg-blue);--fg:var(--blue-fg)}.notif.green{--bg:var(--bg-green);--fg:var(--green-fg)}.notif.yellow{--bg:var(--bg-yellow);--fg:#c79100}.notif.red{--bg:var(--bg-red);--fg:var(--mc)}.notif .nico{width:46px;height:46px;color:var(--fg);background:#fff9;border-radius:14px;flex:none;place-items:center;display:grid}.notif .nbody{flex:1;min-width:0}.notif .ntop{align-items:baseline;gap:8px;display:flex}.notif .ntitle{color:var(--navy);flex:1;margin:0;font-size:17px;font-weight:700;display:block}.notif .when{color:var(--navy);white-space:nowrap;font-size:13px}.notif .ntext{color:var(--ink);margin:4px 0 0;font-size:15px;display:block}.notif .nmeta{color:var(--ink);align-items:center;gap:8px;margin-top:4px;font-size:15px;display:flex}.notif .unread-dot{background:#e00000;border-radius:50%;flex:none;width:12px;height:12px;margin:8px 0 0 auto}.notif.read{opacity:.88}.urgent-tag{letter-spacing:.4px;color:#fff;background:var(--mc);vertical-align:2px;border-radius:6px;margin-right:6px;padding:2px 6px;font-size:11px;font-weight:800;display:inline-block}.signin{min-height:100%;padding:32px 22px calc(32px + env(safe-area-inset-bottom));flex-direction:column;justify-content:center;max-width:440px;margin:0 auto;display:flex}.signin .brand{flex:none;justify-content:center;margin-bottom:26px}.signin .brand img{height:64px}.signin .brand-name{font-size:32px}.demo-box{color:var(--muted);border:1px dashed #c9d0de;border-radius:12px;margin-top:22px;padding:10px 12px;font-size:13px}.demo-box button{color:var(--navy);background:0 0;border:0;min-height:32px;padding:4px 6px 4px 0;font-size:13px;text-decoration:underline}.banner{background:var(--bg-yellow);color:#5c4400;border:1px solid #f0d35a;border-radius:12px;margin-bottom:14px;padding:10px 12px;font-size:14px}.center-msg{text-align:center;color:var(--muted);padding:60px 20px}
