:root{color-scheme:light;--ink:#322016;--muted:#816a59;--line:#e5d5c5;--cream:#fbf7f0;--amber:#d99745;--coffee:#3b2418;--gold:#f4cd83;--green:#215548;font:16px/1.5 system-ui,-apple-system,'Segoe UI',Arial,sans-serif}
*{box-sizing:border-box}html{min-width:320px}body{margin:0;color:var(--ink)}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #d89941;outline-offset:3px}
.portal-background{min-height:100vh;background:radial-gradient(ellipse at 6% 0%,#f6d6ae 0%,transparent 38%),radial-gradient(ellipse at 90% 60%,#d4b5a4 0%,transparent 35%),linear-gradient(125deg,#fffefa,#f5e8da)}
.portal-header{min-height:78px;background:linear-gradient(115deg,#28160e,#4b2c1c 58%,#23150f);color:#fcecd4;padding:15px clamp(18px,4vw,64px);display:flex;align-items:center;justify-content:space-between;gap:18px;box-shadow:0 12px 35px #3b1f1a3b;flex-wrap:wrap}.portal-brand{display:flex;align-items:center;gap:10px;color:#efcc8f;font-size:22px;font-weight:850}.portal-brand strong{letter-spacing:-.06em;color:#fff}.portal-brand span{color:#f4c268}.portal-header>a:last-child{font-size:14px;font-weight:750}
.portal-shell{padding:clamp(22px,5vw,70px) 18px;min-height:calc(100vh - 160px);display:grid;place-items:start center}.portal-card{position:relative;border:1px solid #efe0cf;background:linear-gradient(142deg,#fffefb,#fff8f1);border-radius:32px;padding:clamp(22px,4vw,45px);box-shadow:0 24px 80px #5f301a1c,0 8px 20px #6f391411;overflow:hidden}.portal-card:before{content:'';pointer-events:none;position:absolute;right:-75px;top:-95px;width:220px;height:220px;border:1px solid #d9b37b;border-radius:40% 60% 42% 58%;transform:rotate(35deg);box-shadow:0 0 0 24px #f6e3cb40,0 0 0 52px #f6e3cb25}.account-card{width:min(100%,530px)}.portal-card h1{font-size:clamp(28px,3vw,40px);line-height:1.17;letter-spacing:-.035em;margin:10px 0 23px}.portal-eyebrow{font-size:11px;letter-spacing:.18em;font-weight:850;color:#a16c3f}.portal-lead{max-width:600px;color:var(--muted);line-height:1.65}.portal-form{display:grid;gap:18px}.portal-form label,.admin-field{display:grid;gap:7px;font-size:13px;font-weight:750;color:#60422f}.portal-form input:not([type=checkbox]),.portal-form select,.admin-field input,.admin-field select,.admin-field textarea{width:100%;max-width:100%;border:1px solid #d9c7b3;border-radius:14px;padding:12px 14px;min-height:48px;background:#fff;box-shadow:inset 0 1px 3px #76554012;color:#30221b}.admin-field textarea{min-height:120px;resize:vertical}.portal-form select,.admin-field select{appearance:auto}.portal-button{display:inline-flex;align-items:center;justify-content:center;border:none;border-radius:14px;color:#fffdf8;background:linear-gradient(120deg,#4e2e1d,#8c542b);box-shadow:0 10px 21px #5f2e1d30;padding:13px 21px;font-weight:790;font-size:14px;line-height:1.25;min-height:45px;margin-top:7px;transition:transform .2s,box-shadow .2s}.portal-button:hover{transform:translateY(-2px);box-shadow:0 15px 26px #5f2e1d3a}.portal-button.secondary{color:#6f401d;background:#fff3e4;border:1px solid #d8b28b;box-shadow:none}.portal-note{color:var(--muted);font-size:13px}.portal-note a{color:#855025;text-decoration:underline;text-underline-offset:3px;font-weight:800}.portal-alert{border-radius:12px;padding:13px 15px;font-size:13px;margin:14px 0}.portal-alert.error{background:#fff2ed;color:#953925;border:1px solid #e7b09c}.portal-alert.success{background:#eff8ed;color:#23613d;border:1px solid #9dc9a2}
.profile-facts{display:grid;grid-template-columns:120px minmax(0,1fr);gap:12px 10px;margin:28px 0;overflow-wrap:anywhere}.profile-facts dt{color:#8e6e57}.profile-facts dd{margin:0;font-weight:700}.portal-bottom{text-align:center;font-size:12px;color:#806451;padding:24px}.portal-checkbox{display:flex!important;align-items:start;gap:12px!important;font-weight:500!important}.portal-checkbox input{margin-top:5px;accent-color:#88542d}.article-page{width:min(100%,850px)}.article-page .article-body{line-height:1.9;white-space:normal;overflow-wrap:anywhere;margin-top:35px}

@media(max-width:520px){.portal-header{min-height:65px;gap:12px}.portal-brand{font-size:18px}.portal-card{border-radius:22px}.portal-shell{padding:22px 12px}}
.profile-password{border:1px solid #e4cdb4;border-radius:16px;padding:14px 17px;margin:20px 0;background:#fff9f0}.profile-password summary{cursor:pointer;font-weight:800;color:#744629}.profile-password form{margin-top:18px}
.article-lead-image{display:block;width:100%;height:auto;max-height:450px;object-fit:cover;border-radius:20px;margin:25px 0}

.portal-shortcuts{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.portal-shortcuts a{font-size:13px}
