.hero{background:transparent;color:var(--ink);padding:24px 0 12px;display:block}.hero--admin{display:flex;align-items:center;justify-content:space-between;gap:12px}h1{margin:8px 0 12px;font-size:clamp(30px,4vw,40px);line-height:1.1;font-family:Space Grotesk,Sora,sans-serif;letter-spacing:-.02em;color:var(--primary)}h2{margin:4px 0 8px;font-size:28px}h3{margin:0;font-size:20px}.accent{color:var(--secondary)}.lead{margin:0 0 10px;color:#0a0a0a}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:12px;margin:0;color:#a7bac8;font-weight:600}.hero__actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:12px}.chips{display:flex;gap:10px;flex-wrap:wrap}.chip{background:#ffffff1f;color:#fff;padding:8px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.2);font-size:13px}.badge{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:12px;background:#06466324;color:var(--ink);font-weight:600}.badge--ghost{background:#eef3f6;color:var(--muted)}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 16px;border-radius:12px;border:1px solid transparent;font-weight:600;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,background .15s ease,color .15s ease}.button.primary{background:var(--secondary);color:#0f1820;box-shadow:0 12px 35px #f5884059}.button.primary:hover{transform:translateY(-1px)}.button.ghost{background:transparent;color:inherit;border:1px solid var(--border)}.button.danger{background:#ffe7e2;color:#a0311f;border-color:#ffd0c5}.button.small{padding:8px 12px;font-size:13px}.panel{margin-top:36px;background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:28px;box-shadow:0 12px 40px #060c2214}.panel--light{background:linear-gradient(180deg,#f9fafb,#fff)}.section__header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;flex-wrap:wrap;margin-bottom:18px}.muted{color:var(--muted);margin:6px 0 0}.filters{display:flex;gap:10px;flex-wrap:wrap;overflow-x:auto;padding-bottom:6px}.pill{padding:10px 14px;border-radius:12px;border:1px solid var(--border);background:var(--surface);color:var(--ink);cursor:pointer;max-width:320px;box-shadow:0 4px 12px #0000000a}.pill--active{background:var(--primary);color:#f5fbff;border-color:var(--primary)}.pill--counter{background:#e9eef3;color:#1b2836;border-color:#d5dce4;padding:6px 12px;border-radius:10px;min-width:70px;text-align:center}.search input{border:1px solid var(--border);border-radius:12px;padding:10px 12px;width:390px;max-width:100%;font-family:inherit;background:#fdfdfd}.search--inline input{width:min(480px,100%)}.search--resources input{width:min(540px,100%);min-width:0;max-width:100%;flex-shrink:0}.grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}.resources-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.card{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:18px;display:grid;gap:12px;position:relative}.card__header,.card__footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.card__footer{flex-wrap:wrap}.resource-actions{display:flex;align-items:center;gap:8px}.stat{padding:10px 12px;background:#ffffff14;border:1px solid rgba(255,255,255,.12);border-radius:14px}.stat__label{margin:0;color:#c5d3dc;font-size:13px}.stat__value{margin:4px 0 0;font-size:28px;font-weight:700}.stat__meta{margin:6px 0 0;color:#e1e7ed}.site-mark{font-size:28px;font-weight:700;color:#f5fbff;letter-spacing:-.01em}.stat--muted{background:#ffffff0a}.link{color:var(--primary);font-weight:600}.panel .card.category-card h3{margin:0;word-break:break-word}.panel .card.category-card{min-height:140px;text-align:center;align-items:center;justify-items:center;align-content:center;position:relative;transition:transform .15s ease,box-shadow .15s ease;cursor:pointer}.category-count{width:28px;height:28px;border-radius:50%;background:var(--secondary);color:#0f1820;display:flex;align-items:center;justify-content:center;font-weight:700;position:absolute;top:10px;right:10px;font-size:13px}.panel .card.category-card:hover{transform:translateY(-2px);box-shadow:0 10px 20px #0646631f}.loading{padding:16px;color:var(--muted)}.panel .card.resource-card h3{margin:2px 0 4px}.panel .card.resource-card .eyebrow{color:var(--primary)}.section__header .tag{background:#f588401f;border:1px solid rgba(245,136,64,.3);padding:8px 14px;border-radius:12px;color:#a34a1e}.form{gap:14px}.form label{display:grid;gap:6px;font-weight:600;color:var(--ink)}.form input,.form textarea,.form select{width:100%;border-radius:12px;border:1px solid var(--border);padding:10px 12px;font-family:inherit;background:#fdfdfd}.form textarea{resize:vertical}.combo{border:1px solid var(--border);border-radius:12px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;-webkit-user-select:none;user-select:none;background:#fdfdfd;font-size:14px;font-weight:500}.combo__value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.combo__chevron{font-size:12px;color:var(--muted)}.checkbox--inline{display:inline-flex;flex-direction:row;align-items:center;gap:6px;font-size:12px;font-weight:400;color:var(--muted);margin-top:6px}.form .checkbox--inline{display:inline-flex;flex-direction:row;align-items:center;gap:6px;padding:0}.checkbox--inline input{width:14px;height:14px;flex-shrink:0}.checkbox__hint{font-size:12px;font-weight:400;color:var(--muted);display:inline}.combo__list{position:absolute;top:calc(100% + 6px);left:0;width:100%;max-height:320px;overflow-y:auto;background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:0 12px 30px #0000001f;display:grid;gap:4px;padding:8px;z-index:30}.combo__option{width:100%;text-align:left;padding:3px 10px;border:1px solid transparent;background:transparent;border-radius:10px;cursor:pointer;font-size:14px;font-weight:400;font-family:inherit;color:inherit}.combo__option:hover,.combo__option:focus-visible{background:#f5f7fb;outline:none}.combo__option.is-selected{border-color:var(--primary);background:#f1f7fb}.search input{border:1px solid var(--border);border-radius:12px;padding:10px 12px;width:390px!important;max-width:100%;font-family:inherit;background:#fdfdfd;flex:0 0 auto}.search--inline input{width:min(480px,100%)!important;flex:0 0 auto}.search--resources input{width:min(540px,100%)!important;min-width:0;max-width:100%;flex-shrink:0;flex:0 0 auto}.search,.search--inline,.search--resources{flex:0 0 auto}.upload-dropzone{position:relative;overflow:hidden;transition:border .15s ease,background .15s ease;border:none;border-radius:20px}.upload-dropzone.is-dragover{background:#f5fbff;box-shadow:inset 0 0 0 2px #06466352}.drop-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#040c220f;color:var(--ink);font-weight:700;letter-spacing:.01em;pointer-events:none;border-radius:18px;z-index:1}.form__header{display:flex;align-items:center;justify-content:space-between;gap:14px}.form.compact{padding:18px 18px 20px}.stack{display:grid;gap:12px}.admin-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px;margin-bottom:18px}.file input[type=file]{display:inline-block;padding:6px 10px;background:#fff;border:1px solid var(--border);border-radius:8px}.table{display:grid;gap:8px}.table-toolbar{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}.table-toolbar label{display:grid;gap:6px;font-weight:600;color:var(--ink)}.table-toolbar select{border-radius:10px;border:1px solid var(--border);padding:8px 10px;background:#fdfdfd;font-family:inherit}.table--resources{max-height:580px;overflow-y:auto;padding-right:4px}.table--categories{max-height:340px;overflow-y:auto;padding-right:4px}.table--resources .table__head{position:sticky;top:0;background:#fff;z-index:1;padding:8px 0}.table--resources .table__head span,.table--resources .table__head button{display:inline-flex;justify-content:flex-start;text-align:left}.table--categories .table__head{position:sticky;top:0;background:#fff;z-index:1;padding:8px 0}.table--categories .table__head span,.table--categories .table__head button{display:inline-flex;justify-content:flex-start;text-align:left}.table.table--categories{width:100%}.table__head,.table__row{display:grid;grid-template-columns:1.4fr 1.1fr 1.6fr .9fr 1.2fr;gap:12px;align-items:center}.table__sort{display:inline-flex;align-items:center;gap:6px;background:none;border:none;padding:0;font:inherit;color:inherit;cursor:pointer;text-align:left}.table__sort-icon{font-size:12px;color:var(--muted)}.table--simple .table__head,.table--simple .table__row{grid-template-columns:1fr auto}.table__head{font-weight:700;color:var(--muted);border-bottom:1px solid var(--border);padding-bottom:8px;text-align:left}.table__row{padding:10px 0;border-bottom:1px solid #eef1f5}.table__actions{display:flex;gap:8px;align-items:center}.table--categories .table__head,.table--categories .table__row{grid-template-columns:minmax(0,3.5fr) minmax(200px,.8fr);justify-items:start;text-align:left}.table.table--categories .table__head span:last-child{justify-self:start;text-align:left}.table--categories .table__actions{justify-content:flex-start;justify-self:start;text-align:left}.table--categories .table__row>span{justify-self:start;text-align:left}.table__link{background:none;border:none;padding:0;color:var(--primary);font-weight:600;cursor:pointer;text-align:left}.table__link:hover,.table__link:focus-visible{text-decoration:underline;outline:none}.table__note{color:var(--muted);line-height:1.4;white-space:normal;word-break:break-word;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.note-preview{margin:4px 0 0;color:var(--muted);font-size:13px;line-height:1.35}.tag{display:inline-flex;padding:6px 12px;border-radius:10px;background:#eef1f7;color:var(--muted)}.toast-container{position:fixed;top:14px;left:50%;transform:translate(-50%);z-index:999;display:grid;gap:10px;max-width:320px;width:calc(100% - 24px)}.toast{padding:12px 14px;border-radius:12px;font-weight:600;color:#0c2742;border:1px solid transparent;box-shadow:0 10px 24px #00000014;text-align:center;opacity:1;transition:opacity .2s ease}.toast--success{background:#e8f7ed;border-color:#b7e4c3;color:#155724}.toast--warning{background:#fff8e6;border-color:#ffe1a8;color:#8a5900}.toast--error{background:#ffeaea;border-color:#f4b4b4;color:#8f1f1f}.toast--fade{opacity:0}.top-actions{display:none}.app-shell{min-height:100vh;display:flex;flex-direction:column}.page-body{flex:1;display:flex;flex-direction:column}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#04000b66;display:flex;align-items:center;justify-content:center;padding:16px;z-index:998}.modal{background:#fff;border-radius:18px;padding:22px;max-width:640px;width:100%;box-shadow:0 20px 50px #0000001f;display:grid;gap:14px}.modal__header{display:grid;grid-template-columns:1fr auto;align-items:flex-start;gap:12px;width:100%}.modal-resources{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.resource-pill{justify-content:center;text-align:center;font-weight:600;white-space:normal;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-height:3.6em;text-overflow:ellipsis;word-break:break-word}.error{color:#a0311f;margin:4px 0 0}.footer{text-align:center;padding:1.75rem 1rem;color:var(--muted);font-size:.9rem;margin-top:auto}.footer p{margin:0}.footer .footer-credit{display:inline-flex;align-items:center;gap:.35rem;margin-left:0;font:inherit;color:inherit}.footer .footer-heart{display:inline-flex;align-items:center;justify-content:center;color:#f46882;text-decoration:none;padding:.1rem;border-radius:999px;transition:transform var(--transition-speed),color var(--transition-speed),background-color var(--transition-speed)}.footer .footer-heart:hover,.footer .footer-heart:focus-visible{color:#cf3f63;background-color:#f468821f;outline:none}.footer .footer-separator{margin-left:.5rem;margin-right:.5rem;font:inherit;color:inherit}.footer-heartbeat{display:inline-block;color:currentColor;animation:footer-heartbeat 1.4s ease-in-out infinite;transform-origin:center}@keyframes footer-heartbeat{0%{transform:scale(1)}25%{transform:scale(1.15)}40%{transform:scale(.95)}60%{transform:scale(1.08)}to{transform:scale(1)}}@media (max-width: 900px){.hero{grid-template-columns:1fr}}@media (max-width: 640px){.hero,.panel{padding:22px}.card__header,.card__footer,.table__head,.table__row{grid-template-columns:1fr;align-items:flex-start}.table--resources .table__head{display:none}.table--resources .table__row{border:1px solid var(--border);padding:14px;border-radius:12px;gap:10px}.table.table--categories{width:100%}.table__actions{justify-content:flex-start}.search input,.search--inline input,.search--resources input{width:100%!important;max-width:100%}.hero__actions{flex-direction:column;align-items:stretch}}:root{--primary: #064663;--secondary: #f58840;--background: #f6f4f9;--ink: #04000b;--surface: #ffffff;--muted: #6b7280;--border: #d7dce3;--glow: 0 20px 70px rgba(6, 70, 99, .15);font-family:Sora,Space Grotesk,system-ui,-apple-system,sans-serif;line-height:1.5;font-weight:400;color:var(--ink);background:var(--background)}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at 20% 20%,rgba(6,70,99,.08),transparent 25%),radial-gradient(circle at 80% 0%,rgba(245,136,64,.1),transparent 30%),var(--background);color:var(--ink);-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font-family:inherit}.app-shell{max-width:1200px;margin:0 auto;padding:32px 20px 0}
