:root{color-scheme:light;--bg: #f2ede2;--surface: #fbf8f1;--ink: #22201a;--ink-muted: #6b6355;--line: #ddd4c1;--accent: #0047b4}*,*:before,*:after{box-sizing:border-box}html,body{margin:0;background:#f2ede2;color:#22201a;font-family:Public Sans,-apple-system,BlinkMacSystemFont,sans-serif;font-size:15px;line-height:1.45;-webkit-text-size-adjust:100%}button,input,select,textarea{font:inherit;color:inherit}input,select,textarea{font-size:16px}@media(min-width:768px){input,select,textarea{font-size:15px}}a{color:#0047b4}:focus-visible{outline:3px solid #0047b4;outline-offset:2px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.mono{font-family:IBM Plex Mono,ui-monospace,monospace}.muted{color:#6b6355}.small{font-size:13px}.shell{min-height:100dvh;display:flex;flex-direction:column}@media(min-width:768px){.shell{flex-direction:row}}.shell-main{flex:1;min-width:0;padding:16px 16px calc(96px + env(safe-area-inset-bottom))}@media(min-width:768px){.shell-main{padding:32px 40px 48px}}.sidebar{display:none}@media(min-width:768px){.sidebar{display:flex;flex-direction:column;gap:24px;flex:0 0 232px;position:sticky;top:0;height:100dvh;background:#22201a;color:#f2ede2;padding:24px 16px}}.brand{display:flex;align-items:center;gap:10px;padding:0 8px}.brand-mark{width:32px;height:32px;border-radius:10px;background:#b9e63c;display:grid;place-items:center}.brand-name{font-family:Fredoka,-apple-system,BlinkMacSystemFont,sans-serif;font-weight:600;font-size:17px;line-height:1.1}.brand-sub{font-size:12px;color:#c9c0ad}.side-nav{display:flex;flex-direction:column;gap:4px}.side-nav a{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 12px;border-radius:10px;color:#f2ede2;text-decoration:none}.side-nav a.active{background:#b9e63c;color:#22201a;font-weight:600}.count-badge{margin-left:auto;font-family:IBM Plex Mono,ui-monospace,monospace;font-size:12px;border-radius:20px;padding:1px 8px;background:#b9e63c;color:#22201a}.active .count-badge{background:#22201a;color:#b9e63c}.side-foot{margin-top:auto;border-top:1px solid #4a463c;padding:16px 8px 0;font-size:12px;color:#c9c0ad;overflow-wrap:anywhere}.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:20;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;background:#22201a;padding:8px 8px calc(8px + env(safe-area-inset-bottom))}@media(min-width:768px){.tabbar{display:none}}.tabbar a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:52px;border-radius:12px;color:#f2ede2;text-decoration:none;font-size:12px}.tabbar a.active{background:#b9e63c;color:#22201a;font-weight:600}.tabbar .count-badge{position:absolute;top:4px;right:calc(50% - 26px);margin:0;padding:0 6px;font-size:11px}.review-banner{background:#a1271c;color:#fff;padding:8px 16px;font-weight:600;text-align:center}.page-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:16px}.page-head h1{margin:0;font-family:Fredoka,-apple-system,BlinkMacSystemFont,sans-serif;font-weight:600;font-size:30px;line-height:1.1}@media(min-width:768px){.page-head h1{font-size:32px}}.page-head p{margin:2px 0 0;color:#6b6355;font-size:14px}.back-bar{display:flex;align-items:center;gap:4px;margin:-8px -8px 12px}@media(min-width:768px){.back-bar{display:none}}.icon-btn{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;border:0;background:transparent;color:#22201a;cursor:pointer;text-decoration:none}.section-label{margin:0 4px 8px;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#6b6355;display:flex;justify-content:space-between;gap:8px}.section-label span{font-weight:400;text-transform:none;letter-spacing:0;font-size:12px}.stack{display:flex;flex-direction:column;gap:20px}.card{background:#fbf8f1;border:1px solid #ddd4c1;border-radius:14px}.pad{padding:16px}@media(min-width:768px){.pad{padding:20px 24px}}.chip{display:inline-flex;align-items:center;font-size:12px;font-weight:600;border-radius:20px;padding:2px 10px;background:#e9e2d2;white-space:nowrap}.chip.flag{background:#fde3f0;color:#7a1f4f}.chip.ok{background:#dcefb0;color:#2f3d09}.chip.soon{background:#f7e2b5;color:#5c4610;font-family:IBM Plex Mono,ui-monospace,monospace;font-weight:500;border-radius:6px}.chip.overdue{background:#a1271c;color:#fff;font-family:IBM Plex Mono,ui-monospace,monospace;border-radius:6px}.chip.plain{background:transparent;color:#6b6355;font-family:IBM Plex Mono,ui-monospace,monospace;font-weight:500;padding:0}.notice{border-radius:14px;padding:12px 14px}.notice.amber{background:#f7e2b5;border:1px solid #e3c47f;color:#22201a}.notice.error{background:#fde3f0;color:#7a1f4f;font-weight:600}.segmented{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:4px;background:#fbf8f1;border:1px solid #ddd4c1;border-radius:26px;padding:4px}@media(min-width:768px){.segmented{display:inline-grid}}.segmented button,.segmented a{min-height:40px;padding:0 16px;border:0;border-radius:20px;background:transparent;cursor:pointer;font-size:14px;display:grid;place-items:center;text-decoration:none;color:#22201a}.segmented button[aria-selected=true],.segmented button.active,.segmented a[aria-selected=true],.segmented a.active{background:#22201a;color:#f2ede2;font-weight:600}.chip-row{display:flex;gap:8px;overflow-x:auto;margin:0 -16px;padding:0 16px 2px}@media(min-width:768px){.chip-row{margin:0;padding:0;flex-wrap:wrap}}.chip-row button{flex:none;min-height:40px;padding:0 14px;border-radius:20px;border:1px solid #c9bfa8;background:#fbf8f1;cursor:pointer;font-size:14px;white-space:nowrap}.chip-row button[aria-pressed=true]{background:#22201a;border-color:#22201a;color:#f2ede2;font-weight:600}.split{display:flex;flex-direction:column;gap:20px}@media(min-width:768px){.split{flex-direction:row;align-items:flex-start}}.split-list{display:flex;flex-direction:column;gap:8px}@media(min-width:768px){.split-list{flex:0 1 380px;min-width:300px}}.split-detail{min-width:0}@media(min-width:768px){.split-detail{flex:1}}@media(max-width:767px){.split.has-detail .split-list{display:none}.split:not(.has-detail) .split-detail{display:none}}.list-card{display:flex;flex-direction:column;gap:4px;padding:12px 16px;border-radius:14px;background:#fbf8f1;border:1px solid #ddd4c1;color:#22201a;text-decoration:none}.list-card.active{border:2px solid #0047b4;padding:11px 15px}.list-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.list-card-title{font-weight:600;font-size:16px}.empty{padding:32px 16px;text-align:center;color:#6b6355}.rows{display:flex;flex-direction:column;overflow:hidden}.row{display:flex;align-items:center;gap:12px;min-height:56px;padding:8px 14px;border:0;border-bottom:1px solid #ece5d6;background:transparent;text-align:left;width:100%;color:#22201a;text-decoration:none}.row:last-child{border-bottom:0}.row[type=button],.row[href]{cursor:pointer}.row-text{flex:1;min-width:0;display:flex;flex-direction:column}.row-label{font-size:13px;color:#6b6355}.row-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.facts{margin:0;display:grid;grid-template-columns:auto 1fr}.facts dt,.facts dd{padding:10px 0;border-bottom:1px solid #ece5d6}.facts dt{color:#6b6355;padding-right:12px}.facts dd{margin:0;text-align:right;overflow-wrap:anywhere}.facts dt:last-of-type,.facts dd:last-of-type{border-bottom:0}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.stats div{background:#fbf8f1;border:1px solid #ddd4c1;border-radius:12px;padding:10px 4px;text-align:center;display:flex;flex-direction:column}.stats b{font-family:Fredoka,-apple-system,BlinkMacSystemFont,sans-serif;font-size:20px;font-weight:600}.stats span{font-size:11px;color:#6b6355}.stats.six{grid-template-columns:repeat(3,minmax(0,1fr))}@media(min-width:768px){.stats.six{grid-template-columns:repeat(6,minmax(0,1fr))}}.stats.six div{text-align:left;padding:10px}.stats.six .accepted{background:#dcefb0;border-color:#dcefb0}.stats.six .accepted span{color:#2f3d09}.avatar{flex:none;width:40px;height:40px;border-radius:50%;background:#e9e2d2;display:grid;place-items:center;font-weight:600}.avatar.accent{background:#0047b4;color:#fff}.avatar.big{width:72px;height:72px;font-family:Fredoka,-apple-system,BlinkMacSystemFont,sans-serif;font-size:28px}.evidence{list-style:none;margin:0;padding:14px 12px;display:flex;flex-direction:column;gap:8px}.evidence li{max-width:80%;border-radius:14px;padding:8px 12px;display:flex;flex-direction:column;gap:2px;white-space:pre-wrap;overflow-wrap:anywhere}.evidence .meta{font-size:12px;color:#6b6355}.evidence .theirs{align-self:flex-start;background:#e9e2d2;border-bottom-left-radius:4px}.evidence .mine{align-self:flex-end;background:#dfe7f5;border-bottom-right-radius:4px}.evidence .reported{align-self:stretch;max-width:none;background:#fde3f0;border:2px solid #f06bb0}.evidence .reported .meta{color:#7a1f4f;font-weight:700}.evidence .hidden-tag{font-size:12px;font-weight:600;color:#7a1f4f}blockquote.reporter{margin:0;padding:14px 16px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:52px;padding:0 20px;border-radius:26px;border:1px solid #22201a;background:transparent;color:#22201a;font-weight:600;cursor:pointer;text-decoration:none}@media(min-width:768px){.btn{min-height:44px}}.btn.primary{background:#0047b4;border-color:#0047b4;color:#fff}.btn.dark{background:#22201a;color:#f2ede2}.btn.danger{border:2px solid #a1271c;color:#a1271c}.btn.small{min-height:44px;padding:0 16px}.btn:disabled{opacity:.45;cursor:not-allowed}.btn-col{display:flex;flex-direction:column;gap:10px}.action-bar{position:sticky;bottom:calc(76px + env(safe-area-inset-bottom));z-index:10;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px -16px 0;padding:12px 16px;background:#fbf8f1;border-top:1px solid #ddd4c1}@media(min-width:768px){.action-bar{position:static;display:flex;justify-content:flex-end;margin:20px 0 0;padding:16px 0 0;background:transparent}}.field{display:flex;flex-direction:column;gap:6px}.field>span:first-child{font-weight:600}.field input,.field select,.field textarea{min-height:48px;border:1px solid #c9bfa8;border-radius:12px;padding:0 12px;background:#fff;min-width:0;width:100%}.field textarea{padding:12px;resize:vertical}.field .hint{font-size:13px;color:#6b6355}.field .good{font-size:13px;color:#2f3d09}.field .bad{font-size:13px;color:#7a1f4f;font-weight:600}.form-grid{display:grid;gap:16px}@media(min-width:768px){.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid .span-2{grid-column:span 2}}.choice{display:flex;flex-direction:column;gap:2px;padding:12px 14px;min-height:56px;border-radius:14px;background:#fff;border:1px solid #c9bfa8;text-align:left;cursor:pointer}.choice[aria-pressed=true]{border:2px solid #0047b4;padding:11px 13px}.choice span{font-size:13px;color:#6b6355}.switch-row{display:flex;align-items:center;gap:12px;width:100%;min-height:64px;padding:10px 14px;border:0;border-bottom:1px solid #ece5d6;background:transparent;text-align:left;cursor:pointer}.switch-row:last-child{border-bottom:0}.switch-row:disabled{cursor:not-allowed;opacity:.5}.switch{flex:none;width:50px;height:30px;border-radius:15px;padding:3px;display:flex;background:#c9bfa8;justify-content:flex-start}.switch:after{content:"";width:24px;height:24px;border-radius:50%;background:#fff}[aria-checked=true]>.switch{background:#0047b4;justify-content:flex-end}.sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;background:#22201a8c;display:flex;align-items:flex-end;justify-content:center}@media(min-width:768px){.sheet-backdrop{align-items:center}}.sheet{width:100%;max-height:92dvh;overflow-y:auto;background:#fbf8f1;border-radius:24px 24px 0 0;padding:8px 16px calc(24px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:14px}@media(min-width:768px){.sheet{max-width:520px;border-radius:20px;padding:20px 24px 24px}}.sheet-grip{align-self:center;width:40px;height:5px;border-radius:3px;background:#c9bfa8}@media(min-width:768px){.sheet-grip{display:none}}.sheet-head{display:flex;align-items:center;justify-content:space-between}.sheet-head h2{margin:0;font-family:Fredoka,-apple-system,BlinkMacSystemFont,sans-serif;font-weight:600;font-size:22px}.pins{position:relative;height:170px;background:#e3dccb;overflow:hidden;border-radius:14px 14px 0 0}.pins .circle{position:absolute;left:50%;top:50%;width:110px;height:110px;margin:-55px 0 0 -55px;border-radius:50%;border:2px dashed #0047b4;background:#0047b414}.pins .public,.pins .exact{position:absolute;border-radius:50%}.pins .public{left:calc(50% - 8px);top:calc(50% - 8px);width:16px;height:16px;background:#0047b4;border:3px solid #fff}.pins .exact{width:14px;height:14px;background:#22201a;border:3px solid #b9e63c}.legend-dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:6px}.legend-dot.exact{background:#22201a;border:2px solid #b9e63c}.legend-dot.public{background:#0047b4}.date-tile{flex:none;width:48px;display:flex;flex-direction:column;align-items:center;border-radius:10px;background:#e9e2d2;padding:6px 0}.date-tile span{font-size:11px;font-weight:700;text-transform:uppercase}.date-tile b{font-family:Fredoka,-apple-system,BlinkMacSystemFont,sans-serif;font-size:20px;font-weight:600;line-height:1.1}.problem{background:#fdf0f6;border-color:#f3b9d6}.create-layout{display:flex;flex-direction:column;gap:24px}@media(min-width:768px){.create-layout{flex-direction:row;align-items:flex-start}}.create-form{min-width:0}@media(min-width:768px){.create-form{flex:1}}@media(min-width:768px){.create-preview{flex:0 1 320px;position:sticky;top:24px}}
