/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.fixed{position:fixed}.contents{display:contents}.flex{display:flex}.grid{display:grid}.table{display:table}.flex-wrap{flex-wrap:wrap}.border{border-style:var(--tw-border-style);border-width:1px}.uppercase{text-transform:uppercase}.italic{font-style:italic}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}.location-breadcrumb{margin:1rem 0}.location-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin:1rem 0;display:grid}.location-tile{text-align:left;background:var(--surface);border:1px solid var(--border);color:var(--accent);flex-direction:column;gap:.6rem;padding:1.2rem;display:flex}.location-tile span{font-size:.85rem}.cover-button{cursor:zoom-in;background:0 0;flex-shrink:0;padding:0}.cover-button:hover:not(:disabled){filter:none}.cover-button:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.cover-modal{background:var(--surface);max-width:94vw;max-height:94dvh;color:var(--text);border:0;border-radius:12px;margin:auto;padding:1rem}.cover-modal::backdrop{background:#000000b8}.cover-modal-content{flex-direction:column;align-items:center;gap:.75rem;display:flex}.cover-modal-close{align-self:flex-end}.cover-modal img{object-fit:contain;width:auto;max-width:min(600px,84vw);height:auto;max-height:72dvh;display:block}.cover-modal p{text-align:center;overflow-wrap:anywhere;max-width:600px;margin:0}body:has(.cover-modal[open]){overflow:hidden}.cover-thumb,.cover-preview{object-fit:contain;background:var(--surface);border:1px solid var(--border);border-radius:4px;flex-shrink:0}.cover-preview{margin-bottom:1rem}.cover-thumb{width:120px;height:180px}@media (width<=600px){.cover-thumb{width:96px;height:144px}}:root{color:var(--text);background:var(--bg);font-family:Inter,system-ui,sans-serif;font-size:15px}body{margin:0}button,a,input,select,textarea{font:inherit}button,.button{background:var(--accent);color:var(--on-accent);cursor:pointer;border:0;border-radius:7px;padding:.7rem 1rem;text-decoration:none;display:inline-block}button.secondary,.button.secondary{background:var(--secondary);color:var(--text)}button:disabled{opacity:.5;cursor:wait}button:hover:not(:disabled){filter:brightness(1.12)}input,select,textarea{background:var(--surface);border:1px solid var(--border);box-sizing:border-box;width:100%;color:var(--text);border-radius:6px;padding:.65rem .75rem}input[type=checkbox]{width:auto}label{color:var(--muted);flex-direction:column;gap:.4rem;font-size:.88rem;display:flex}h1{margin:.4rem 0 1rem;font-family:Georgia,serif;font-size:2.5rem;line-height:1.15}h2{margin:1.2rem 0;font-size:1.3rem;font-weight:650}p{margin:.5rem 0 1rem}.muted{color:var(--muted)}.shell{max-width:1160px;margin:auto;padding:2rem}.header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;margin-bottom:2rem;padding-bottom:1.2rem;display:flex}.brand{letter-spacing:-1px;font-family:Georgia,serif;font-size:2rem}.actions{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.card{background:var(--surface);border:1px solid var(--border);border-radius:10px;margin-bottom:1rem;padding:1.3rem}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.wide{grid-column:1/-1}.alert{background:var(--alert-bg);color:var(--alert-text);border-radius:8px;margin:1rem 0;padding:1rem}.success{background:var(--success-bg);color:var(--success-text)}.login{width:100%;max-width:440px;margin:0}.row{justify-content:space-between;align-items:center;gap:1rem;display:flex}.book-title{color:var(--accent);text-align:left;background:0 0;padding:0;font-size:1.15rem;font-weight:600}.tag{background:var(--secondary);border-radius:4px;padding:.25rem .5rem;font-size:.75rem}.toolbar{grid-template-columns:2fr 1fr 1fr auto;gap:.7rem;margin:1rem 0;display:grid}.author{grid-template-columns:1.5fr 1fr 1fr 1fr auto;gap:.6rem;margin-bottom:.7rem;display:grid}iframe{border:1px solid var(--border);width:100%;height:75vh}textarea{min-height:100px}pre{white-space:pre-wrap;font:inherit}small{color:var(--muted)}a{color:var(--accent)}@media (width<=700px){.shell{padding:1rem}.grid,.toolbar,.author{grid-template-columns:1fr}.header{align-items:flex-start;gap:1rem}.row{flex-wrap:wrap;align-items:flex-start}h1{font-size:2rem}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f7f3e9;--surface:#fffdf7;--text:#292218;--muted:#70614b;--accent:#785315;--danger:#a12a1f;--on-accent:#fffdf7;--secondary:#eee3cc;--border:#d7c8aa;--alert-bg:#fff0d2;--alert-text:#704708;--success-bg:#e5eddb;--success-text:#385029}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#13110e;--surface:#201c16;--text:#f4ecd9;--muted:#c2b59d;--accent:#e2b45f;--danger:#f2a39b;--on-accent:#241b0b;--secondary:#372d1d;--border:#58482e;--alert-bg:#3d2d12;--alert-text:#f3ce86;--success-bg:#27341f;--success-text:#c5dfb3}*{box-sizing:border-box}:focus-visible{outline:3px solid var(--accent);outline-offset:3px}input[type=checkbox]{accent-color:var(--accent)}input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}.tag{color:var(--text)}.brand-link{flex-shrink:0;align-items:center;gap:.8rem;text-decoration:none;display:flex}.brand-link img{object-fit:contain}.brand{letter-spacing:.08em}.brand-caption{font-size:.8rem;font-style:italic}.header{flex-wrap:wrap;gap:1rem}.header-actions{justify-content:flex-end}.theme-toggle{white-space:nowrap}.theme-toggle span{margin-right:.3rem}.login-layout{grid-template-columns:1fr 1fr;align-items:center;gap:3rem;max-width:960px;min-height:70vh;margin:auto;display:grid}.login-art{justify-content:center;display:flex}.login-logo{border-radius:18px;width:100%;max-width:400px;height:auto;display:block;box-shadow:0 16px 50px #0003}.login{padding:2rem}@media (width<=700px){.login-layout{grid-template-columns:1fr;gap:1.5rem;min-height:auto}.login-logo{max-width:230px}.login{margin:auto;padding:1.3rem}.header-actions{justify-content:flex-start}.brand-caption{font-size:.72rem}}.login-logo{background:#f7f3e9}.detail-heading{align-items:flex-start;gap:1.5rem;display:flex}.detail-heading>div{min-width:0}.detail-heading h1{overflow-wrap:anywhere}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.detail-grid dt{color:var(--muted);margin-bottom:.25rem;font-size:.85rem}.detail-grid dd{overflow-wrap:anywhere;margin:0}.detail-text{white-space:pre-wrap;overflow-wrap:anywhere}h3{margin:1rem 0 .6rem;font-weight:600}@media (width<=700px){.detail-heading{flex-direction:column}.detail-grid{grid-template-columns:1fr}}.update-notice{z-index:20;background:var(--secondary);color:var(--text);border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:center;align-items:center;gap:1rem;padding:.8rem 1rem;display:flex;position:sticky;top:0}.danger:not(:disabled){color:var(--danger)}.lookup-progress{border:1px solid var(--border);background:var(--bg);border-radius:8px;margin-top:1rem;padding:.8rem 1rem}.lookup-progress-head{flex-wrap:wrap;justify-content:space-between;gap:1rem;font-weight:600;display:flex}.lookup-progress progress{appearance:none;background:var(--border);border:0;border-radius:999px;width:100%;height:.6rem;margin:.5rem 0;overflow:hidden}.lookup-progress progress::-webkit-progress-bar{background:var(--border)}.lookup-progress progress::-webkit-progress-value{background:var(--accent);transition:width .2s}.lookup-progress progress::-moz-progress-bar{background:var(--accent)}.lookup-progress ol{max-height:9rem;color:var(--muted,inherit);margin:0;padding-left:1.2rem;font-size:.85rem;overflow-y:auto}.candidate.chosen{border:2px solid var(--accent)}.chosen-tag{background:var(--accent);color:var(--surface);font-weight:600}.link-button{color:var(--accent);cursor:pointer;background:0 0;border:0;padding:0;font-size:.85rem;text-decoration:underline}.icon-button{min-width:2.6rem;font-size:1.15rem;line-height:1}.menu-wrap{position:relative}.menu{z-index:30;background:var(--surface);border:1px solid var(--border);border-radius:8px;flex-direction:column;min-width:11rem;padding:.3rem;display:flex;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 8px 24px #0000002e}.menu button{text-align:left;color:inherit;background:0 0;border:0;border-radius:6px}.menu button:hover,.menu button:focus-visible{background:var(--bg)}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
