
:root{--navy:#101d35;--navy2:#182a4c;--ink:#1c2940;--muted:#687991;--line:#e2e9f1;--pale:#f5f7fb;--white:#fff;--blue:#3d62ef;--blue2:#3150ca;--teal:#0b998f;--orange:#eb8447;--danger:#c9465b;--shadow:0 18px 48px rgba(21,43,82,.10);--radius:18px}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--pale)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit}.shell{display:flex;min-height:100vh}.sidebar{width:256px;flex:0 0 256px;background:var(--navy);color:#e7efff;display:flex;flex-direction:column;padding:28px 17px 17px;position:sticky;top:0;height:100vh;z-index:50}.brand{display:flex;align-items:center;gap:12px;padding:0 12px 26px}.logo{width:42px;height:42px;background:linear-gradient(145deg,#607eff,#20d3bc);color:white;border-radius:14px;display:grid;place-items:center;font-weight:900;font-size:21px;box-shadow:0 7px 20px #1b3e8366}.brand-title{font-size:16px;font-weight:800;letter-spacing:-.3px;line-height:1.25}.brand-sub{font-size:10px;text-transform:uppercase;letter-spacing:1.5px;color:#97acca;font-weight:800;margin-top:5px}.section-tag{font-size:10px;color:#7f96b8;letter-spacing:2px;font-weight:800;margin:19px 13px 10px}.nav{border:none;color:#b9c7dd;background:none;width:100%;text-align:left;display:flex;align-items:center;gap:11px;border-radius:12px;padding:13px 13px;margin-bottom:4px;font-size:13px;font-weight:660}.nav .glyph{width:19px;font-size:18px;text-align:center;font-weight:400}.nav:hover{background:#25395d;color:white}.nav.active{background:#314b83;color:#fff;box-shadow:inset 3px 0 0 #5bd3c2}.nav .count{margin-left:auto;background:#3a5275;border-radius:20px;font-size:10px;padding:2px 7px}.sidebar-bottom{margin-top:auto;border-top:1px solid #31415c;padding:16px 10px 0}.side-profile{display:flex;align-items:center;gap:10px}.avatar{width:37px;height:37px;border-radius:50%;display:grid;place-items:center;background:#6276ab;font-weight:800}.profile-info strong{display:block;font-size:12px}.profile-info span{font-size:10px;color:#99acce}.mini-switch{margin-top:13px;background:#203354;border:1px solid #385072;padding:9px;border-radius:10px;color:white;width:100%;font-size:11px}.main{width:calc(100% - 256px);min-width:0}.topbar{height:78px;background:rgba(255,255,255,.96);border-bottom:1px solid #e6ebf2;display:flex;justify-content:space-between;align-items:center;padding:0 39px;position:sticky;top:0;z-index:30;backdrop-filter:blur(14px)}.top-left{display:flex;align-items:center;gap:15px}.bread{font-weight:800;font-size:13px;color:#63728b}.bread .cur{color:#152646}.top-actions{display:flex;align-items:center;gap:12px}.searchtop{position:relative}.searchtop input{background:#f4f6fa;border:1px solid #e5eaf0;border-radius:12px;padding:11px 15px 11px 38px;width:min(310px,27vw);outline:none;font-size:12px}.searchtop input:focus,.field:focus{border-color:#6180ef;box-shadow:0 0 0 3px #6180ef22}.searchtop .lens{position:absolute;left:13px;top:10px;color:#8b9ab1}.icon-btn{background:#f4f6fa;color:#526884;border:1px solid #e3e9f0;border-radius:11px;height:39px;padding:0 12px;font-size:16px}.user-chip{font-size:11px;font-weight:750;border-radius:30px;background:#eaf8f3;color:#128269;padding:8px 11px}.content{padding:31px 40px 80px;max-width:1550px;margin:auto}.demo-banner{display:flex;align-items:center;gap:9px;background:#fff1db;color:#8c5b24;border:1px solid #f8dab0;border-radius:12px;padding:11px 15px;margin-bottom:21px;font-size:12px;font-weight:650}.pagehead{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:24px}.eyebrow{letter-spacing:2.2px;text-transform:uppercase;color:#6385aa;font-size:10px;font-weight:850;margin-bottom:10px}.pagehead h1{font-size:30px;margin:0 0 8px;letter-spacing:-1.1px;line-height:1.16}.pagehead p{color:#697b95;font-size:13px;margin:0;max-width:700px;line-height:1.65}.btn{padding:11px 16px;border-radius:11px;border:1px solid transparent;font-size:12px;font-weight:800;display:inline-flex;align-items:center;gap:8px;justify-content:center}.btn-primary{background:var(--blue);color:white;box-shadow:0 7px 16px #3c61ee27}.btn-primary:hover{background:var(--blue2)}.btn-outline{background:white;color:#324661;border-color:#dbe4ef}.btn-outline:hover{background:#f6f9ff}.btn-soft{background:#edf1ff;color:#3d5ed5}.btn-teal{background:#dbf5ef;color:#047e73}.btn-sm{font-size:11px;padding:8px 11px}.grid-main{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(300px,.85fr);gap:21px}.panel{background:#fff;border:1px solid #e4eaf2;border-radius:var(--radius);box-shadow:0 3px 20px #243b5907;overflow:hidden}.panel-pad{padding:21px}.panelhead{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.panelhead h2{font-size:16px;letter-spacing:-.4px;margin:0}.panelhead small{font-size:11px;color:#8593a7}.pill{display:inline-block;padding:5px 9px;background:#f1f4fa;border-radius:999px;color:#596e88;font-size:10px;font-weight:800}.pill.info{background:#ecf2ff;color:#3159c6}.pill.teal{background:#e7f7f3;color:#078577}.pill.orange{background:#fff1e7;color:#af6229}.pill.red{background:#ffeff1;color:#b53e56}.pill.dark{background:#e8edf5;color:#52627c}.doc-row{padding:17px 19px;border-top:1px solid #edf1f6;display:flex;gap:12px;align-items:flex-start}.doc-row:first-child{border-top:none}.doc-row:hover{background:#fbfcff}.doc-icon{flex:0 0 37px;height:42px;background:#eaf0ff;border-radius:9px;display:grid;place-items:center;color:#4b6bdd;font-size:19px}.doc-body{flex:1;min-width:0}.doc-meta{font-size:10px;letter-spacing:.1px;color:#8795a8;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.doc-title{font-size:13px;line-height:1.45;font-weight:850;margin:7px 0 6px}.doc-desc{color:#637690;font-size:11px;line-height:1.55;margin-bottom:11px}.doc-bottom{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.doc-open{align-self:center;background:white;color:#4665c7;border:1px solid #dce3f5;width:32px;height:32px;border-radius:9px;font-size:17px}.doc-open:hover{background:#eef3ff}.hero{background:linear-gradient(115deg,#163158,#2344a2 68%,#395bbd);color:white;border-radius:19px;padding:25px;margin-bottom:21px;display:flex;justify-content:space-between;gap:20px;position:relative;overflow:hidden;min-height:169px}.hero:after{content:"";position:absolute;width:230px;height:230px;border:1px solid #ffffff2c;border-radius:50%;right:45px;top:-63px;box-shadow:0 0 0 43px #ffffff0b,0 0 0 90px #ffffff06}.hero .text{position:relative;z-index:1}.hero .over{font-size:10px;color:#8ddcde;text-transform:uppercase;font-weight:850;letter-spacing:1.8px}.hero h2{font-size:23px;letter-spacing:-.7px;max-width:510px;margin:10px 0 9px}.hero p{max-width:620px;font-size:12px;color:#cbdcff;line-height:1.6;margin:0}.hero button{position:relative;z-index:2;align-self:flex-end;white-space:nowrap;background:white;color:#2644a3;padding:11px 14px;border:0;border-radius:11px;font-size:11px;font-weight:850}.topicbar{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 19px}.topic{border:1px solid #dce5f0;background:white;color:#677a94;border-radius:10px;padding:8px 12px;font-size:11px;font-weight:780}.topic.active{background:#243b77;border-color:#243b77;color:white}.quick{padding:17px;border-radius:13px;background:linear-gradient(130deg,#f1f6ff,#f7faff);border:1px solid #e0e8fc;margin-bottom:13px}.quick strong{display:block;font-size:12px;margin-bottom:6px}.quick p{font-size:11px;color:#66809e;line-height:1.6;margin:0 0 12px}.watch-mini{padding:12px 0;border-top:1px solid #edf1f6;display:flex;justify-content:space-between;gap:9px}.watch-mini strong{font-size:11px}.watch-mini p{margin:4px 0 0;font-size:10px;color:#8596aa}.spacer8{height:8px}.fine{font-size:10px;color:#8a99af;line-height:1.5}.filterbar{background:white;border:1px solid #e3eaf3;border-radius:16px;padding:15px;display:flex;gap:12px;flex-wrap:wrap;margin-bottom:20px}.field{padding:10px 12px;border:1px solid #dfe6ef;background:#fff;border-radius:10px;outline:none;font-size:12px;color:#2c3e57;min-width:170px}.filterbar .field{flex:1}.filterbar .field:first-child{flex:2;min-width:220px}.results{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.result-card{border:1px solid #e3eaf2;border-radius:14px;background:white;padding:19px 21px;display:flex;justify-content:space-between;gap:14px}.result-card:hover{border-color:#acbfea;box-shadow:0 4px 20px #1b45800d}.result-card h3{margin:7px 0;font-size:15px;letter-spacing:-.2px}.result-card p{margin:6px 0 10px;color:#64768f;font-size:12px;line-height:1.65}.tagline{display:flex;gap:6px;flex-wrap:wrap}.result-actions{display:flex;flex-direction:column;gap:8px;min-width:105px;justify-content:center}.result-actions button{white-space:nowrap}.empty{padding:43px;text-align:center;color:#64758f;border:1px dashed #ccd8e7;background:white;border-radius:13px}.case-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.case-card{background:white;border:1px solid #e3eaf2;border-radius:17px;padding:21px;cursor:pointer;text-align:left;color:inherit;min-height:185px}.case-card:hover{border-color:#7f9cf1;box-shadow:var(--shadow)}.case-card h3{font-size:17px;margin:13px 0 8px}.case-card p{font-size:12px;color:#72829a;line-height:1.6;margin:0 0 12px}.timeline{border-left:2px solid #d9e3f1;margin:19px 0 0 8px;padding:0 0 2px 21px}.tl-item{position:relative;padding:0 0 20px}.tl-item:before{content:"";width:10px;height:10px;background:#5576e6;border:3px solid white;box-shadow:0 0 0 1px #aebee4;border-radius:50%;position:absolute;left:-30px;top:2px}.tl-item .date{font-size:10px;color:#8897ac}.tl-item strong{font-size:13px;display:block;margin:5px 0}.tl-item p{font-size:11px;line-height:1.5;color:#62758c}.watch-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(300px,.8fr);gap:19px}.watch-card{border:1px solid #e3eaf2;border-radius:14px;background:white;padding:18px;margin-bottom:11px}.watch-card h3{font-size:14px;margin:8px 0 8px}.watch-card p{font-size:11px;color:#6d8098;line-height:1.6}.watch-actions{display:flex;gap:6px;justify-content:flex-end}.future-note{background:#e9f7f4;border:1px solid #ccece4;color:#17685f;padding:14px 15px;border-radius:13px;font-size:12px;line-height:1.65}.note-block{border-radius:12px;background:#f6f9fd;border:1px solid #e8edf4;padding:14px;margin-bottom:11px}.note-block h4{margin:0 0 6px;font-size:12px}.note-block p{margin:0;font-size:11px;color:#6b7d94;line-height:1.6}.modal-back{position:fixed;inset:0;background:#0a1732b8;z-index:100;display:none;align-items:center;justify-content:center;padding:23px;backdrop-filter:blur(4px)}.modal-back.show{display:flex}.modal{background:white;border-radius:20px;width:min(100%,1140px);max-height:95vh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 35px 100px #0006}.modal-head{padding:20px 24px;border-bottom:1px solid #e9eef5;display:flex;justify-content:space-between;gap:16px;align-items:center}.modal-head h2{font-size:17px;margin:3px 0 0;line-height:1.4}.modal-head .x{width:35px;height:35px;border:1px solid #dce4ee;background:white;border-radius:10px;font-size:19px}.modal-body{overflow:auto;padding:0;flex:1}.reader{display:grid;grid-template-columns:1fr .95fr;min-height:470px}.reader-summary{padding:22px 25px;border-right:1px solid #e5ebf4;overflow:auto;max-height:73vh}.reader-pdf{background:#edf2f8;padding:14px;overflow:auto;max-height:73vh}.reader h3{font-size:13px;margin:21px 0 10px}.reader h3:first-child{margin-top:5px}.reader p{font-size:12px;line-height:1.75;color:#596d86}.reader .intro{font-size:13px;font-weight:700;color:#374b63}.reader ul{padding-left:18px;font-size:12px;line-height:1.75;color:#536981}.source-line{background:#f6f8fc;padding:12px;border-radius:10px;border-left:3px solid #6686f7;margin:11px 0;font-size:11px;line-height:1.65}.source-line button{border:0;background:none;color:#345ddd;font-size:11px;font-weight:800;padding:0 4px}.pdf-toolbar{display:flex;justify-content:space-between;align-items:center;padding:7px 6px 13px;color:#536783;font-size:11px;font-weight:780}.paper{background:#fff;max-width:470px;min-height:455px;margin:0 auto 16px;box-shadow:0 8px 27px #27436724;padding:36px 32px 20px;transition:box-shadow .2s;scroll-margin:20px}.paper.current{box-shadow:0 0 0 3px #5074f8,0 10px 30px #203c6328}.paper .paper-org{font-size:10px;text-transform:uppercase;letter-spacing:2px;color:#60738a;font-weight:850}.paper .paper-title{font-family:Georgia,serif;font-size:22px;margin:20px 0 15px;border-bottom:2px solid #dce5f0;padding-bottom:13px}.paper .fake-line{height:7px;background:#dde4ec;border-radius:4px;margin:11px 0}.paper .paper-text{font-family:Georgia,serif;font-size:13px;line-height:1.85;color:#38465c}.paper .page-number{text-align:center;font-size:10px;color:#8191a4;margin-top:34px}.form-wrap{padding:23px 27px;max-width:620px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.form-group{margin-bottom:14px}.form-group label{display:block;font-size:11px;font-weight:850;color:#4c607b;margin-bottom:7px}.form-group input,.form-group textarea,.form-group select{width:100%;min-width:0}.form-group textarea{min-height:85px;resize:vertical}.form-note{font-size:11px;color:#7387a0;line-height:1.5}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.checkline{display:flex;gap:6px;align-items:center;font-size:12px;margin:6px 0}.checkline input{accent-color:#4469e8}.toast{position:fixed;bottom:23px;right:24px;z-index:120;background:#183456;color:white;padding:13px 18px;border-radius:11px;font-size:12px;box-shadow:0 16px 40px #10213d6b;display:none;max-width:390px}.toast.show{display:block}.open-side{display:none}.hide-small{display:block}mark{background:#fff0bb;padding:0 2px;border-radius:3px}.footer-legal{margin-top:29px;font-size:10px;color:#a0adc0;text-align:center}.stage{font-size:11px;display:inline-flex;align-items:center;gap:7px;font-weight:800;color:#62748b}.stage:before{content:"";width:8px;height:8px;border-radius:50%;background:#15ac94}.illustrative{font-size:10px;color:#9a6d34;background:#fff7eb;border:1px solid #f3ddc0;padding:4px 7px;border-radius:6px;display:inline-flex}.row-flex{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.flex-between{display:flex;justify-content:space-between;align-items:center;gap:10px}.muted{color:#6b7e96}.view-animate{animation:fadeUp .2s ease-out}@keyframes fadeUp{from{opacity:.6;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(max-width:1160px){.content{padding:25px 25px 60px}.topbar{padding:0 25px}.grid-main{grid-template-columns:minmax(0,1.3fr) minmax(275px,.8fr)}}
@media(max-width:820px){.sidebar{position:fixed;transform:translateX(-110%);transition:transform .2s;width:256px;box-shadow:var(--shadow)}.sidebar.mobile-open{transform:translateX(0)}.main{width:100%}.open-side{display:block}.searchtop input{width:190px}.grid-main,.watch-layout{grid-template-columns:1fr}.hero{flex-direction:column}.hero button{align-self:flex-start}.reader{grid-template-columns:1fr}.reader-summary{max-height:initial;border-right:none}.reader-pdf{max-height:470px}}
@media(max-width:550px){.topbar{height:66px;padding:0 15px}.content{padding:19px 14px 55px}.pagehead{flex-direction:column}.pagehead h1{font-size:26px}.searchtop{display:none}.case-grid{grid-template-columns:1fr}.result-card{flex-direction:column}.result-actions{flex-direction:row}.form-grid{grid-template-columns:1fr}.modal-back{padding:7px}.modal{max-height:98vh;border-radius:14px}.modal-head{padding:12px 15px}.hero{padding:20px}.hero h2{font-size:20px}.user-chip{display:none}}

/* Version 1.1: tydliga favoriter, gruppval och AI-källvarning */
.nav .glyph{width:25px;font-size:23px;line-height:1.1}
.doc-row{align-items:center}
.doc-row .doc-body{align-self:flex-start}
.doc-row .doc-icon{align-self:flex-start}
.doc-open{width:44px;height:44px;font-size:22px;flex:0 0 44px}
.doc-open:focus-visible,.favorite-toggle:focus-visible,.select-box:focus-visible,.btn:focus-visible{outline:3px solid #557cf8;outline-offset:3px}
.favorite-toggle{border:2px solid #cbd5e3;border-radius:11px;background:#f7f9fc;color:#566579;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:850;padding:8px 10px;min-height:44px;min-width:44px;transition:background .16s,border-color .16s}
.favorite-toggle:hover{background:#f0f3fa;border-color:#8399b2}
.favorite-toggle .fav-star{font-size:25px;line-height:1;display:inline-block}
.favorite-toggle .fav-label{font-size:11px}
.favorite-toggle.is-favorite{color:#83530d;background:#fff0c4;border-color:#dfa22e;box-shadow:inset 0 0 0 1px #fbe1a1}
.favorite-toggle.is-favorite:hover{background:#ffe5a0}
.favorite-toggle.is-favorite .fav-star{text-shadow:0 1px 2px #c7852740}
.compact-actions{display:flex;flex-direction:column;gap:8px;align-items:center;align-self:center}
.compact-actions .favorite-toggle{width:44px;height:44px;padding:5px}
.select-label{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;min-width:39px;min-height:44px;flex:0 0 auto}
.select-box{width:20px;height:20px;accent-color:#345fec;cursor:pointer}
.result-card.is-selected,.doc-row.is-selected{border-color:#7a9af6;background:#f5f8ff}
.result-card .select-label{align-self:flex-start}
.doc-row .select-label{align-self:center}
.result-actions{min-width:143px;align-items:stretch}
.result-actions .favorite-toggle{width:100%}
.result-actions .btn{min-height:40px}
.ai-caption{font-size:10px;color:#7b4b22;font-weight:750;line-height:1.5;margin:8px 0 6px;display:flex;align-items:flex-start;gap:5px}
.ai-caption .ai-symbol{font-size:14px;line-height:1.1}
.ai-warning{padding:13px 15px;border-radius:12px;background:#fff6e9;border:1px solid #efc98b;color:#77502c;margin:14px 0 17px;font-size:12px;line-height:1.65}
.ai-warning strong{display:block;color:#804713;font-size:12px;margin-bottom:3px}
.ai-notice-inline{margin-top:11px;padding-top:10px;border-top:1px solid #e7ecf2}
.selection-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:3px 0 15px}
.selection-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.selection-bar{position:fixed;z-index:91;left:50%;transform:translateX(-50%);bottom:20px;max-width:calc(100vw - 32px);width:min(740px,100%);display:none;gap:12px;justify-content:space-between;align-items:center;background:#182d52;color:white;border-radius:15px;padding:13px 16px;box-shadow:0 14px 50px #0e1c3f55;border:1px solid #5d739a}
.selection-bar.visible{display:flex}
.selection-bar strong{display:block;font-size:14px}
.selection-bar small{display:block;font-size:10px;color:#c5d4ee;margin-top:4px;line-height:1.3}
.selection-bar .btn-outline{background:#f1f5fb;color:#203657;border-color:#f1f5fb}
.selection-bar .btn-primary{background:#5c77f5}
.selection-bar .buttons{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
@media(max-width:550px){.result-card .select-label{align-self:flex-start}.result-actions{width:100%;min-width:0;flex-wrap:wrap;align-items:stretch}.result-actions .favorite-toggle{width:auto;flex:1}.result-actions .btn{flex:1}.selection-bar{bottom:8px;padding:12px;flex-direction:column;align-items:stretch}.selection-bar .buttons{justify-content:space-between}.content{padding-bottom:125px}.doc-row{gap:7px;padding:15px 10px}.doc-row .doc-icon{display:none}.doc-row .doc-meta{font-size:9px}.compact-actions{gap:5px}.compact-actions .favorite-toggle,.compact-actions .doc-open{width:40px;height:40px;min-width:40px}.nav .glyph{font-size:23px}}

/* Version 4 – länsövergripande veckotips, 13 kommuner, tydlig startsida */
.tips-section{margin:0 0 28px;background:#fff;border:1px solid #e1e9f4;border-radius:19px;padding:22px 20px 14px;box-shadow:0 4px 25px #19395e08}
.tips-header{display:flex;justify-content:space-between;align-items:flex-end;gap:15px;margin-bottom:17px}
.tips-header h2{font-size:23px;letter-spacing:-.65px;margin:0 0 7px}
.tips-header p{font-size:12px;color:#728198;margin:0;line-height:1.6}
.tips-controls{display:flex;gap:7px;align-items:center;flex-shrink:0}
.ticker-arrow{border:1px solid #d4e1f3;border-radius:10px;background:#eff4ff;color:#3159ab;font-weight:800;font-size:19px;width:40px;height:40px;display:grid;place-items:center}
.ticker-arrow:hover,.ticker-arrow:focus-visible{background:#dae6ff;outline-offset:2px}
.ticker-frame{position:relative;overflow:hidden;mask-image:linear-gradient(to right,#000 0%,#000 96%,transparent 100%)}
.tip-track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#c9d7ed transparent;padding:4px 1px 15px;overscroll-behavior-inline:contain}
.tip-card{border:1px solid #dfe7f3;background:linear-gradient(155deg,#fff,#f9fbff);min-width:290px;width:310px;flex:0 0 310px;border-radius:15px;text-align:left;color:var(--ink);padding:17px;display:flex;flex-direction:column;min-height:233px;scroll-snap-align:start;transition:border-color .16s,transform .16s}
.tip-card:hover,.tip-card:focus-visible{border-color:#6382e5;transform:translateY(-2px);box-shadow:0 6px 15px #1a389214;outline:none}
.tip-top,.tip-foot{display:flex;justify-content:space-between;align-items:center;gap:7px}
.tip-commune{font-size:12px;color:#274b83;font-weight:900}
.tip-card h3{font-size:15px;letter-spacing:-.3px;margin:15px 0 7px;line-height:1.34}
.tip-card p{font-size:11px;color:#667c96;line-height:1.6;margin:0 0 16px}
.tip-foot{margin-top:auto;border-top:1px solid #e8edf5;padding-top:11px;font-size:10px;color:#8191a7;line-height:1.4}
.tip-foot strong{color:#3157d0;white-space:nowrap}
.tips-bottom{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#8a95a7;font-size:10px;margin-top:7px;line-height:1.6}
.tip-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:17px 0}
.tip-grid .tip-card{width:100%;min-width:0;min-height:225px}
.tip-filterbar{display:flex;align-items:center;gap:11px;flex-wrap:wrap;padding:12px 15px;background:white;border:1px solid #e1e8f3;border-radius:13px;margin-bottom:18px}
.tip-filterbar label{font-size:11px;font-weight:800;color:#60718b}
.tip-filterbar select{min-width:145px;flex:1}
.report-info{padding:14px 17px;border-radius:12px;background:#e9f2ff;display:flex;justify-content:space-between;gap:9px;flex-wrap:wrap;color:#325582;font-size:12px}
.report-info span{font-size:11px;color:#6983a5}
.watch-bottom{border-radius:17px;border:1px solid #d7e5f2;background:#f0f6ff;padding:25px;margin-top:25px;display:flex;justify-content:space-between;gap:20px;align-items:center}
.watch-bottom h2{font-size:19px;margin:1px 0 9px}
.watch-bottom p,.simple-copy{font-size:12px;color:#5e718a;line-height:1.8;margin:0 0 12px}
.watch-bottom p{max-width:680px}
.watch-bottom>.btn{flex-shrink:0}
.watch-chips{display:flex;gap:7px;flex-wrap:wrap}
.about-grid{display:grid;grid-template-columns:1.4fr .85fr;gap:18px}
.about-grid h2{font-size:17px;margin:0 0 12px}
.about-grid h2:not(:first-child){margin-top:24px}
.contact-placeholder{background:#eff4fc;border:1px dashed #c4d3e9;border-radius:12px;padding:17px;color:#385778;font-weight:700;font-size:12px}
.contact-placeholder small{display:block;margin-top:8px;color:#7d8ca2;font-size:10px;font-weight:400;line-height:1.55}
.divider-air{border-top:1px solid #e2e9f1;margin:23px 0}
.tip-modal{padding:24px;max-width:740px}
.tip-modal .intro{font-size:16px;font-weight:750;line-height:1.6;color:#324b68}
.tip-modal h3{font-size:13px;margin-top:20px}
.tip-modal p{font-size:12px;line-height:1.7}
@media(max-width:1150px){.tip-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.about-grid{grid-template-columns:1fr}.tips-header{align-items:flex-start}.tip-card{min-width:265px;flex-basis:265px;width:265px}.watch-bottom{align-items:flex-start}}
@media(max-width:550px){.tips-section{padding:17px 13px 13px}.tips-header{flex-direction:column;align-items:flex-start}.tips-header h2{font-size:20px}.tips-controls{align-self:flex-end}.tip-card{width:258px;flex-basis:258px;min-width:258px}.tip-grid{grid-template-columns:1fr}.tip-grid .tip-card{width:100%}.watch-bottom{flex-direction:column;padding:19px}.report-info{flex-direction:column}.tip-filterbar label{width:100%}}
@media(prefers-reduced-motion:reduce){.tip-card{transition:none}.tip-track{scroll-behavior:auto}}

/* Kommunöversikt: veckorapporter, tips och ärenden */
.side-commune-picker{margin:2px 5px 10px;border:1px solid #3b4d6b;border-radius:11px;background:#1a2b48;color:#d0ddf3;overflow:hidden}
.side-commune-picker summary{padding:10px 12px;font-size:11px;cursor:pointer;list-style:none;font-weight:700;display:flex;align-items:center;justify-content:space-between;gap:6px}
.side-commune-picker summary::-webkit-details-marker{display:none}.side-commune-picker[open] summary{border-bottom:1px solid #3b4d6b;color:white}
.commune-choices{max-height:238px;overflow:auto;padding:8px 10px;scrollbar-color:#8299bb #1a2b48}
.commune-choice{display:flex;align-items:center;gap:10px;padding:6px 4px;border-radius:7px;font-size:12px;cursor:pointer;user-select:none;color:#e4ebfc}
.commune-choice:hover{background:#293e62}.commune-choice input{width:17px;height:17px;accent-color:#6ba6ff;flex-shrink:0;cursor:pointer}
.commune-picker-actions{display:flex;gap:6px;padding:9px;background:#1e3152}.commune-picker-actions .btn{font-size:10px;flex:1;padding:8px 6px}.commune-picker-actions .btn-outline{color:#d5e5fa;background:#2c4269;border-color:#3f5679}
.commune-overview-note{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;border:1px solid #d6e4f3;background:linear-gradient(100deg,#edf4ff,#f8fbff);padding:16px 19px;border-radius:15px;margin-bottom:22px}
.commune-overview-note strong{font-size:13px}.commune-overview-note p{font-size:11px;color:#647a95;margin:5px 0 0;line-height:1.65}
.commune-filter-wrap{position:relative}
.commune-filter-wrap details{position:relative}.commune-filter-wrap summary{cursor:pointer;list-style:none;font-size:12px;font-weight:800;color:#3156a8;border:1px solid #cbd9ee;background:#fff;padding:11px 13px;border-radius:11px;min-width:190px;text-align:center}
.commune-filter-wrap summary::-webkit-details-marker{display:none}
.commune-filter-wrap .floating-options{position:absolute;z-index:12;right:0;top:calc(100% + 7px);width:min(290px,calc(100vw - 56px));box-shadow:0 15px 40px #152a5130;border:1px solid #dbe5f1;background:white;border-radius:12px;overflow:hidden}
.commune-filter-wrap .commune-choices{max-height:230px;background:white;padding:10px}.commune-filter-wrap .commune-choice{color:#2d4261}.commune-filter-wrap .commune-choice:hover{background:#edf3ff}.commune-filter-wrap .commune-picker-actions{background:#f5f8fc;border-top:1px solid #e6ecf4}.commune-filter-wrap .commune-picker-actions .btn-outline{color:#34547f;background:white;border-color:#d5e1ef}
.selection-pills{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0 0}.selection-pills .pill{background:#e3edfe;color:#274984}
.muni-section{margin:25px 0 30px;scroll-margin-top:98px}.muni-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:14px;padding-bottom:11px;border-bottom:1px solid #dae4f1}.muni-head h2{font-size:19px;letter-spacing:-.5px;margin:0 0 6px}.muni-head p{font-size:12px;line-height:1.65;color:#698099;margin:0}.muni-count{font-size:11px;font-weight:850;color:#49639b;background:#edf2ff;padding:7px 11px;border-radius:999px;white-space:nowrap}
.muni-report-list{display:grid;gap:10px}.muni-report{width:100%;display:flex;align-items:center;gap:15px;text-align:left;padding:15px 18px;background:white;border:1px solid #e0e8f3;border-radius:14px;color:var(--ink)}
.muni-report:hover,.muni-report:focus-visible{outline:none;border-color:#7599eb;box-shadow:0 8px 26px #243b7914;background:#fcfdff}
.muni-report-icon{width:46px;height:48px;border-radius:13px;flex-shrink:0;display:grid;place-items:center;background:#eaf1ff;color:#3c60bc;font-size:24px}.muni-report-body{flex:1;min-width:0}.muni-report-body .fine{font-size:10px}.muni-report-body strong{display:block;font-size:13px;margin:5px 0;line-height:1.5}.muni-report-body p{font-size:11px;color:#6d819a;line-height:1.5;margin:0}.muni-report-arrow{color:#456ccd;font-size:22px}
.muni-tips-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.muni-tips-grid .tip-card{width:100%;min-width:0;min-height:218px}
.muni-case-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.muni-case-item{display:flex;flex-direction:column;gap:8px;align-items:flex-start;text-align:left;border:1px solid #e1e8f2;border-radius:14px;background:white;padding:19px;width:100%;color:var(--ink);min-height:155px}
.muni-case-item:hover,.muni-case-item:focus-visible{outline:none;border-color:#7599eb;background:#fbfdff}.muni-case-item strong{font-size:14px;line-height:1.4}.muni-case-item p{font-size:11px;color:#70809a;line-height:1.55;margin:0}.muni-case-item .tiny-link{font-size:11px;color:#4166c9;font-weight:800;margin-top:auto}
.muni-scope-fine{font-size:11px;color:#7a8ca3;margin:12px 0 0;line-height:1.65}
.report-modal-block{padding:6px 0 4px}.report-modal-block h3{font-size:14px;margin:17px 0 7px}.report-modal-block p,.report-modal-block li{font-size:12px;color:#526781;line-height:1.75}.report-modal-block ul{padding-left:19px}
.report-source{background:#f2f6fc;border:1px solid #dfe9f5;padding:12px 15px;border-radius:11px;font-size:11px;color:#61748f;line-height:1.7}.report-source a{color:#345cc2;word-break:break-word}
@media(max-width:1150px){.muni-tips-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.commune-overview-note{align-items:stretch}.commune-filter-wrap{width:100%}.commune-filter-wrap summary{width:100%}.commune-filter-wrap .floating-options{right:auto;left:0;width:100%}.muni-tips-grid,.muni-case-grid{grid-template-columns:1fr}.muni-report{padding:13px;gap:10px}.muni-report-icon{width:39px;height:42px}.muni-head{align-items:flex-start}.muni-head h2{font-size:17px}.muni-report-body strong{font-size:12px}}


/* Kommunval v4: en kommun i taget, utfällbar lista under tydlig knapp. */
.nav-commune{margin-bottom:0;color:#edf3ff;font-size:13px;background:#243c65;border:1px solid #3c5788;transition:background .18s ease}
.nav-commune:hover,.nav-commune[aria-expanded="true"]{background:#345791}
.nav-commune .commune-arrow{margin-left:auto;font-size:22px;line-height:1;transition:transform .22s ease;color:#b4d0fa}
.nav-commune[aria-expanded="true"] .commune-arrow{transform:rotate(180deg)}
.selected-commune{display:flex;align-items:center;gap:8px;margin:5px 8px 10px 13px;color:#e3f7f4;font-size:12px;font-weight:780;min-height:25px;line-height:1.35}
.selected-dot{width:7px;height:7px;border-radius:50%;background:#67d9c1;box-shadow:0 0 0 3px #67d9c122;flex:0 0 7px}
#sideCommunePicker{margin:0 5px 10px;background:#182b4b;border:0;max-height:0;opacity:0;visibility:hidden;overflow:hidden;transition:max-height .25s ease,opacity .18s ease,visibility .25s ease}
#sideCommunePicker.is-open{max-height:365px;opacity:1;visibility:visible;border:1px solid #49638e}
#sideCommunePicker .commune-choices{padding:6px;max-height:350px;overflow-y:auto;scrollbar-color:#688ab4 #1a2b48}
.commune-option{width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left;border:0;background:transparent;color:#e3ebfb;border-radius:8px;font-size:12px;min-height:34px;padding:8px 9px;line-height:1.3}
.commune-option:hover,.commune-option:focus-visible{outline:2px solid transparent;background:#2d4773;color:#fff}
.commune-option[aria-pressed="true"]{background:#385c8a;color:#fff;font-weight:820}
.commune-option .commune-tick{font-size:16px;color:#83ebd1}
.commune-option.all{border-bottom:1px solid #405573;border-radius:7px 7px 0 0;margin-bottom:4px;padding-bottom:11px}
@media(prefers-reduced-motion:reduce){#sideCommunePicker,.nav-commune .commune-arrow{transition:none}}


/* V5: robust kommunval även när den lokala filen öppnas i webbläsaren.
   Listan ligger direkt UNDER knappen och vald kommun under den stängda listan. */
.sidebar{overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#58739c #101d33}
#sideCommunePicker{display:none;max-height:none;visibility:visible;opacity:1;overflow:visible;margin:5px 5px 3px;transition:none}
#sideCommunePicker.is-open{display:block;max-height:none;visibility:visible;opacity:1;border:1px solid #49638e}
#sideCommunePicker .commune-choices{max-height:min(350px,calc(100dvh - 230px));overflow-y:auto;overscroll-behavior:contain}
#sideCommunePicker .commune-option{min-height:40px}
#selectedCommune{margin-top:5px}
#communeToggle:focus-visible,#sideCommunePicker .commune-option:focus-visible{outline:2px solid #cce8ff;outline-offset:2px}



/* V6 – redaktionell typografi inspirerad av exemplet:
   starka, rena sans-serifrubriker och luftigare löptext.
   Systemtypsnitt för att sidan ska fungera som fristående HTML offline. */
html, body { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
:root { --ink: #172641; }
.sidebar { width: 280px; flex-basis: 280px; }
.main { width: calc(100% - 280px); }
.brand-title { font-size: 19px; letter-spacing: -.35px; }
.brand-sub { font-size: 11px; letter-spacing: 1.2px; line-height: 1.3; }
.section-tag { font-size: 12px; }
.nav, .nav-commune { font-size: 16px; font-weight: 700; padding-top: 14px; padding-bottom: 14px; }
.nav .count { font-size: 12px; }
.selected-commune { font-size: 14px; min-height: 28px; }
.commune-option { font-size: 15px; min-height: 45px !important; padding: 10px 12px; }
.profile-info strong { font-size: 14px; }
.profile-info span { font-size: 12px; }
.mini-switch { font-size: 13px; }
.bread { font-size: 14px; }
.searchtop input { font-size: 15px; }
.user-chip { font-size: 12px; }
.demo-banner { font-size: 14px; line-height: 1.5; }
.eyebrow { font-size: 12px; letter-spacing: 1.6px; }
.pagehead h1 { font-size: 38px; letter-spacing: -1.25px; line-height: 1.13; font-weight: 800; }
.pagehead p { font-size: 16px; line-height: 1.65; max-width: 830px; }
.btn { font-size: 14px; line-height: 1.25; padding: 12px 16px; }
.btn-sm { font-size: 13px; padding: 10px 12px; }




.panelhead h2 { font-size: 21px; line-height: 1.25; }
.panelhead small { font-size: 13px; }
.pill { font-size: 12px; line-height: 1.35; padding: 5px 10px; }
.doc-meta { font-size: 12px; line-height: 1.5; }
.doc-title { font-size: 17px; line-height: 1.4; letter-spacing: -.2px; }
.doc-desc { font-family: Georgia, 'Times New Roman', serif; font-size: 15px; line-height: 1.65; color: #52647d; }
.doc-row { padding: 20px 19px; gap: 13px; }
.doc-icon { flex-basis: 40px; height: 46px; }
.favorite-toggle, .favorite-toggle .fav-label { font-size: 13px; }
.ai-caption { font-size: 12px; line-height: 1.5; }
.ai-warning, .ai-warning strong { font-size: 14px; }
.ai-warning { line-height: 1.7; }
.hero .over { font-size: 12px; }
.hero h2 { font-size: 29px; line-height: 1.24; }
.hero p { font-size: 15px; }
.hero button { font-size: 14px; }
.topic { font-size: 13px; padding: 10px 13px; }
.quick strong { font-size: 15px; }
.quick p { font-size: 14px; }
.watch-mini strong { font-size: 14px; }
.watch-mini p { font-size: 13px; }
.fine { font-size: 12px; line-height: 1.6; }
.field { font-size: 15px; padding: 11px 13px; }
.result-card h3 { font-size: 19px; line-height: 1.35; }
.result-card p { font-size: 15px; line-height: 1.7; }
.case-card h3 { font-size: 20px; }
.case-card p { font-size: 15px; }
.tl-item .date { font-size: 12px; }
.tl-item strong { font-size: 16px; }
.tl-item p { font-size: 15px; }
.watch-card h3 { font-size: 19px; }
.watch-card p { font-size: 15px; }
.future-note { font-size: 15px; line-height: 1.65; }
.note-block h4 { font-size: 15px; }
.note-block p { font-size: 14px; }
.modal-head h2 { font-size: 23px; line-height: 1.3; }
.reader h3 { font-size: 18px; }
.reader p { font-size: 15px; line-height: 1.7; }
.reader .intro { font-family: Georgia, 'Times New Roman', serif; font-size: 18px; line-height: 1.7; }
.reader ul { font-size: 15px; }
.source-line { font-size: 14px; line-height: 1.6; }
.source-line button { font-size: 14px; }
.pdf-toolbar { font-size: 12px; }
.paper .paper-org { font-size: 12px; }
.paper .paper-title { font-size: 25px; }
.paper .paper-text { font-size: 15px; }
.paper .page-number { font-size: 12px; }
.form-group label { font-size: 14px; }
.form-group input, .form-group textarea, .form-group select { font-size: 15px; }
.form-note { font-size: 14px; }
.checkline { font-size: 15px; }
.toast { font-size: 14px; }
.footer-legal, .illustrative, .stage { font-size: 12px; }
.selection-bar small { font-size: 12px; }
.selection-bar strong { font-size: 16px; }
.tips-header h2 { font-size: 29px; line-height: 1.22; }
.tips-header p { font-size: 15px; }
.tip-card { min-width: 330px; width: 340px; flex-basis: 340px; min-height: 285px; padding: 20px; }
.tip-commune { font-size: 14px; }
.tip-card h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.35px; margin-top: 15px; }
.tip-card p { font-family: Georgia, 'Times New Roman', serif; font-size: 15px; line-height: 1.65; color: #4d607c; }
.tip-foot { font-size: 12px; line-height: 1.45; }
.tips-bottom { font-size: 12px; }
.tip-filterbar label { font-size: 14px; }
.report-info { font-size: 15px; }
.report-info span { font-size: 13px; }
.watch-bottom h2 { font-size: 25px; }
.watch-bottom p, .simple-copy { font-size: 15px; line-height: 1.75; }
.about-grid h2 { font-size: 21px; }
.contact-placeholder { font-size: 15px; }
.contact-placeholder small { font-size: 13px; }
.tip-modal .intro { font-family: Georgia, 'Times New Roman', serif; font-size: 19px; line-height: 1.7; }
.tip-modal h3 { font-size: 18px; }
.tip-modal p { font-size: 15px; }
.commune-overview-note strong { font-size: 16px; }
.commune-overview-note p { font-size: 14px; }
.commune-filter-wrap summary { font-size: 14px; }
.muni-head h2 { font-size: 25px; line-height: 1.25; }
.muni-head p { font-size: 15px; line-height: 1.65; }
.muni-count { font-size: 13px; }
.muni-report { padding: 19px 21px; }
.muni-report-body .fine { font-size: 12px; }
.muni-report-body strong { font-size: 18px; line-height: 1.35; }
.muni-report-body p { font-family: Georgia, 'Times New Roman', serif; font-size: 15px; line-height: 1.6; }
.muni-case-item { padding: 21px; }
.muni-case-item strong { font-size: 18px; }
.muni-case-item p { font-size: 15px; line-height: 1.55; }
.muni-case-item .tiny-link { font-size: 13px; }
.muni-scope-fine { font-size: 13px; }
.report-modal-block h3 { font-size: 19px; }
.report-modal-block p, .report-modal-block li { font-size: 16px; line-height: 1.75; }
.report-source { font-size: 14px; }

@media (max-width: 1180px) {
  .sidebar { width: 260px; flex-basis: 260px; }
  .main { width: calc(100% - 260px); }
  .grid-main { grid-template-columns: 1fr; }
  .tip-grid, .muni-tips-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tip-grid .tip-card, .muni-tips-grid .tip-card { width: 100%; min-width: 0; flex-basis: auto; }
}
@media (max-width: 820px) {
  .sidebar { width: min(290px, 88vw); flex-basis: auto; }
  .main { width: 100%; }
  .tip-card { width: 304px; min-width: 304px; flex-basis: 304px; }
}
@media (max-width: 550px) {
  .demo-banner { display: block; font-size: 13px; line-height: 1.55; }
  .pagehead h1 { font-size: 31px; line-height: 1.15; }
  .pagehead p { font-size: 15px; }
  .eyebrow { font-size: 11px; }
  .content { padding: 20px 14px 62px; }
  .tips-header h2 { font-size: 24px; }
  .tips-header p { font-size: 14px; }
  .tip-card { width: min(290px, calc(100vw - 54px)); min-width: min(290px, calc(100vw - 54px)); flex-basis: min(290px, calc(100vw - 54px)); min-height: 295px; }
  .tip-grid, .muni-tips-grid { grid-template-columns: 1fr; }
  .tip-grid .tip-card, .muni-tips-grid .tip-card { min-width: 0; width: 100%; min-height: 230px; }
  .tip-card h3 { font-size: 18px; }
  .tip-card p { font-size: 14.5px; }
  
  
  
  .muni-head { flex-wrap: wrap; align-items: flex-start; }
  .muni-head h2 { font-size: 23px; }
  .muni-report-body strong { font-size: 16px; }
  .muni-report-body p { font-size: 14px; }
  .watch-bottom h2 { font-size: 22px; }
  .modal-head h2 { font-size: 20px; }
  .reader .intro { font-size: 17px; }
  .result-card h3 { font-size: 18px; }
  .doc-row { padding: 17px 13px; }
  .doc-title { font-size: 16px; }
  .doc-desc { font-size: 14px; }
  .pill { font-size: 11px; }
  .btn { font-size: 13px; }
  .favorite-toggle .fav-label { font-size: 12px; }
}


/* V8 – tillgänglig, stängbar sidomeny i små fönster */
.sidebar-close,.sidebar-backdrop{display:none}
@media(max-width:820px){
  .sidebar{
    position:fixed;left:0;top:0;bottom:0;
    width:min(300px,calc(100vw - 56px));
    max-width:calc(100vw - 56px);height:100dvh;
    z-index:101;overflow-y:auto;overscroll-behavior:contain;
    box-shadow:0 16px 45px rgba(0,0,0,.26);
    transform:translateX(calc(-100% - 12px));
    transition:transform .2s ease;
  }
  .sidebar.mobile-open{transform:translateX(0)}
  .sidebar-close{
    position:absolute;top:12px;right:12px;
    display:grid;place-items:center;width:44px;height:44px;
    border-radius:12px;border:1px solid #57739b;
    color:#fff;background:#2a456d;font-size:29px;
    line-height:1;z-index:2;
  }
  .sidebar-close:hover,.sidebar-close:focus-visible{background:#42669d}
  .sidebar .brand{padding-right:40px}
  .sidebar .brand-title{font-size:17px}
  .sidebar-backdrop{
    position:fixed;inset:0;z-index:100;
    background:rgba(10,22,43,.56);cursor:pointer;
  }
  body.nav-drawer-open .sidebar-backdrop{display:block}
  body.nav-drawer-open{overflow:hidden}
  .open-side{min-width:44px;min-height:44px}
}
@media(prefers-reduced-motion:reduce){.sidebar{transition:none}}

/* Serverversion: samma grafiska språk som godkända version 8. */
:root{--brand-blue:#365ee6}
.hk-layout{display:flex;min-height:100vh}.hk-layout .sidebar{overflow-y:auto}.hk-main{min-width:0;flex:1}
.hk-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px}
.hk-topbar form{display:flex;align-items:center;gap:8px}.hk-topbar input{width:min(350px,33vw);background:#f4f6fa;border:1px solid #dce5f2;border-radius:10px;padding:11px 14px;font-size:14px}
.hk-topbar .top-actions{gap:8px}.hk-panel{background:#fff;border:1px solid #e1e8f0;border-radius:18px;padding:24px;margin-bottom:22px}
.hk-panel>h2{font-size:24px;margin:0 0 18px;letter-spacing:-.5px}
.hk-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:25px 0 15px}
.hk-section-head h2{font-size:26px;margin:0;letter-spacing:-.6px}.hk-section-head a{font-size:14px;color:#3659bf;font-weight:750;text-decoration:none}
.hk-tip-carousel{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding-bottom:16px}
.hk-tip-carousel>*{scroll-snap-align:start;min-width:min(340px,84vw);flex:0 0 min(340px,84vw)}
.hk-tip-card{display:flex;flex-direction:column;border:1px solid #dfE7f2;background:#fff;border-radius:16px;padding:23px;min-height:270px;color:var(--ink);text-decoration:none;box-shadow:0 3px 13px #213b6007}
.hk-tip-card:hover{border-color:#a3b4e7;box-shadow:0 12px 30px #243b5912}.hk-tip-card h3{font-size:21px;line-height:1.28;margin:13px 0 11px}.hk-tip-card p{font-size:16px;line-height:1.65;color:#4f617b;margin:0 0 20px;font-family:Georgia,'Times New Roman',serif}.hk-tip-card footer{margin-top:auto;color:#6b7d96;font-size:13px}
.hk-meta{color:#6c809c;font-weight:650;font-size:13px;line-height:1.5}.hk-list{display:grid;gap:12px}
.hk-row{display:block;background:#fff;border:1px solid #e1e9f4;border-radius:14px;padding:20px 23px;text-decoration:none;color:inherit}.hk-row:hover{border-color:#9cb3e5}.hk-row h3{font-size:19px;margin:7px 0}.hk-row p{font-family:Georgia,'Times New Roman',serif;font-size:15px;color:#51647b;line-height:1.65;margin:8px 0}
.hk-row small{font-size:13px;color:#73829b}.hk-summary-warning{background:#fff7e7;border:1px solid #f0d8aa;color:#7d5929;border-radius:12px;padding:14px 18px;font-size:14px;line-height:1.6;margin:19px 0}
.hk-article{max-width:950px}.hk-article h1{font-size:36px;line-height:1.2;margin:7px 0 15px}.hk-article p,.hk-article li{font-size:17px;line-height:1.8}.hk-article .bodytext{white-space:pre-wrap;overflow-wrap:anywhere;font-family:Georgia,'Times New Roman',serif;font-size:17px;line-height:1.85}
.hk-toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:18px 0}.hk-toolbar form{display:inline-flex}
.hk-button{font:inherit;font-size:14px;font-weight:750;padding:11px 15px;border-radius:11px;background:#edf2ff;border:1px solid #d5e1f3;color:#3456a3;cursor:pointer;text-decoration:none;display:inline-flex;gap:7px;align-items:center;justify-content:center}
.hk-button.primary{background:#365fe3;border-color:#365fe3;color:#fff}.hk-button.star{font-size:17px}.hk-button.star.is-on{background:#fff0bf;border-color:#e9c45b;color:#8b6100}
.hk-button:hover{filter:brightness(.98)}.hk-button.danger{color:#a84052;background:#fff0f2;border-color:#f0d4db}.hk-button.small{font-size:12px;padding:8px 10px}
.hk-form{display:grid;gap:15px;max-width:750px}.hk-form p{display:grid;gap:6px;margin:0}.hk-form label{font-weight:700;font-size:15px}
.hk-form input,.hk-form select,.hk-form textarea{width:100%;padding:11px 12px;border-radius:9px;border:1px solid #ced8e5;color:#263950;font-size:16px;background:#fff}
.hk-form input[type=checkbox]{width:auto}.hk-form .checkboxlist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.hk-form ul{padding-left:18px}
.hk-form .errorlist{color:#b32e42;margin:0;font-size:14px}.hk-info{color:#5d728a;font-size:15px;line-height:1.7}.hk-empty{padding:24px 28px;background:#fff;border:1px dashed #c4d2e2;border-radius:14px;color:#66788d;font-size:16px;line-height:1.6}
.hk-smallnav{display:flex;gap:8px;flex-wrap:wrap}.hk-smallnav a{font-size:13px}
.hk-selected{padding:9px 12px;color:#dbefff;font-size:14px;font-weight:750;line-height:1.4}.hk-picker summary{list-style:none;color:#b9c7dd;background:none;display:flex;align-items:center;gap:11px;padding:13px;border-radius:12px;cursor:pointer;font-weight:750;font-size:15px}.hk-picker summary:hover{background:#25395d}.hk-picker summary::-webkit-details-marker{display:none}.hk-picker[open] summary{background:#25395d;color:#fff}
.hk-picker-list{margin:4px 0 9px 8px;display:grid;max-height:365px;overflow-y:auto;gap:1px}.hk-picker-list a{color:#cad8eb;font-size:14px;text-decoration:none;padding:10px 12px;border-radius:8px}.hk-picker-list a:hover,.hk-picker-list a[aria-current]{background:#304777;color:#fff}
.hk-sidebar-nav a.nav{text-decoration:none}.hk-sidebar-nav .nav.active{color:#fff}
.hk-logout{border:0;background:transparent;color:#c9d5e9;text-decoration:underline;font-size:13px;cursor:pointer;padding:7px 0}
.hk-logout:hover{color:#fff}.hk-sidebar-bottom{border-top:1px solid #31415c;padding:16px 10px 0;margin-top:auto;font-size:12px}
.hk-flash{border:1px solid #cad7ed;border-radius:12px;background:#edf5ff;color:#285486;padding:13px;margin-bottom:16px;font-size:14px}
.hk-login-bg{min-height:100vh;background:linear-gradient(130deg,#0e1b33,#1e4076);padding:20px;display:grid;place-items:center}.hk-login-card{width:min(450px,100%);padding:35px;background:white;border-radius:21px;box-shadow:0 15px 60px #0015}.hk-login-card h1{font-size:30px;margin:9px 0 6px}
.hk-doc-reader{display:grid;grid-template-columns:minmax(250px,.85fr) minmax(300px,1.2fr);gap:17px;align-items:start}.hk-doc-reader iframe{width:100%;height:min(75vh,850px);border:1px solid #d4dfea;border-radius:13px;background:#fff}.hk-report-body{max-width:850px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-family:Georgia,serif;font-size:17px}
.hk-table{width:100%;border-collapse:collapse;background:#fff}.hk-table th,.hk-table td{padding:12px;border-bottom:1px solid #dce5ee;text-align:left;vertical-align:middle;font-size:14px}.hk-table th{color:#546883;background:#f4f6fa}.hk-table td form{margin:0}
.hk-footer{font-size:12px;color:#7d8da2;margin-top:30px;padding-bottom:25px}
.hk-tools{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 20px}.hk-tools input,.hk-tools select{font-size:15px;padding:11px 12px;border:1px solid #ccd6e4;border-radius:9px;min-width:160px}
.hk-menu-button{display:none}
@media(max-width:1100px){.hk-doc-reader{grid-template-columns:1fr}.hk-doc-reader iframe{height:600px}}
@media(max-width:820px){.hk-layout .main{width:100%}.hk-menu-button{display:inline-flex}.hk-topbar{padding:0 15px}.hk-topbar form input{width:min(42vw,240px)}.hk-topbar .top-actions{gap:7px}.hk-topbar .bread{font-size:12px}.hk-layout .sidebar{position:fixed;top:0;left:0;bottom:0;width:min(300px,calc(100vw - 56px));transform:translateX(calc(-100% - 12px));z-index:101;transition:transform .2s ease}.hk-layout .sidebar.mobile-open{transform:translateX(0)}.sidebar-backdrop.active{display:block;position:fixed;inset:0;z-index:100;background:#0a1728a8}}
@media(max-width:560px){.hk-tip-card{min-width:265px;flex-basis:265px;padding:18px}.hk-tip-card h3{font-size:19px}.hk-content{padding:22px 14px}.hk-article h1{font-size:28px}.hk-section-head h2{font-size:23px}.hk-topbar form input{width:37vw}.hk-form .checkboxlist{grid-template-columns:1fr}.hk-table{display:block;overflow-x:auto}.hk-row{padding:16px}.hk-panel{padding:18px}}
