@font-face{font-family:Comfortaa;font-style:normal;font-weight:300 700;font-display:swap;src:url(/fonts/Comfortaa-cyrillic-ext.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Comfortaa;font-style:normal;font-weight:300 700;font-display:swap;src:url(/fonts/Comfortaa-cyrillic.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Comfortaa;font-style:normal;font-weight:300 700;font-display:swap;src:url(/fonts/Comfortaa-latin-ext.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c4,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Comfortaa;font-style:normal;font-weight:300 700;font-display:swap;src:url(/fonts/Comfortaa-latin.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Shantell Sans;font-style:normal;font-weight:300 800;font-display:swap;src:url(/fonts/ShantellSans-cyrillic-ext.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Shantell Sans;font-style:normal;font-weight:300 800;font-display:swap;src:url(/fonts/ShantellSans-cyrillic.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Shantell Sans;font-style:normal;font-weight:300 800;font-display:swap;src:url(/fonts/ShantellSans-latin-ext.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c4,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Shantell Sans;font-style:normal;font-weight:300 800;font-display:swap;src:url(/fonts/ShantellSans-latin.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Rubik;font-style:normal;font-weight:300 900;font-display:swap;src:url(/fonts/Rubik-300-900-cyrillic-ext.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Rubik;font-style:normal;font-weight:300 900;font-display:swap;src:url(/fonts/Rubik-300-900-cyrillic.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Rubik;font-style:normal;font-weight:300 900;font-display:swap;src:url(/fonts/Rubik-300-900-latin-ext.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c4,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Rubik;font-style:normal;font-weight:300 900;font-display:swap;src:url(/fonts/Rubik-300-900-latin.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Nunito;font-style:normal;font-weight:200 1000;font-display:swap;src:url(/fonts/Nunito-200-1000-cyrillic-ext.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Nunito;font-style:normal;font-weight:200 1000;font-display:swap;src:url(/fonts/Nunito-200-1000-cyrillic.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Nunito;font-style:normal;font-weight:200 1000;font-display:swap;src:url(/fonts/Nunito-200-1000-latin-ext.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c4,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Nunito;font-style:normal;font-weight:200 1000;font-display:swap;src:url(/fonts/Nunito-200-1000-latin.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:PT Sans;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/PTSans-400-cyrillic-ext.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:PT Sans;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/PTSans-400-cyrillic.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:PT Sans;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/PTSans-400-latin-ext.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c4,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:PT Sans;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/PTSans-400-latin.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:PT Sans;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/PTSans-700-cyrillic-ext.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:PT Sans;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/PTSans-700-cyrillic.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:PT Sans;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/PTSans-700-latin-ext.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c4,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:PT Sans;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/PTSans-700-latin.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Lora;font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/Lora-400-700-cyrillic-ext.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Lora;font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/Lora-400-700-cyrillic.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Lora;font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/Lora-400-700-latin-ext.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c4,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Lora;font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/Lora-400-700-latin.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Podkova;font-style:normal;font-weight:400 800;font-display:swap;src:url(/fonts/Podkova-400-800-cyrillic-ext.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Podkova;font-style:normal;font-weight:400 800;font-display:swap;src:url(/fonts/Podkova-400-800-cyrillic.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Podkova;font-style:normal;font-weight:400 800;font-display:swap;src:url(/fonts/Podkova-400-800-latin-ext.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c4,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Podkova;font-style:normal;font-weight:400 800;font-display:swap;src:url(/fonts/Podkova-400-800-latin.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Marmelad;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/Marmelad-400-cyrillic-ext.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Marmelad;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/Marmelad-400-cyrillic.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Marmelad;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/Marmelad-400-latin-ext.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c4,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Marmelad;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/Marmelad-400-latin.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Inter;src:url(/fonts/InterVariable.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap}@font-face{font-family:Inter;src:url(/fonts/InterVariable-Italic.woff2) format("woff2");font-weight:100 900;font-style:italic;font-display:swap}:root{--font-interface:"Rubik","Segoe UI",sans-serif;--font-text-default:"Shantell Sans","Segoe UI",sans-serif;--font-text-notebook:"Workshop Hand",cursive;--font-material:var(--font-text-default);--material-font-size:18px;--material-line-height:1.8;--material-font-weight:400;--material-letter-spacing:-.006em;--font-default-preview-size:17px;--font-notebook-preview-size:25px}:root[data-writing-theme=notebook]{--font-material:var(--font-text-notebook)}:root[data-material-font=caveat]{--material-font-size:25px;--material-line-height:1.6;--material-font-weight:500;--material-letter-spacing:0}@media(max-width:699px){:root{--material-font-size:17px;--material-line-height:1.82}:root[data-material-font=caveat]{--material-font-size:23px;--material-line-height:1.65}}:root{--bg:#f6f5f2;--paper:#fff;--ink:#25252a;--muted:#62616b;--accent:#5b3f91;--accent-soft:#eee8f8;--border:#dedce2;--soft:#f3f1f6;--danger:#9e293b;--shadow:0 12px 40px #24202c21;color-scheme:light}:root[data-theme=dark]{--bg:#1b1b20;--paper:#25252c;--ink:#f0eef5;--muted:#b9b4c4;--accent:#d0b6ff;--accent-soft:#393047;--border:#45414c;--soft:#302e37;--danger:#ffb3be;--shadow:0 12px 40px #0005;color-scheme:dark}*{box-sizing:border-box}html{scroll-behavior:smooth;scrollbar-color:var(--border) var(--bg)}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font-interface);font-size:15px;line-height:1.5}::selection{background:#ceb6f2;color:#20182b}button,input,select,textarea{font:inherit}a,button,input,select,textarea{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--border);border-radius:8px;background:var(--paper);color:var(--ink);padding:10px 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;transition:background .15s,border-color .15s}button:hover{background:var(--soft);border-color:#91879f}button:disabled{cursor:default;opacity:.5}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible{outline:3px solid var(--accent);outline-offset:3px}input,select,textarea{border:1px solid var(--border);border-radius:7px;color:var(--ink);background:var(--paper);padding:10px 12px;min-height:44px;max-width:100%;min-width:0;caret-color:var(--accent)}input[type=checkbox]{accent-color:var(--accent);min-height:0;width:18px;height:18px;flex-shrink:0}input[type=color]{padding:4px;width:64px}textarea{resize:vertical;width:100%;line-height:1.65}label{display:flex;flex-direction:column;gap:6px;font-size:14px}fieldset{border:1px solid var(--border);border-radius:8px}h1,h2,h3,p{margin:0}h1{font-size:32px;line-height:1.2;letter-spacing:-.025em;font-weight:650;text-wrap:balance}h2{font-size:20px;line-height:1.35;letter-spacing:-.01em}h3{font-size:16px;font-weight:600}p{line-height:1.65}a{color:var(--accent)}svg{flex-shrink:0}small{font-size:12px}.primary{background:var(--accent);color:var(--paper);font-weight:600}.primary,.primary:hover{border-color:transparent}.primary:hover{background:color-mix(in srgb,var(--accent) 86%,#000)}:root[data-theme=dark] .primary{color:#21152e}.text-button{background:transparent;border-color:transparent;color:var(--muted);padding:6px 8px;min-height:34px;justify-content:flex-start;font-size:13px}.text-button:hover{color:var(--accent);border-color:transparent}.icon-button{padding:8px;min-width:40px;min-height:40px;background:transparent;border-color:transparent}.button-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.lead,.muted{color:var(--muted)}.lead{font-size:15px;margin-top:10px;max-width:70ch}.id{font-size:12px;letter-spacing:.04em;color:var(--muted);font-variant-numeric:tabular-nums}.skip{position:fixed;left:20px;top:-80px;z-index:50;background:var(--paper);padding:12px}.skip:focus{top:12px}.app-shell{display:flex;min-height:100vh}.sidebar{width:212px;position:fixed;inset:0 auto 0 0;background:var(--paper);border-right:1px solid var(--border);padding:30px 16px 20px;display:flex;flex-direction:column;z-index:15}.brand{border:0;background:transparent;justify-content:flex-start;text-align:left;padding:0 12px;margin-bottom:42px;font-size:15px;line-height:1.3;font-weight:400;gap:12px}.brand svg{color:var(--accent)}.brand strong{font-size:18px;letter-spacing:-.02em}.brand:hover{background:transparent}.sidebar nav{display:grid;gap:7px}.nav-item{border:0;justify-content:flex-start;background:transparent;color:var(--muted);width:100%;padding:12px;min-height:46px}.nav-item small{margin-left:auto}.nav-item.active{background:var(--accent-soft);color:var(--accent);font-weight:600}.sidebar-foot{margin-top:auto;display:grid;gap:6px;padding:24px 6px 0}.sidebar-foot p{font-size:12px;color:var(--muted);margin-bottom:12px}.sync-state{font-size:11px;color:var(--muted);margin:12px 8px 0;display:flex;gap:7px;align-items:center}.sync-state:before{content:"";width:5px;height:5px;background:var(--accent);border-radius:50%}.main{margin-left:212px;width:calc(100% - 212px);padding:0 44px 80px;min-width:0;max-width:1800px}.topline{height:70px;display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px;border-bottom:1px solid var(--border);margin-bottom:36px;gap:12px}.mobile-brand{display:none}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:34px}.page-heading .primary{white-space:nowrap}.catalog{max-width:1180px;margin:auto}.filters{display:flex;gap:10px;margin-bottom:28px;flex-wrap:wrap}.search-field{display:flex;flex-direction:row;align-items:center;gap:8px;border:1px solid var(--border);border-radius:8px;padding:0 12px;background:var(--paper);flex:1;min-width:220px}.search-field svg{color:var(--muted)}.search-field input{border:0;background:transparent;width:100%;outline-offset:-2px}.filters select{font-size:13px}.list-caption{display:flex;justify-content:space-between;color:var(--muted);font-size:12px;padding:0 18px 10px}.material-list{border-top:1px solid var(--border)}.material-row{width:100%;text-align:left;border:0;border-bottom:1px solid var(--border);border-radius:0;padding:25px 18px;background:transparent;justify-content:space-between;align-items:center;gap:32px}.material-row:hover{background:var(--paper)}.row-main{min-width:0;max-width:760px}.row-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px;margin-bottom:10px}.row-meta,.status{color:var(--muted)}.status{background:var(--soft);border-radius:5px;padding:3px 7px;font-size:11px;white-space:nowrap}.status-В-работе{background:var(--accent-soft);color:var(--accent)}.row-main h2{font-size:20px;font-weight:600;margin-bottom:8px}.excerpt{font-size:14px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.row-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px;color:var(--muted);font-size:11px}.row-tags span{border:1px solid var(--border);border-radius:4px;padding:2px 6px}.row-side{min-width:150px;display:flex;flex-direction:column;align-items:flex-end;gap:6px;color:var(--muted);font-size:11px}.row-side svg{margin-top:10px}.catalog-note{display:flex;align-items:flex-start;gap:15px;padding:30px 18px;color:var(--muted);font-size:12px}.catalog-note svg{margin-top:3px}.catalog-note span{opacity:.9}.empty{text-align:center;padding:70px 20px;color:var(--muted)}.empty svg{margin-bottom:16px}.empty h2{color:var(--ink);margin-bottom:10px}.empty p{max-width:50ch;margin:0 auto}.create-form{padding:24px;background:var(--paper);border:1px solid var(--border);border-radius:12px;margin-bottom:24px;display:grid;gap:18px;max-width:760px}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}.error{background:var(--paper);border:1px solid var(--danger);color:var(--danger);padding:18px;border-radius:8px;margin-bottom:24px}.error p{margin-bottom:10px}.loading{padding:24px}.loading div{height:90px;background:var(--soft);margin-top:22px;border-radius:8px}.loading h1{font-size:24px}.back{margin:-8px 0 18px;padding-left:0}.document-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:12px}.document-heading h1{font-size:30px;margin-top:8px;max-width:26ch}.document-heading select{font-size:13px}.material-details{color:var(--muted);font-size:12px;margin-bottom:24px}.material-details summary{cursor:pointer;width:fit-content}.material-details form{margin-top:16px;display:grid;gap:14px;max-width:600px;padding:20px;background:var(--paper);border:1px solid var(--border);border-radius:10px}.material-details .check{margin:6px 0}.version-bar{display:flex;gap:18px;color:var(--muted);flex-wrap:wrap}.version-bar,.version-bar>label{align-items:center;font-size:12px}.version-bar>label{flex-direction:row;gap:10px}.version-bar select{font-size:12px;min-height:36px;padding:6px 10px}.version-export{margin-left:auto}.version-comment{color:var(--muted);font-size:12px;margin-top:10px;margin-bottom:24px;max-width:95ch}.version-comment summary{cursor:pointer}.version-comment p{margin-top:8px}.tabs{display:flex;gap:22px;border-bottom:1px solid var(--border);margin-bottom:22px;overflow-x:auto}.tabs button{background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;color:var(--muted);padding:12px 2px;white-space:nowrap;min-height:46px;font-size:14px}.tabs button.active{border-bottom-color:var(--accent);color:var(--accent);font-weight:600}.editor-controls{display:flex;align-items:center;justify-content:space-between;margin:0 0 18px;gap:12px;flex-wrap:wrap}.editor-controls button{font-size:12px}.layers-panel{background:var(--paper);padding:18px 20px;border:1px solid var(--border);border-radius:10px;margin-bottom:22px}.layer-heading{display:flex;align-items:center;gap:10px;font-size:13px}.layer-heading .text-button{margin-left:auto}.layer-heading svg{color:var(--accent)}.layer-switches{display:flex;gap:12px;margin:12px 0}.layer-check{flex-direction:row;align-items:center;gap:8px;border:1px solid var(--border);border-radius:7px;padding:9px 12px;min-height:44px;font-size:13px}.layer-check:has(input:checked){background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.legend{display:flex;gap:6px;flex-wrap:wrap;margin:8px -5px}.legend button{border:0;background:transparent;padding:4px 5px;min-height:32px;font-size:12px}.legend span{padding:1px 4px}.legend .hidden-type{opacity:.42}.layers-content>p{color:var(--muted);font-size:11px;margin-top:10px}.section-select{flex-direction:row;align-items:center;gap:12px;margin-bottom:18px;color:var(--muted);font-size:12px}.section-select select{min-width:220px;max-width:100%;font-size:13px}.reading-layout{display:grid;gap:30px;align-items:start;grid-template-columns:minmax(0,1fr)}.reading-layout.with-notes{grid-template-columns:minmax(0,1fr) 290px}.paper{background:var(--paper);padding:38px 42px;border-radius:10px;min-width:0;max-width:100%}.prose{font-size:18px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere;max-width:69ch;margin:0 auto;user-select:text;-webkit-user-select:text;cursor:text}.marked{border-radius:2px;scroll-margin:100px}.macro-range{position:relative;background:color-mix(in srgb,var(--accent) 7%,transparent);box-decoration-break:clone;-webkit-box-decoration-break:clone}.macro-mode{padding-left:116px}.macro-range[data-macro]:before{content:attr(data-macro);position:absolute;right:calc(100% + 18px);top:0;width:86px;max-width:86px;font-family:var(--font-interface);font-size:10px;line-height:1.35;color:var(--accent);white-space:normal;user-select:none;border-top:1px solid var(--accent);padding-top:4px}.reading-notes{min-width:0}.reading-notes h2{font-size:15px;margin:5px 0 18px}.annotation{border-bottom:1px solid var(--border);padding:0 0 15px;margin-bottom:15px;scroll-margin-top:25px}.annotation summary{cursor:pointer;list-style:none;display:grid;gap:8px}.annotation summary>span{font-size:11px;width:fit-content;padding:1px 4px}.annotation q{font-size:12px;color:var(--muted);line-height:1.6}.annotation p{font-size:12px;margin-top:12px}.annotation .text-button{font-size:11px;margin-top:6px}.author-note{margin:20px 0;padding-bottom:20px;border-bottom:1px solid var(--border);font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.author-note q{color:var(--muted);display:block;margin-bottom:10px;font-size:12px}.author-note small{color:var(--muted);display:block;margin-top:10px}.note-form{display:grid;gap:10px;margin:24px 0}.note-form button{font-size:12px}.hint,.note-form textarea{font-size:13px}.hint{background:var(--accent-soft);color:var(--accent);padding:14px 16px;border-radius:8px;margin:22px 0}.text-editor{background:var(--paper);padding:24px;border:1px solid var(--border);border-radius:10px;display:grid;gap:18px}.text-editor textarea{font-size:17px;min-height:60vh;line-height:1.8}.check{flex-direction:row;gap:9px;font-size:13px;min-height:32px}.check,.section-heading{display:flex;align-items:center}.section-heading{justify-content:space-between;gap:20px;margin-bottom:20px}.section-heading h2{font-size:18px}.section-heading .muted{font-size:12px}.terms{max-width:850px;margin-top:30px}.terms>h2{font-size:24px}.terms section{margin:36px 0}.terms h3{color:var(--accent);margin-bottom:18px}.term{display:grid;grid-template-columns:180px 1fr;gap:20px;border-top:1px solid var(--border);padding:16px 0;font-size:14px}.term strong{font-weight:600}.term p{color:var(--muted)}.assembly{max-width:1000px}.block-list{list-style:none;padding:0;margin:20px 0 40px;border-top:1px solid var(--border)}.block-list li{display:flex;align-items:center;gap:18px;padding:18px 0;border-bottom:1px solid var(--border)}.block-number{color:var(--muted);font-size:13px;width:22px;font-variant-numeric:tabular-nums}.block-actions{display:flex;margin-left:auto;flex-shrink:0}.block-list .muted{font-size:12px;margin-top:5px}.add-block{display:flex;align-items:center;gap:15px;padding:20px 0;border-bottom:1px solid var(--border)}.add-block>div{flex:1}.add-block h3{margin-top:5px}.add-block button,.add-block select{font-size:12px}.empty-inline{padding:35px 0;color:var(--muted)}.settings-page{max-width:1100px}.settings-page>.button-row{margin:24px 0}.type-section{margin:36px 0}.type-section h2{margin-bottom:15px}.type-row{display:flex;align-items:end;gap:16px;border-top:1px solid var(--border);padding:16px 0;flex-wrap:wrap}.type-row label{font-size:11px}.type-row input:not([type=checkbox]):not([type=color]){max-width:210px}.type-row select{font-size:12px}.type-row .check{align-self:center;padding-top:12px}.mark-sample{font-size:12px;padding:3px 6px;align-self:center;max-width:200px}.selection-toolbar{position:fixed;bottom:24px;left:calc(50% + 95px);transform:translateX(-50%);z-index:30;background:var(--paper);box-shadow:var(--shadow);border-radius:12px;width:min(860px,calc(100vw - 280px));padding:14px 18px}.selection-title{display:flex;align-items:center;gap:10px;justify-content:space-between;font-size:12px;color:var(--muted)}.selection-actions{display:flex;flex-wrap:wrap;gap:6px}.selection-actions button{font-size:12px;padding:8px 10px;min-height:40px}.selection-actions span{padding:1px 3px}.selection-toolbar>p{font-size:12px;color:var(--muted)}.toast{position:fixed;bottom:25px;left:calc(50% + 95px);transform:translateX(-50%);max-width:min(600px,90vw);background:var(--ink);color:var(--paper);padding:14px 20px;border-radius:9px;font-size:13px;display:flex;align-items:center;gap:10px;z-index:40;box-shadow:var(--shadow)}@media(min-width:1600px){.main{padding-left:60px;padding-right:60px}.reading-layout.with-notes{grid-template-columns:minmax(0,1fr) 330px}.paper{padding:45px 64px}.paper.macro-mode{padding-left:130px}}@media(min-width:700px) and (max-width:1099px){.sidebar{width:78px;padding:24px 8px}.brand{justify-content:center;margin-bottom:30px;padding:0}.brand>span,.nav-item small,.nav-item>span,.sidebar-foot{display:none}.nav-item{justify-content:center;padding:12px}.main{margin-left:78px;width:calc(100% - 78px);padding:0 28px 70px}.page-heading{flex-wrap:wrap}.reading-layout.with-notes{grid-template-columns:minmax(0,1fr)}.reading-notes{display:grid;grid-template-columns:1fr 1fr;gap:12px 22px}.note-form,.reading-notes>h2{grid-column:1/-1}.paper{padding:32px 38px}.paper.macro-mode{padding-left:120px}.row-side{min-width:110px}.selection-toolbar{width:calc(100vw - 130px)}.selection-toolbar,.toast{left:calc(50% + 39px)}.topline{margin-bottom:28px}.add-block{flex-wrap:wrap}.add-block>div{min-width:230px}}@media(max-width:699px){.app-shell{display:block}.sidebar{width:100%;height:auto;inset:auto 0 0;padding:6px 8px calc(6px + env(safe-area-inset-bottom));border-right:0;border-top:1px solid var(--border)}.sidebar-foot,.sidebar>.brand{display:none}.sidebar nav{display:flex;justify-content:space-around;gap:0}.nav-item{width:auto;min-width:65px;flex-direction:column;gap:3px;padding:6px 7px;font-size:10px;min-height:50px;border-radius:7px}.nav-item small{display:none}.nav-item svg{width:19px;height:19px}.main{margin-left:0;width:100%;padding:0 18px 105px}.mobile-brand{height:62px;display:flex;align-items:center;gap:10px;font-size:14px;border-bottom:1px solid var(--border)}.mobile-brand>svg{color:var(--accent)}.mobile-brand .icon-button{margin-left:auto}.topline{height:46px;font-size:10px;margin-bottom:24px}.topline button{font-size:11px}.page-heading{display:block;margin-bottom:25px}.page-heading h1{font-size:29px}.page-heading .primary{margin-top:20px;font-size:13px}.lead{font-size:13px;line-height:1.65}.filters{gap:8px;margin-bottom:22px}.search-field{width:100%;flex-basis:100%;min-width:0}.filters select{flex:1;min-width:110px;font-size:12px;padding:9px}.material-row{padding:22px 2px;gap:10px}.row-main h2{font-size:18px;line-height:1.35}.row-main .excerpt{font-size:12px;-webkit-line-clamp:2}.row-side{min-width:20px}.row-side>span{display:none}.row-side svg{width:18px}.row-tags{font-size:10px}.row-meta{gap:8px}.row-meta .id{font-size:10px}.catalog-note{padding:25px 0;font-size:11px;gap:12px}.list-caption{padding-left:2px;padding-right:2px}.create-form{padding:18px}.document-heading{display:block}.document-heading h1{font-size:26px;margin:8px 0 18px;max-width:100%}.document-heading select{min-height:36px;padding:6px 10px;font-size:12px}.material-details{margin:15px 0}.version-bar{gap:10px;font-size:11px}.version-bar>span{width:100%;order:3}.version-bar .text-button{font-size:11px}.version-export{margin-left:auto}.version-comment{font-size:11px;margin-bottom:14px}.tabs{gap:21px;margin-bottom:18px}.tabs button{font-size:13px}.editor-controls{gap:8px}.editor-controls button{font-size:11px;padding:9px;min-height:42px}.notes-toggle{margin-left:-6px}.layers-panel{padding:14px 12px}.layer-heading{gap:6px;font-size:11px}.layer-heading .text-button{font-size:10px;padding:4px;white-space:nowrap}.layer-switches{gap:8px}.layer-check{font-size:12px;padding:8px}.legend{gap:3px}.legend button{font-size:11px;min-height:36px}.layers-content>p{font-size:10px}.section-select{flex-direction:column;align-items:flex-start;gap:5px}.section-select select{width:100%;font-size:12px;min-width:0}.reading-layout.with-notes{grid-template-columns:minmax(0,1fr);gap:24px}.paper{padding:24px 18px;border-radius:8px;margin:0 -4px}.prose{font-size:17px;line-height:1.85}.paper.macro-mode{padding-left:28px}.macro-range[data-macro]:before{display:none}.macro-range[data-macro]{border-left:1px solid var(--accent);padding-left:6px}.reading-notes{padding:0 2px}.reading-notes h2{font-size:17px}.annotation p,.annotation q{font-size:13px}.author-note{font-size:14px}.selection-toolbar{left:8px;right:8px;bottom:calc(74px + env(safe-area-inset-bottom));transform:none;width:auto;padding:10px 12px;max-height:43vh;overflow-y:auto}.selection-title{font-size:11px}.selection-actions{gap:5px}.selection-actions button{font-size:11px;padding:8px;min-height:44px}.toast{left:50%;bottom:85px;width:max-content;max-width:90vw;white-space:normal}.text-editor{padding:16px}.text-editor textarea{font-size:16px;min-height:55vh;padding:12px}.text-editor .section-heading{display:block}.text-editor h2{margin-bottom:8px;font-size:16px}.term{grid-template-columns:1fr;gap:8px;font-size:13px}.terms>h2{font-size:21px}.section-heading{flex-wrap:wrap;gap:14px}.assembly h2{font-size:18px}.block-list li{flex-wrap:wrap;gap:10px}.block-list li>div:not(.block-actions){flex:1;min-width:170px}.block-actions{margin-left:auto}.block-list h3{font-size:14px}.block-number{width:16px}.add-block{flex-wrap:wrap;gap:10px}.add-block>div{flex-basis:100%}.add-block select{flex:1}.type-row{gap:12px}.type-row>label:first-child{flex-basis:100%}.type-row input:not([type=checkbox]):not([type=color]){max-width:none;width:100%}.type-row .check{padding-top:10px}.type-row .mark-sample{display:none}.settings-page h1{font-size:27px}.field-pair{grid-template-columns:1fr}.empty{padding:50px 10px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}@media print{.back,.editor-controls,.layers-panel,.material-details,.mobile-brand,.reading-notes,.selection-toolbar,.sidebar,.tabs,.toast,.topline,.version-bar{display:none!important}.main{margin:0;width:100%}.main,.paper{padding:0}.reading-layout.with-notes{display:block}.prose{font-size:12pt}.document-heading select{display:none}}.legend-toggle{display:none}@media(max-width:699px){.topline{display:none}.mobile-brand{margin-bottom:20px}.back{margin:0 0 13px}.document-heading{display:flex;align-items:center;gap:10px}.document-heading>div{min-width:0;flex:1}.document-heading h1{font-size:23px;margin:6px 0 0}.document-heading select{max-width:110px;font-size:11px;padding:6px}.material-details{margin:13px 0 17px}.version-bar{gap:8px}.version-bar>span{display:none}.version-comment{margin-top:8px;margin-bottom:8px}.version-comment:not([open]) summary{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.tabs{margin-bottom:13px}.editor-controls{margin-bottom:12px}.layers-panel{padding:11px 12px;margin-bottom:15px}.layers-content>p{display:none}.layer-switches{margin:8px 0}.legend-toggle{display:flex;font-size:10px;min-height:28px;padding:3px 0}.legend{display:none}.legend.expanded{display:flex}.section-select{margin-bottom:15px}.selection-toolbar{max-height:37vh}}.help-page{max-width:1160px;margin:0 auto}.help-heading{margin-bottom:26px}.help-heading h1{max-width:26ch}.help-tools{display:flex;align-items:center;flex-wrap:wrap;gap:20px;margin-top:20px}.help-tools,.help-tools button{font-size:13px}.help-tools a{padding:10px 0;text-underline-offset:4px}.help-search{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:30px}.help-search .search-field{max-width:620px;min-width:0}.help-search>span{flex-basis:100%;font-size:12px;color:var(--muted)}.help-search .icon-button{min-width:44px;min-height:44px}.help-layout{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:32px;align-items:start}.help-toc{grid-column:2;grid-row:1;position:sticky;top:24px}.help-toc summary{cursor:pointer;font-size:14px;font-weight:600;padding:10px 0}.help-toc nav{display:grid;gap:2px;margin-top:8px}.help-toc a{display:block;padding:8px 6px;font-size:12px;line-height:1.5;text-decoration:none;color:var(--muted);border-radius:5px}.help-toc a:hover{background:var(--accent-soft);color:var(--accent)}.help-articles{grid-column:1;grid-row:1;min-width:0;background:var(--paper);padding:6px 34px 34px;border-radius:12px}.help-section{padding:30px 0;border-bottom:1px solid var(--border);overflow-wrap:anywhere;max-width:72ch}.help-section h2{font-size:21px;line-height:1.35;margin:0 0 18px;scroll-margin-top:24px}.help-section dd,.help-section li,.help-section p{font-size:15px;line-height:1.8}.help-section p+p{margin-top:16px}.help-section ol,.help-section ul{padding-left:23px;margin:16px 0}.help-section li+li{margin-top:10px}.help-section strong{font-weight:600}.help-note{background:var(--soft);padding:14px 16px;border-radius:8px;margin:18px 0}.help-examples li{font-size:14px}.help-definitions{margin:18px 0}.help-definitions>div{display:grid;grid-template-columns:150px minmax(0,1fr);gap:18px;padding:12px 0;border-top:1px solid var(--border)}.help-definitions dt{font-size:14px;font-weight:600;line-height:1.7}.help-definitions dd{margin:0;color:var(--muted)}.help-faq{border-top:1px solid var(--border);padding:14px 0}.help-faq summary{cursor:pointer;font-size:15px;line-height:1.6;font-weight:500;padding-right:10px}.help-faq p{margin-top:12px;color:var(--muted)}.help-backup{padding-top:30px}.help-backup h2{font-size:21px;margin-bottom:12px}.help-backup p{font-size:14px;margin-bottom:16px}.help-backup .muted{font-size:12px;margin-top:10px}@media(min-width:700px) and (max-width:1099px){.help-layout{grid-template-columns:minmax(0,1fr);gap:20px}.help-toc{grid-column:1;grid-row:1;position:static}.help-articles{grid-column:1;grid-row:2;padding:4px 28px 28px}.help-toc nav{grid-template-columns:1fr 1fr;gap:4px 18px}}@media(max-width:699px){.sidebar nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0}.nav-item{min-width:0;width:100%;padding:6px 2px;font-size:10px}.help-heading{margin-bottom:20px}.help-heading h1{font-size:27px}.help-tools{gap:12px 18px;margin-top:18px}.help-tools button{min-height:44px;font-size:12px}.help-search{margin-bottom:20px}.help-search .search-field{flex-basis:calc(100% - 56px);width:auto}.help-search input{font-size:16px}.help-search>span{font-size:11px}.help-layout{grid-template-columns:minmax(0,1fr);gap:16px}.help-toc{grid-column:1;grid-row:1;position:static;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.help-toc summary{min-height:44px;padding:12px 0}.help-toc a{font-size:13px;padding:10px 6px;min-height:44px}.help-articles{grid-column:1;grid-row:2;padding:0 18px 24px;margin:0 -4px;border-radius:8px}.help-section{padding:25px 0}.help-backup h2,.help-section h2{font-size:20px;margin-bottom:14px}.help-section dd,.help-section li,.help-section p{font-size:14px;line-height:1.8}.help-note{padding:12px}.help-definitions>div{grid-template-columns:1fr;gap:5px}.help-faq summary{font-size:14px;min-height:44px;display:list-item}.help-backup button{font-size:12px;min-height:44px}.help-backup{padding-top:24px}}@media print{.help-backup button,.help-search,.help-toc,.help-tools{display:none}.help-layout{display:block}.help-articles{padding:0}.help-section{break-inside:avoid}.help-faq p{display:block}.help-page{max-width:none}}.layer-switches{flex-wrap:wrap;gap:22px}.layer-switches .layer-check{border:0;border-radius:0;background:transparent;padding:4px 0}.layer-switches .layer-check:has(input:checked){background:transparent;color:var(--ink)}.guide-layer{display:flex;flex-wrap:wrap;gap:6px;width:100%;min-width:0}.legend .guide-trigger{cursor:help;min-height:44px}.legend .guide-trigger[aria-expanded=true]{outline:2px solid var(--accent);outline-offset:1px;border-radius:5px}.legend .guide-trigger.hidden-type{opacity:1}.legend .guide-trigger.hidden-type>span{background:var(--soft)!important;color:var(--muted)!important}.layers-content>.guide-legend-help{display:block;font-size:12px;color:var(--muted);margin:8px 0}.mark-guide{position:fixed;inset:auto;margin:0;width:min(560px,calc(100vw - 24px));max-height:min(740px,calc(100dvh - 24px));padding:22px 24px 0;background:var(--paper);color:var(--ink);border:0;border-radius:12px;box-shadow:var(--shadow);overflow:hidden;font-size:14px;line-height:1.65}.mark-guide:popover-open{display:flex;flex-direction:column}.guide-footer,.guide-top{flex-shrink:0}.guide-body{position:relative;min-height:80px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.mark-guide::backdrop{background:transparent}.guide-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:10px}.guide-heading h2{font-size:19px;line-height:1.5;margin:3px 0}.guide-heading h2 span{padding:2px 5px;box-decoration-break:clone}.guide-heading .icon-button{min-width:44px;min-height:44px;margin:-8px -10px 0 0}.guide-definition{font-size:14px;margin-bottom:12px}.guide-roles{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0 10px}.guide-roles button{font-size:12px;min-height:38px;padding:7px 12px}.guide-roles button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent);border-color:var(--accent);font-weight:600}.guide-detail{color:var(--muted);font-size:13px;margin:0 0 18px}.guide-example-select{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:14px;font-size:12px;margin:16px 0 14px}.guide-example-select select{max-width:70%;font-size:13px;min-height:42px;padding:7px 10px}.guide-expectation{background:var(--accent-soft);padding:12px 14px;margin-bottom:14px;border-radius:8px;font-size:13px}.guide-story{border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:14px 0;font-size:14px;line-height:1.8}.guide-story p+p{margin-top:12px}.guide-story mark{padding:2px 3px;box-decoration-break:clone;-webkit-box-decoration-break:clone}.guide-part-label{display:block;font-size:11px;font-weight:650;color:var(--accent);margin-bottom:4px}.guide-stage{font-style:italic}.guide-why{margin:16px 0 12px;font-size:13px}.guide-delivery{margin-bottom:14px;font-size:13px}.guide-source{font-size:11px;line-height:1.6;color:var(--muted);margin:16px 0}.guide-footer{position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:12px 0;background:var(--paper);border-top:1px solid var(--border)}.guide-footer button{font-size:12px;min-height:44px;padding:8px 10px}@media(max-width:699px){.mark-guide{max-height:calc(100dvh - 100px - env(safe-area-inset-bottom));padding:18px 18px 0}.guide-heading h2{font-size:18px}.guide-example-select{align-items:flex-start;flex-direction:column;gap:5px}.guide-example-select select{max-width:100%;width:100%;font-size:16px}.guide-story{font-size:14px}.layers-content>.guide-legend-help{font-size:11px}.guide-footer{gap:4px}.guide-footer button{font-size:11px}}@media print{.mark-guide{display:none!important}}.mark-view{display:flex;align-items:center;flex-wrap:wrap;gap:10px 22px;border:0;padding:0;margin:10px 0 16px;min-width:0}.mark-view legend{font-size:12px;color:var(--muted);margin-bottom:8px;padding:0}.mark-view .check{font-size:12px;min-height:36px;cursor:pointer}.undo-mark{font-size:12px;margin-top:12px}.range-heading{display:block;line-height:1.5;margin:20px 0 7px;font-size:15px;font-weight:750;cursor:pointer;user-select:none}.range-heading:first-child{margin-top:0}.range-heading:before{content:attr(data-heading);background:#e3f3ff;color:#08679f;padding:3px 8px;border-radius:4px}:root[data-theme=dark] .range-heading:before{background:#153b53;color:#8fd4ff}.editable-range{cursor:pointer;box-decoration-break:clone;-webkit-box-decoration-break:clone}.editable-range:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.note-focus{background:var(--accent-soft)!important;color:var(--ink)!important;outline:1px solid var(--accent);outline-offset:2px;border-radius:2px;box-decoration-break:clone;-webkit-box-decoration-break:clone}.active-note-banner{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:-12px 0 24px;padding-bottom:12px;border-bottom:1px solid var(--border);font-size:12px;color:var(--muted)}.active-note-banner button{font-size:12px}.author-note.is-active{background:var(--accent-soft);border-radius:8px;padding:12px}.note-jump{display:block;text-align:left;border:0;background:transparent;padding:0;width:100%;color:var(--ink);white-space:pre-wrap;font-size:14px;line-height:1.75;cursor:pointer}.note-jump q{margin:0 0 10px;color:var(--muted);font-size:12px}.note-jump q,.note-jump>span{display:block}.note-jump:hover{background:transparent;color:var(--accent)}.note-actions{display:flex;flex-wrap:wrap;gap:3px 12px;margin-top:8px}.note-actions button{font-size:11px;min-height:36px;padding:3px 0}.note-warning{font-size:11px;color:var(--muted);margin-top:8px}.note-form q{font-size:12px;color:var(--muted);max-height:100px;overflow:auto}.range-task{display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--accent-soft);padding:14px 18px;border-radius:8px}.orphan-marks,.range-task{margin-bottom:20px;font-size:13px}.orphan-marks>div{padding:14px 0;display:flex;align-items:center;gap:12px;border-top:1px solid var(--border)}.orphan-marks q{flex:1}.mark-editor>q{display:block;max-height:95px;overflow:auto;font-size:13px;margin:6px 0 14px;white-space:pre-wrap}.mark-edit-actions{display:flex;align-items:flex-end;flex-wrap:wrap;gap:8px 12px}.mark-edit-actions label{font-size:11px;max-width:280px;min-width:150px}.mark-edit-actions select{font-size:13px}.mark-edit-actions button{font-size:12px;min-height:42px}.mark-edit-hint{font-size:11px;color:var(--muted);margin-top:12px}.mark-editor details{font-size:12px;margin-top:12px}.mark-editor details p{white-space:pre-wrap;margin:8px 0}@media(max-width:699px){.mark-view{gap:6px 14px;margin:8px 0 12px}.mark-view .check{font-size:11px;min-height:40px}.range-heading{font-size:14px;margin-top:18px}.range-task{padding:12px;font-size:12px}.range-task p{flex:1}.note-jump{font-size:14px}.note-actions button{min-height:44px}.note-form textarea{font-size:16px}.reading-notes>p{font-size:13px}.mark-edit-actions{gap:8px}.mark-edit-actions label{max-width:100%;width:100%}.mark-edit-actions select{font-size:16px}.mark-edit-actions button{font-size:11px;min-height:44px}.active-note-banner{align-items:flex-start;margin:0 0 18px}.active-note-banner span{flex:1}.orphan-marks>div{flex-wrap:wrap}.orphan-marks q{flex-basis:100%}.mark-editor{max-height:55vh!important}.mark-editor>q{max-height:65px}}.card-details{margin:14px 0 22px;font-size:13px}.card-details>summary{cursor:pointer;min-height:44px;padding:10px 0;color:var(--muted);width:fit-content}.card-details>summary:hover{color:var(--accent)}.card-details-content{padding:16px 0 24px;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.card-details .version-bar{margin:0 0 22px}.version-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 32px;max-width:800px;margin:0 0 18px}.version-facts>div{display:grid;gap:4px;min-width:0}.version-facts dt{font-size:11px;color:var(--muted)}.version-facts dd{margin:0;font-size:13px;overflow-wrap:anywhere}.metadata-help{font-size:12px;line-height:1.7;color:var(--muted);margin:12px 0 22px}.version-explanation{font-size:13px;max-width:80ch;margin:22px 0;line-height:1.75}.version-explanation>strong{font-size:12px;font-weight:600}.version-explanation p{margin-top:8px;white-space:pre-wrap}.card-metadata-form{display:grid;gap:16px;max-width:800px;margin-top:24px}.card-metadata-form>button{justify-self:start}.layers-panel{padding:10px 20px}.layers-panel>summary{cursor:pointer;min-height:44px;list-style:none;margin:0}.layers-panel>summary::-webkit-details-marker{display:none}.layers-panel>summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}.structure-chevron{margin-left:auto;color:var(--muted)}.layers-panel[open] .structure-chevron{transform:rotate(180deg)}.layers-content{padding:8px 0 12px}.layer-control-line{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:14px}.layer-control-line .layer-switches{margin:0}.layer-control-line>.text-button{margin-left:auto;font-size:12px;min-height:44px}@media(max-width:699px){.card-details{margin:7px 0 12px;font-size:12px}.card-details>summary{padding:9px 0}.card-details .version-bar{gap:10px;margin-bottom:20px}.card-details .version-bar label{max-width:100%}.version-facts{gap:14px 18px}.version-explanation,.version-facts dd{font-size:12px}.card-metadata-form input,.card-metadata-form select{font-size:16px}.card-metadata-form label{font-size:12px}.layers-panel{padding:8px 12px}.layer-control-line{gap:6px;margin-bottom:8px}.layer-control-line>.text-button{font-size:11px}.layers-content{padding-top:5px}.layer-heading{font-size:12px}}.performance-marker{display:inline-block;vertical-align:baseline;margin:0 4px;padding:1px 6px;border-radius:6px;background:var(--soft);color:var(--ink);font-size:14px;line-height:1.65;cursor:pointer;white-space:nowrap;user-select:none;max-width:100%}.performance-marker:before{content:attr(data-performance-label);font-family:var(--font-interface)}.performance-marker.observed{background:#e4f3ff;color:#174d70}.performance-marker:focus-visible,.performance-marker:hover{outline:2px solid var(--accent);outline-offset:2px}:root[data-theme=dark] .performance-marker.observed{background:#213e50;color:#d4edff}.performance-editor>q{display:block;max-height:70px;overflow:auto;font-size:13px;margin:6px 0 16px;white-space:pre-wrap}.performance-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 16px}.performance-fields label{font-size:11px;min-width:0}.performance-fields input,.performance-fields select{font-size:13px;min-height:42px;width:100%}.performance-preview{font-family:var(--font-interface);font-size:20px;margin-top:16px;overflow-wrap:anywhere}.performance-editor .button-row{margin-top:16px}.performance-editor .button-row button{font-size:12px;min-height:44px}.selection-actions .performance-action{background:var(--accent-soft)}@media(max-width:699px){.performance-marker{font-size:13px;margin:0 3px;padding:2px 4px}.performance-editor{max-height:calc(100dvh - 110px)!important;overflow:auto}.performance-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.performance-fields input,.performance-fields select{font-size:16px}.performance-editor .button-row{gap:8px}.performance-editor .button-row button{font-size:11px}.performance-preview{font-size:18px}.orphan-performance>div>span{flex-basis:100%}}.guide-expectation .guide-part-label{font-style:normal}.guide-bridge-note{padding:14px 16px;border-left:3px solid var(--accent);background:var(--accent-soft);font-size:14px;line-height:1.6}.status-select{position:relative;flex-shrink:0;max-width:100%}.status-select select{appearance:none;padding-right:42px;min-width:170px}.status-select>svg{position:absolute;right:15px;top:50%;transform:translateY(-50%);pointer-events:none;color:var(--muted)}.inline-version{display:flex;flex-direction:row;gap:10px;align-items:center;color:var(--muted);font-size:13px}.inline-version select{font-size:13px;min-width:140px}.inline-edit-hint{color:var(--muted);font-size:12px}.inline-save-panel{position:sticky;top:10px;z-index:16;background:var(--paper);border:1px solid var(--border);border-radius:12px;padding:14px 18px;margin:14px 0 18px}.inline-save-actions{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap}.inline-save-actions strong{font-size:13px}.inline-save-actions button{font-size:12px}.inline-save-panel details{font-size:12px;margin-top:10px}.inline-save-panel summary{cursor:pointer;color:var(--accent);width:fit-content}.inline-save-panel details[open]{display:grid;gap:12px}.inline-save-panel details label{font-size:12px;max-width:620px}.inline-save-panel .check{display:flex;flex-direction:row;align-items:center;gap:9px}.draft-recovery{padding:16px 0;display:flex;gap:12px;flex-wrap:wrap;align-items:center;font-size:13px}.inline-prose{position:relative;padding-left:36px;min-height:150px;outline:none!important;caret-color:var(--accent)}.inline-prose:focus{outline:none}.inline-prose:focus-visible{box-shadow:inset 0 0 0 1px var(--border);border-radius:4px}.inline-prose .editable-range{cursor:text}.range-anchor{position:relative;display:block;white-space:normal;user-select:none;margin:18px 0 6px;min-height:28px}.range-anchor:first-of-type{margin-top:0}.range-anchor .range-heading{display:block;margin:0!important;min-height:28px;line-height:1.6;overflow-wrap:anywhere}.range-anchor .range-heading:before{padding:3px 6px;box-decoration-break:clone;-webkit-box-decoration-break:clone}.range-anchor.heading-off{height:0;min-height:0;margin:0}.fold-toggle{position:absolute;left:-34px;top:0;min-width:25px;min-height:25px;width:25px;height:25px;padding:2px;border:1px solid var(--border);border-radius:4px;background:var(--paper);z-index:2;color:var(--accent)}.range-rails{position:absolute;inset:0;pointer-events:none;user-select:none}.range-rails>span{position:absolute;border-left:1px solid var(--border);min-height:1px}.range-rails>span:after{content:"";position:absolute;bottom:0;left:0;width:7px;border-bottom:1px solid var(--border)}.folded-range{display:block;height:8px;user-select:none}.reading-notes{position:sticky;top:16px;max-height:calc(100dvh - 32px);overflow:auto;scrollbar-width:thin;padding-right:4px}.side-tabs{display:flex;gap:16px;position:sticky;top:0;z-index:4;background:var(--bg);border-bottom:1px solid var(--border);margin-bottom:18px}.side-tabs button{border:0;border-radius:0;background:transparent;min-height:44px;padding:8px 0;font-size:14px;font-weight:600;color:var(--muted)}.side-tabs button[aria-selected=true]{color:var(--accent);border-bottom:2px solid var(--accent)}.material-navigation{display:grid;gap:0}.navigation-entry{border-bottom:1px solid var(--border);padding:8px 0}.navigation-item{display:flex;align-items:flex-start;gap:3px;min-width:0}.navigation-jump{flex:1;display:grid;justify-content:start;gap:3px;text-align:left;border:0;border-radius:5px;background:transparent;min-width:0;padding:4px 5px;color:var(--ink)}.navigation-jump small{font-size:11px;color:var(--muted)}.navigation-jump>span{font-size:13px;overflow-wrap:anywhere}.navigation-item>.icon-button{min-width:27px;width:27px;min-height:32px;padding:5px;color:var(--muted)}.navigation-entry.is-active .navigation-jump{background:var(--accent-soft);color:var(--accent)}.navigation-rename{margin:10px 0;display:grid;gap:10px}.navigation-rename input{width:100%;font-size:13px}.navigation-rename button{font-size:11px;padding:6px 8px}.navigation-rename label{font-size:12px}.navigation-rename .button-row{gap:6px}.assembly-filters{margin:20px 0 8px;align-items:flex-end}.assembly-filters>label{flex:1;min-width:150px;font-size:12px}.assembly-filters>.search-field{min-width:240px;flex:2;align-self:flex-end}.assembly-filters select{width:100%}.picker-results{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:12px;margin:12px 0}.assembly-preview{display:grid;gap:16px;padding:20px 0;margin:16px 0 26px;border-block:1px solid var(--border)}.assembly-preview p{font-size:13px}.assembly-preview textarea{font-size:14px}.assembly .material-picker>h2{margin-top:28px}@media(max-width:1099px){.reading-layout.with-notes{display:flex;flex-direction:column;gap:24px}.reading-layout.with-notes>.paper{width:100%;order:1}.reading-notes{order:0;position:relative;top:auto;max-height:38dvh;width:100%;padding:0 4px 8px 0}.side-tabs{background:var(--bg)}.navigation-item>.icon-button{min-width:34px;width:34px;min-height:36px}.inline-edit-hint{max-width:230px}}@media(max-width:699px){.status-select select{min-width:140px;padding-right:36px}.status-select>svg{right:12px}.inline-version{font-size:12px}.inline-version select{font-size:16px;min-width:150px}.inline-prose{padding-left:26px}.fold-toggle{left:-26px;min-width:23px;width:23px;min-height:27px;height:27px}.range-anchor .range-heading{font-size:13px;min-height:30px}.inline-save-panel{padding:12px;top:6px;max-height:42dvh;overflow:auto}.inline-save-actions{gap:10px}.inline-save-actions button{font-size:11px;padding:8px 10px}.inline-save-panel details input{font-size:16px}.inline-edit-hint{font-size:11px;max-width:none;flex-basis:100%}.side-tabs{gap:22px}.side-tabs button{font-size:14px}.navigation-item>.icon-button{min-width:38px;width:38px;min-height:44px}.navigation-jump{min-height:44px}.navigation-jump>span{font-size:14px}.navigation-rename input{font-size:16px}.navigation-rename button{min-height:44px;font-size:12px}.assembly-filters>.search-field,.assembly-filters>label{min-width:0;flex-basis:100%}.assembly-filters input,.assembly-filters select{font-size:16px}.reading-notes{max-height:35dvh}.assembly-preview textarea{font-size:16px}}@media(pointer:coarse){.range-anchor{min-height:44px}.range-anchor .range-heading{min-height:44px;padding-top:7px}.fold-toggle{min-height:40px;height:40px;min-width:26px;width:26px}}@media print{.inline-edit-hint,.inline-save-panel,.range-anchor .fold-toggle,.range-rails{display:none!important}.inline-prose{padding-left:0}.reading-notes{position:static;max-height:none;overflow:visible}}.status-select{width:170px;min-width:0}.status-select select{width:100%;min-width:0;max-width:100%}.reading-notes{display:block}@media(max-width:699px){.document-heading{flex-wrap:wrap}.document-heading>div:first-child{flex-basis:100%;min-width:0}.document-heading .status-select{width:160px;margin-left:auto}.document-heading .status-select select{min-width:0}}.settings-actions{position:sticky;top:8px;z-index:8;background:var(--bg);padding:12px 0;margin:14px 0}.settings-draft{font-size:13px;color:var(--accent);margin:8px 0 22px}.editable-type-row{display:grid;grid-template-columns:minmax(150px,1.3fr) 66px minmax(130px,1fr) 95px minmax(80px,.8fr) 42px;gap:16px;align-items:center}.editable-type-row label{font-size:12px}.editable-type-row input:not([type=checkbox]):not([type=color]),.editable-type-row select{width:100%;max-width:none}.editable-type-row .check{display:flex;flex-direction:row;align-items:center;padding-top:18px;gap:7px}.editable-type-row .type-definition{grid-column:1/-1;max-width:100%}.editable-type-row textarea{font-size:13px;min-height:64px}.editable-type-row .mark-sample{font-size:13px;padding:5px 7px;overflow-wrap:anywhere}.editable-type-row .delete-type{color:var(--danger);margin-top:14px}.retired-types{margin:24px 0;font-size:14px}.retired-types summary{cursor:pointer;color:var(--accent)}.retired-types p{font-size:13px;color:var(--muted);margin:12px 0}.retired-types>div{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:8px 0;border-bottom:1px solid var(--border)}.settings-reset-help{color:var(--muted);font-size:13px;margin:22px 0 30px}@media(max-width:1099px){.editable-type-row{grid-template-columns:minmax(0,1fr) 66px minmax(0,1fr) 42px}.editable-type-row .check{grid-column:1;grid-row:auto;padding:0}.editable-type-row .mark-sample{grid-column:2/4}.editable-type-row .delete-type{grid-column:4;grid-row:1;margin:18px 0 0}.editable-type-row .type-definition{grid-column:1/-1}}@media(max-width:699px){.editable-type-row{grid-template-columns:minmax(0,1fr) 72px;gap:12px}.editable-type-row>label:first-child{grid-column:1}.editable-type-row .color-field{grid-column:2}.editable-type-row>label:nth-child(3){grid-column:1}.editable-type-row .check{grid-column:2;font-size:11px}.editable-type-row .mark-sample{display:block;grid-column:1}.editable-type-row .delete-type{grid-column:2;grid-row:3;justify-self:start;margin:0;min-width:44px;min-height:44px}.editable-type-row input:not([type=checkbox]),.editable-type-row select,.editable-type-row textarea{font-size:16px}.editable-type-row input[type=color]{width:64px}.settings-actions{gap:8px;top:0}.settings-actions button{font-size:11px;min-height:44px;padding:8px 10px}.retired-types button{font-size:12px}}.settings-page .lead{margin-top:6px}.settings-page .settings-actions{margin:10px 0 12px;padding:6px 0;gap:8px}.settings-page .settings-actions button{min-height:36px;padding:7px 11px;font-size:13px}.settings-page .type-section{margin:18px 0 24px}.settings-page .type-section>h2{font-size:18px;margin-bottom:0;padding-bottom:8px}.settings-page .editable-type-row,.settings-page .type-section>h2{border-bottom:1px solid color-mix(in srgb,var(--ink) 30%,var(--paper))}.settings-page .editable-type-row{padding:9px 0;row-gap:7px;column-gap:12px}.settings-page .editable-type-row label{gap:4px}.settings-page .editable-type-row input:not([type=checkbox]):not([type=color]),.settings-page .editable-type-row select{min-height:34px;padding:6px 9px;font-size:13px}.settings-page .editable-type-row input[type=color]{min-height:34px;height:34px;padding:3px}.settings-page .editable-type-row textarea{min-height:34px;line-height:1.45;padding:6px 9px;font-size:13px}.settings-page .editable-type-row textarea:focus{min-height:58px}.settings-page .editable-type-row .check{padding-top:14px}.settings-page .editable-type-row .mark-sample{margin-top:14px;padding:4px 6px}.settings-page .editable-type-row .delete-type{min-height:34px;height:34px;padding:5px;margin-top:14px}.settings-page .compact-definition{grid-column:1/-1;font-size:13px;line-height:1.5;color:var(--muted);margin:0;padding:0}.settings-draft{margin:6px 0 12px}.settings-reset-help{margin:16px 0 22px}@media(min-width:700px){.main:has(.settings-page) .topline{height:56px;margin-bottom:22px}}@media(max-width:699px){.settings-page .settings-actions button{min-height:44px;font-size:12px;padding:7px 10px}.settings-page .editable-type-row{grid-template-columns:minmax(0,1fr) 84px;padding:9px 0;row-gap:7px}.settings-page .editable-type-row input:not([type=checkbox]),.settings-page .editable-type-row select,.settings-page .editable-type-row textarea{font-size:16px;min-height:44px}.settings-page .editable-type-row input[type=color]{height:44px}.settings-page .editable-type-row .check{padding-top:0}.settings-page .editable-type-row .mark-sample{margin-top:0}.settings-page .editable-type-row .delete-type{min-height:44px;height:44px;margin-top:0}.settings-page .type-section>h2{font-size:17px}}.concert-fields{min-width:0;margin:4px 0 12px;padding:14px 0;border:0;border-block:1px solid var(--border);display:grid;gap:12px}.concert-fields legend{font-weight:600;font-size:15px;padding-right:10px}.concert-fields .field-pair{margin:0}.concert-fields input,.concert-fields select{width:100%;min-width:0}.venue-field-tools{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;font-size:12px;color:var(--muted)}.venue-field-tools button{font-size:12px;padding:4px 0}.selected-venue-info{margin:0;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.concert-time-fields{display:grid;grid-template-columns:minmax(130px,1.3fr) repeat(2,minmax(90px,1fr)) minmax(120px,1fr);gap:12px}.concert-time-fields label{font-size:12px}.city-source-hint,.overnight-hint{font-size:11px;line-height:1.55;color:var(--muted);margin:0}.city-source-hint a,.selected-venue-info a,.venue-links a,.venue-research a{color:var(--accent);text-underline-offset:3px}.personal-venue-form{display:grid;gap:12px;padding:16px;background:var(--paper);border:1px solid var(--border);border-radius:8px;margin:8px 0}.personal-venue-form h3{font-size:15px;margin:0}.personal-venue-form label{font-size:12px}.personal-venue-form input,.personal-venue-form textarea{width:100%;min-width:0}.personal-venue-form .button-row button{font-size:13px}.venue-directory-filters{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1.3fr);gap:16px;align-items:end}.venue-directory-filters>label{min-width:0;font-size:12px}.venue-directory-filters input{width:100%;min-width:0}.venue-city-shortcuts{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:8px 0 14px}.venue-city-shortcuts button{padding:4px 0;font-size:13px}.venue-city-shortcuts small{margin-left:auto;color:var(--muted);font-size:12px}.venue-directory-list{border-top:1px solid var(--border);margin-bottom:20px}.venue-directory-list>article{padding:17px 0;border-bottom:1px solid color-mix(in srgb,var(--ink) 26%,var(--paper))}.venue-row-heading{display:flex;gap:12px;align-items:baseline;justify-content:space-between}.venue-row-heading h2{font-size:18px;line-height:1.4;margin:0}.venue-row-heading small{color:var(--muted);font-size:11px;flex-shrink:0}.venue-directory-list article>p{font-size:13px;line-height:1.6;margin:5px 0}.venue-links{display:flex;gap:16px;flex-wrap:wrap;font-size:13px;margin:8px 0}.venue-private-note,.venue-research{font-size:12px;margin-top:10px}.venue-private-note summary,.venue-research summary{cursor:pointer;color:var(--accent);width:fit-content}.venue-research p{font-size:13px;line-height:1.6;max-width:850px}.venue-research a{display:inline-block;margin:2px 16px 4px 0}.venue-private-note label{margin-top:12px;max-width:700px;font-size:12px}.venue-private-note textarea{width:100%;min-height:64px}.venue-private-note button{margin:9px 10px 0 0;font-size:12px;padding:7px 10px}.venue-private-note small{color:var(--muted)}@media(max-width:699px){.concert-fields{gap:12px}.concert-time-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.concert-fields .field-pair{display:grid;grid-template-columns:minmax(0,1fr)}.concert-fields input,.concert-fields select,.personal-venue-form input,.personal-venue-form textarea,.venue-directory-filters input,.venue-private-note textarea{font-size:16px}.concert-fields select{max-width:100%;text-overflow:ellipsis}.venue-city-shortcuts button,.venue-field-tools button,.venue-links a{min-height:44px;display:inline-flex;align-items:center}.venue-directory-filters{grid-template-columns:minmax(0,1fr);gap:12px}.venue-row-heading{display:block}.venue-row-heading h2{font-size:17px}.venue-row-heading small{display:block;margin:4px 0}.venue-links{gap:0 16px;margin:0}.venue-city-shortcuts{gap:0 18px}.venue-city-shortcuts small{margin-left:0}.venue-private-note summary,.venue-research summary{min-height:44px;display:flex;align-items:center}.personal-venue-form{padding:12px}.personal-venue-form .button-row button,.venue-private-note button{min-height:44px}.venue-directory .page-heading{align-items:flex-start;flex-wrap:wrap}.venue-directory .lead{font-size:14px}}.card-metadata-form,.concert-fields,.create-form{grid-template-columns:minmax(0,1fr)}.card-metadata-form>label,.concert-fields .field-pair>label,.concert-time-fields>label,.create-form>label{min-width:0}@media(max-width:360px){.concert-time-fields>label:first-child,.concert-time-fields>label:last-child{grid-column:1/-1}}.concert-calendar{--calendar-line:color-mix(in srgb,var(--ink) 24%,var(--paper))}.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:12px}.calendar-month-nav{display:flex;align-items:center;gap:8px}.calendar-month-nav h2{font-size:21px;min-width:210px;text-align:center;text-transform:capitalize;font-variant-numeric:tabular-nums}.calendar-month-picker{font-size:11px;gap:2px}.calendar-month-picker input{font-size:13px;min-height:36px;padding:5px 8px}.calendar-help,.calendar-month-summary{font-size:12px;color:var(--muted);line-height:1.6}.calendar-help{margin:0 0 16px}.calendar-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,340px);gap:24px;align-items:start}.calendar-month{min-width:0}.calendar-grid,.calendar-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-weekdays span{text-align:center;padding:8px 0;font-size:12px;color:var(--muted)}.calendar-grid{border-top:1px solid var(--calendar-line);border-left:1px solid var(--calendar-line);background:var(--paper)}.calendar-day{border:0;border-radius:0;border-right:1px solid var(--calendar-line);border-bottom:1px solid var(--calendar-line);display:flex;align-items:stretch;justify-content:flex-start;flex-direction:column;gap:7px;padding:8px;min-width:0;min-height:104px;background:var(--paper);font-variant-numeric:tabular-nums;text-align:left;color:var(--ink)}.calendar-day:hover{background:var(--soft)}.calendar-day.is-outside{background:var(--bg);color:var(--muted)}.calendar-day.is-selected{background:var(--accent-soft);box-shadow:inset 0 0 0 2px var(--accent)}.calendar-day:focus-visible{outline-offset:-4px;position:relative;z-index:1}.calendar-day-top{display:flex;align-items:center;justify-content:space-between;gap:2px}.calendar-day-number{font-size:13px;line-height:24px;min-width:24px;text-align:center}.is-today .calendar-day-number{border-radius:50%;box-shadow:inset 0 0 0 1px var(--accent);color:var(--accent);font-weight:700}.calendar-day-count{background:var(--accent);color:#fff;font-size:11px;font-weight:700;line-height:19px;min-width:19px;padding:0 4px;text-align:center;border-radius:4px}.calendar-day-preview{display:grid;gap:5px;min-width:0}.calendar-day-preview>span{display:block;font-size:10px;line-height:1.35;font-weight:650;min-width:0}.calendar-day-preview>span>span{display:block;font-size:11px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.calendar-day-preview>small{font-size:10px;color:var(--muted)}.calendar-month-summary{margin:10px 0}.calendar-agenda{min-width:0;border-top:1px solid var(--calendar-line);padding-top:12px}.calendar-agenda-heading{display:flex;align-items:flex-start;gap:12px;flex-direction:column;margin-bottom:16px}.calendar-agenda-heading h2{font-size:18px;text-transform:capitalize;line-height:1.5}.calendar-agenda-heading .primary{font-size:12px;padding:8px 12px}.calendar-empty{font-size:14px;color:var(--muted);padding:12px 0}.calendar-event{border-bottom:1px solid var(--calendar-line);padding:12px 0}.calendar-event-heading{display:flex;align-items:flex-start;gap:8px;justify-content:space-between}.calendar-event-title{border:0;background:none;text-align:left;justify-content:flex-start;padding:0;min-height:32px;font-size:15px;font-weight:650;line-height:1.5;color:var(--accent);overflow-wrap:anywhere}.calendar-event-title:hover{background:none;text-decoration:underline}.calendar-event-heading>span{font-size:10px;flex-shrink:0;color:var(--muted);padding-top:7px}.calendar-event-time{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:12px;font-variant-numeric:tabular-nums;line-height:1.6;margin:5px 0}.calendar-event-location{font-size:12px;color:var(--muted);line-height:1.55;overflow-wrap:anywhere}.calendar-event-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px}.calendar-event-actions .text-button{font-size:12px;padding:5px 0}.calendar-delete,.danger-button{color:var(--danger)}.calendar-schedule-form{display:grid;gap:12px;margin:12px 0;padding:14px 0;border-top:1px solid var(--border)}.calendar-schedule-form h3{font-size:14px;overflow-wrap:anywhere}.calendar-schedule-form .concert-time-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.calendar-schedule-form label{font-size:11px}.calendar-schedule-form input,.calendar-schedule-form select{width:100%;min-width:0;font-size:13px;padding:7px 8px;min-height:38px}.calendar-schedule-form small{font-size:11px;color:var(--muted);line-height:1.6}.calendar-schedule-form button{font-size:12px;padding:7px 10px}.calendar-warning{display:block;font-size:12px;line-height:1.6;color:var(--danger);margin-top:7px}.calendar-secondary{border-top:1px solid var(--calendar-line);padding:14px 0;margin-top:16px}.calendar-secondary summary{cursor:pointer;color:var(--accent);font-size:14px;font-weight:600}.calendar-secondary>p{font-size:12px;color:var(--muted);margin:10px 0}.calendar-secondary .calendar-event{max-width:760px}.calendar-trash-row{display:flex;gap:16px;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border);padding:12px 0;max-width:760px}.calendar-trash-row>div{min-width:0}.calendar-trash-row strong{display:block;font-size:13px;overflow-wrap:anywhere}.calendar-trash-row small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.calendar-trash-row button{font-size:12px;flex-shrink:0}.calendar-agenda .calendar-create-form{margin:0;padding:0;border:0;background:transparent;max-width:100%;gap:12px}.calendar-agenda .calendar-create-form h2{font-size:16px}.calendar-agenda .calendar-create-form label{font-size:12px}.calendar-agenda .calendar-create-form .concert-time-fields,.calendar-agenda .calendar-create-form .field-pair{grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-agenda .calendar-create-form .field-pair{grid-template-columns:minmax(0,1fr)}.calendar-agenda .calendar-create-form input,.calendar-agenda .calendar-create-form select{font-size:13px;padding:8px}.calendar-agenda .calendar-create-form .venue-field-tools{align-items:flex-start}.calendar-agenda .calendar-create-form .button-row button{font-size:12px}@media(max-width:1239px){.calendar-layout{grid-template-columns:minmax(0,1fr);gap:20px}.calendar-agenda-heading{flex-direction:row;justify-content:space-between;align-items:center}.calendar-agenda .calendar-create-form{max-width:760px}.calendar-agenda .calendar-create-form .field-pair,.calendar-event-list{grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-event-list{display:grid;gap:0 24px}.calendar-event{min-width:0}}@media(max-width:699px){.calendar-toolbar{gap:10px}.calendar-month-nav{width:100%;justify-content:space-between;gap:0}.calendar-month-nav h2{font-size:19px;min-width:0}.calendar-month-nav button{min-width:44px;min-height:44px}.calendar-toolbar>.button-row{width:100%;justify-content:space-between}.calendar-month-picker{font-size:11px}.calendar-month-picker input{font-size:16px;min-height:44px;max-width:180px}.calendar-toolbar>.button-row>button{font-size:12px;min-height:44px}.calendar-day{min-height:64px;padding:6px 3px;gap:4px}.calendar-day-number{min-width:21px;line-height:23px;font-size:12px}.calendar-day-count{min-width:16px;padding:0 2px;line-height:17px;font-size:10px}.calendar-day-preview{display:none}.calendar-help,.calendar-month-summary,.calendar-weekdays span{font-size:11px}.calendar-layout{gap:14px}.calendar-agenda-heading{align-items:flex-start;flex-wrap:wrap;gap:10px}.calendar-agenda-heading h2{font-size:17px;flex-basis:100%}.calendar-agenda-heading .primary{min-height:44px}.calendar-event-list{display:block}.calendar-event-title{min-height:44px;font-size:16px}.calendar-event-actions .text-button{min-height:44px;padding:5px 3px;font-size:13px}.calendar-event-location,.calendar-event-time{font-size:13px}.calendar-event-heading>span{padding-top:14px}.calendar-agenda .calendar-create-form input,.calendar-agenda .calendar-create-form select,.calendar-schedule-form input,.calendar-schedule-form select{font-size:16px;min-height:44px}.calendar-schedule-form button,.calendar-trash-row button{min-height:44px}.calendar-agenda .calendar-create-form .field-pair{grid-template-columns:minmax(0,1fr)}.calendar-trash-row{align-items:flex-start;flex-wrap:wrap;gap:8px}.calendar-secondary summary{min-height:44px;display:flex;align-items:center}}@media(max-width:360px){.calendar-agenda .calendar-create-form .concert-time-fields>label:first-child,.calendar-agenda .calendar-create-form .concert-time-fields>label:last-child,.calendar-schedule-form .concert-time-fields>label:first-child,.calendar-schedule-form .concert-time-fields>label:last-child{grid-column:1/-1}}:root[data-theme=dark] .calendar-day-count{color:#21152e}@media(max-width:699px){.catalog:has(.concert-calendar)>.page-heading{margin-bottom:20px}.calendar-day{min-height:52px}.calendar-help{margin-bottom:10px}}.concert-list-create{margin:-8px 0 18px;display:flex;justify-content:flex-start}.concert-title-hint{display:flex;align-items:center;gap:8px 16px;flex-wrap:wrap;margin-top:-10px;color:var(--muted)}.concert-title-hint small{font-size:11px;line-height:1.55}.concert-title-hint button{font-size:12px;padding:4px 0}.time-field{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:12px}.concert-time-input{display:grid;grid-template-columns:minmax(0,1fr) 5px minmax(0,1fr);gap:4px;align-items:center;min-width:0}.concert-time-input>span{text-align:center}.concert-time-input select{min-width:0;width:100%;padding:8px 4px;font-variant-numeric:tabular-nums}.concert-time-fields{grid-template-columns:minmax(130px,1.3fr) repeat(2,minmax(122px,1fr)) minmax(126px,1fr)}.sidebar-toggle{position:absolute;right:-14px;top:86px;z-index:2;width:28px;min-height:32px;padding:4px;border-radius:6px;background:var(--paper);color:var(--accent)}@media(min-width:700px){.app-shell.sidebar-collapsed .sidebar{width:78px;padding:30px 8px 20px}.app-shell.sidebar-collapsed .brand{justify-content:center;padding:0;margin-bottom:34px}.app-shell.sidebar-collapsed .brand>span,.app-shell.sidebar-collapsed .nav-item>span,.app-shell.sidebar-collapsed .sidebar-foot>p,.app-shell.sidebar-collapsed .sync-state{display:none}.app-shell.sidebar-collapsed .nav-item{justify-content:center;padding:12px;position:relative}.app-shell.sidebar-collapsed .nav-item>svg{transform:translateX(-6px)}.app-shell.sidebar-collapsed .nav-item small{display:inline-flex;align-items:center;justify-content:center;position:absolute;right:2px;top:2px;margin:0;min-width:18px;height:17px;padding:0 3px;border-radius:4px;background:var(--soft);color:var(--ink);font-size:10px;line-height:1;font-variant-numeric:tabular-nums}.app-shell.sidebar-collapsed .nav-item.active small{background:var(--accent);color:var(--paper)}.app-shell.sidebar-collapsed .main{margin-left:78px;width:calc(100% - 78px)}.app-shell.sidebar-collapsed .sidebar-toggle{top:63px}.app-shell.sidebar-collapsed .sidebar-foot{display:grid;padding:20px 0 0}.app-shell.sidebar-collapsed .sidebar-foot>.text-button{font-size:0;justify-content:center;padding:8px;min-height:40px}.app-shell.sidebar-expanded .sidebar{width:212px;padding:30px 16px 20px}.app-shell.sidebar-expanded .brand{justify-content:flex-start;padding:0 12px;margin-bottom:42px}.app-shell.sidebar-expanded .brand>span,.app-shell.sidebar-expanded .nav-item>span{display:inline}.app-shell.sidebar-expanded .nav-item{justify-content:flex-start;padding:12px}.app-shell.sidebar-expanded .nav-item small{display:inline;margin-left:auto}.app-shell.sidebar-expanded .sidebar-foot{display:grid}.app-shell.sidebar-expanded .main{margin-left:212px;width:calc(100% - 212px)}:root[data-theme=dark] .app-shell.sidebar-collapsed .nav-item.active small{color:#21152e}}@media(min-width:700px) and (max-width:1099px){.app-shell.sidebar-auto .sidebar-toggle{top:60px}.app-shell.sidebar-auto .nav-item{position:relative}.app-shell.sidebar-auto .nav-item>svg{transform:translateX(-6px)}.app-shell.sidebar-auto .nav-item small{display:inline-flex;align-items:center;justify-content:center;position:absolute;right:2px;top:2px;min-width:18px;height:17px;padding:0 3px;border-radius:4px;background:var(--soft);color:var(--ink);font-size:10px;line-height:1}.app-shell.sidebar-auto .nav-item.active small{background:var(--accent);color:var(--paper)}}@media(max-width:1099px){.concert-time-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:699px){.sidebar-toggle{display:none}.concert-time-input select{font-size:16px;min-height:44px;padding:8px 4px}.concert-title-hint button{min-height:44px}.calendar-agenda .calendar-create-form .concert-time-input select,.calendar-schedule-form .concert-time-input select{padding:8px 4px}.concert-title-hint{margin-top:-4px}}@media(pointer:coarse) and (min-width:700px){.sidebar-toggle{width:36px;min-height:44px;right:-18px}}.concert-list-entry{border-bottom:1px solid var(--border)}.concert-list-entry>.material-row{border-bottom:0;padding-bottom:10px}.concert-list-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:18px;padding:0 18px 12px}.concert-list-actions .text-button{font-size:12px;padding:4px 0}.undated-label{font-weight:650;color:var(--accent)}.calendar-undated-notice{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;margin:0 0 18px;border-block:1px solid var(--border)}.calendar-undated-notice p{font-size:12px;line-height:1.6;color:var(--muted)}.calendar-undated-notice strong{color:var(--ink)}.calendar-undated-notice button{font-size:12px;flex-shrink:0}.concert-copy-form{scroll-margin-top:16px;margin:18px 0 24px}.concert-copy-form h2:focus{outline:none}.copy-form-description{font-size:13px;color:var(--muted);line-height:1.6}.concert-created-notice{display:flex;align-items:center;gap:14px;padding:14px 0;margin:14px 0 18px;border-block:1px solid var(--border)}.concert-created-notice>div{flex:1}.concert-created-notice strong{font-size:15px;color:var(--accent)}.concert-created-notice p{font-size:12px;line-height:1.6}.concert-created-notice button{font-size:12px}.calendar-event{scroll-margin-top:16px}@media(max-width:699px){.concert-list-actions{justify-content:flex-start;gap:18px;padding:0 0 12px}.concert-list-actions .text-button{min-height:44px;font-size:13px}.calendar-undated-notice{align-items:flex-start;flex-direction:column;gap:8px}.calendar-undated-notice button{min-height:44px}.concert-created-notice{align-items:flex-start;flex-wrap:wrap}.concert-created-notice>div{flex-basis:100%}.concert-created-notice button{min-height:44px}.concert-copy-form{margin:14px 0 22px}}