:root{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:#25231f;background:#f8f6f1}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #ae6e39;outline-offset:2px}[hidden]{display:none!important}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.17em;color:#ad6b38}.muted{color:#847f78}.error{color:#b33535}.primary{border:0;background:#b66d3f;color:#fff;padding:13px 19px;border-radius:9px;font-weight:700}.primary:hover{background:#99562c}.gate{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 80% 10%,#e5d6bf,transparent 40%),#f8f6f1}.gate-card{background:white;max-width:430px;width:100%;padding:45px;border:1px solid #e8e2d8;border-radius:18px;box-shadow:0 20px 70px #30251914}.gate-card h1{font-family:Georgia,serif;font-size:36px;line-height:1.1;margin:12px 0}.gate-card p{color:#716b62;line-height:1.5}.gate-card form{display:grid;gap:10px;margin-top:28px}.gate-card input{padding:13px;border:1px solid #d9d2c7;border-radius:8px}.gate-card label{font-weight:700;font-size:13px}#app{display:flex;min-height:100vh}.sidebar{width:222px;flex:none;background:#242822;color:#e7e8dc;padding:28px 14px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:11px;padding:0 13px 40px;font-weight:900;font-size:12px;line-height:1.1;letter-spacing:.16em}.mark{font-family:Georgia,serif;font-size:25px;background:#c17a4c;color:#fff;border-radius:8px;padding:7px 11px}.side-label{font-size:10px;letter-spacing:.18em;color:#aaa99d;padding:0 13px 15px}.nav{display:block;text-align:left;color:#d5d6cc;background:none;border:0;padding:13px 14px;border-radius:8px;width:100%;font-size:13px;margin-bottom:3px}.nav:hover,.nav.active{background:#3d433a;color:#fff}.side-bottom{margin-top:auto;border-top:1px solid #454940;padding-top:14px}main{max-width:1540px;min-width:0;width:100%;padding:42px clamp(18px,4vw,64px);margin:auto}header{display:flex;align-items:center;justify-content:space-between;gap:20px}h1,h2{font-family:Georgia,serif;font-weight:500}header h1{font-size:clamp(32px,4vw,52px);margin:10px 0 7px}header p{color:#817b71;margin:0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:34px 0}.stat{background:#fff;border:1px solid #ece8e1;border-radius:13px;padding:21px 23px;display:grid;gap:9px}.stat span{font-size:10px;color:#9a8a79;letter-spacing:.13em;font-weight:800}.stat strong{font-family:Georgia,serif;font-size:36px;font-weight:500}.stat small{color:#969087}.stat.accent{background:#e8eee7;border-color:#d9e4d7}.weekly{background:#eae4d9;border-radius:16px;padding:25px 29px;margin-bottom:36px}.weekly h2,.library h2{font-size:29px;margin:8px 0 18px}.picks{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.pick{border:1px solid #e5ded3;background:#fffcf8;border-radius:10px;padding:17px;text-align:left;min-height:100px}.pick:hover{border-color:#af7349}.pick small{display:block;color:#ab7048;font-weight:800;letter-spacing:.09em;margin-bottom:9px}.pick strong{font-family:Georgia,serif;font-size:18px;font-weight:500}.pick span{display:block;color:#898177;margin-top:5px}.library{background:white;border:1px solid #eae6df;border-radius:16px;padding:26px}.section-head{display:flex;justify-content:space-between;align-items:center}.filters{display:flex;flex-wrap:wrap;gap:8px;margin:5px 0 21px}.filters input,.filters select{border:1px solid #e2ded7;border-radius:8px;padding:10px 11px;background:#fff;color:#4d4b45;font-size:12px;max-width:190px}.filters #search{flex:2;min-width:210px;max-width:none}.filters #directorFilter{width:125px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:700px}th{text-align:left;color:#9b958d;font-size:10px;letter-spacing:.13em;padding:12px 9px;border-bottom:1px solid #eae7e1}td{border-bottom:1px solid #f0eee9;padding:14px 9px;font-size:13px;color:#777268}td:first-child{color:#292722;font-weight:650;max-width:300px}td button{background:none;border:0;color:#a86035;font-weight:700}.badge{display:inline-block;background:#f3f0ea;border-radius:20px;padding:5px 8px;color:#756d63;font-size:11px}.badge.watched{background:#e6f0e5;color:#527252}.badge.next{background:#f8eee0;color:#a36b39}.badge.revisit{background:#ece8f6;color:#6b5d9c}.old{color:#b97845;font-size:10px;font-weight:800}.pagination{display:flex;justify-content:center;align-items:center;gap:18px;padding:22px;color:#777}.pagination button,.actions button:not(.primary),.close{border:1px solid #dfd8ce;background:white;border-radius:8px;padding:9px 12px}.pagination button:disabled{opacity:.35;cursor:default}footer{display:flex;justify-content:space-between;color:#9a948b;font-size:11px;padding:19px 4px}.modal{position:fixed;inset:0;background:#1e211db8;display:grid;place-items:center;padding:12px;z-index:10}.editor{background:#fff;border-radius:16px;width:min(800px,100%);max-height:94vh;overflow:auto;padding:27px}.editor-head{display:flex;justify-content:space-between;align-items:start}.editor h2{margin:7px 0 25px}.close{font-size:22px;line-height:1}.editor form{display:grid;gap:13px}.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.editor label{font-size:12px;font-weight:700;color:#777068;display:grid;gap:5px}.editor input,.editor textarea,.editor select{width:100%;border:1px solid #dfdad3;border-radius:7px;padding:10px;color:#292722;background:#fff}.editor textarea{resize:vertical}.editor .check{display:flex;align-items:center;gap:8px}.check input{width:auto}.actions{display:flex;gap:8px;align-items:center;padding-top:12px}.grow{flex:1}.danger{color:#b03a37}.actions .danger[hidden]{display:none}@media(max-width:900px){.sidebar{width:70px;padding:18px 8px}.brand{padding:5px 2px 30px}.brand span:last-child,.side-label{display:none}.nav{font-size:0;text-align:center;padding:12px 0}.nav:first-letter{font-size:20px}.stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){#app{display:block}.sidebar{width:100%;height:auto;position:static;display:flex;flex-direction:row;overflow:auto;padding:8px;gap:4px}.brand,.side-label,.side-bottom{display:none}.nav{font-size:12px;white-space:nowrap;width:auto;padding:10px}.nav:first-letter{font-size:12px}main{padding:22px 14px}header{align-items:start}header .primary{white-space:nowrap}.stats{gap:8px;margin:22px 0}.stat{padding:15px}.stat strong{font-size:28px}.weekly,.library{padding:18px}.picks{grid-template-columns:1fr}.pick{min-height:0}.grid{grid-template-columns:1fr}.editor{padding:18px}footer{display:block}}
