*{box-sizing:border-box}body{margin:0;background:#f2f7f3;color:#163c2a;font:16px system-ui,-apple-system,Segoe UI,sans-serif}a{color:#16653b}header.hero{height:205px;background:linear-gradient(90deg,#eaf6f0 10%,#cbe6dbab 60%),url('https://vestfiskur.is/forsida-midja.gif') center 45%/cover;display:flex;align-items:flex-start;justify-content:space-between;padding:26px 4%;box-shadow:0 5px 20px #0d47201a}.branding{display:flex;align-items:center;gap:22px}.vfmark{font-size:58px;color:#0077ad;background:#fffdf7e6;border-radius:16px;padding:0 18px}h1{margin:0;font-size:clamp(24px,2.7vw,40px)}header p{letter-spacing:.25em;margin:3px 0}header span{color:#256046;font-size:13px}.shell{display:grid;grid-template-columns:270px 1fr;gap:24px;max-width:1400px;margin:-30px auto 0;padding:0 24px 40px}aside{background:#fffffff2;border-radius:18px;padding:18px;box-shadow:0 7px 24px #143c2414}nav{display:grid;gap:8px}nav a{padding:13px;border-radius:10px;text-decoration:none;color:#214c34}nav a:hover,nav a.active{background:#12643c;color:white}.date{background:#e8f3ec;border-radius:12px;padding:16px;margin-bottom:14px}.sideimage{margin-top:30px}.sideimage img{width:100%;border-radius:12px;object-fit:cover}section{padding:8px 0}section h2{font-size:27px}.cards{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:18px}article{min-height:190px;background:linear-gradient(150deg,#ffffff,#e5f3e9);border-radius:18px;padding:26px;box-shadow:0 5px 24px #184b2914;border-bottom:4px solid #258356}article h3{margin:14px 0 8px;font-size:21px}article p{color:#52695a}.symbol{font-size:31px;color:#137546}.notice{padding:18px;background:#e4efe7;border-radius:12px;margin-top:20px}form{max-width:580px;margin:30px auto;background:white;border-radius:16px;padding:28px;box-shadow:0 5px 20px #1232}label{display:block;margin:14px 0}input{display:block;padding:12px;width:100%;max-width:440px}button{background:#13723e;border:0;color:white;padding:12px 20px;border-radius:8px;cursor:pointer}main:not(:has(.shell)){padding:24px}@media(max-width:850px){.shell{grid-template-columns:1fr;margin:0}.cards{grid-template-columns:1fr}header.hero{height:auto;min-height:165px}.vfmark{font-size:35px}header span{display:none}}
/* Vestfiskur CORE v0.1.3: official logo in original aspect ratio */
.vfmark{font-size:initial;color:inherit;background:rgba(255,255,255,.92);padding:7px 10px;display:flex;align-items:center;justify-content:center;min-width:104px;min-height:80px}
.vfmark img{display:block;width:100px;height:69px;object-fit:contain}
@media(max-width:850px){.vfmark{min-width:84px;min-height:68px;padding:5px}.vfmark img{width:78px;height:auto}}

.vf-data{max-width:1250px;margin:auto;padding:24px}.vf-overflow{max-height:72vh;overflow:auto}.vf-data table{width:100%;border-collapse:collapse}.vf-data td{padding:9px;border-bottom:1px solid #d7e9dd}.vf-edit{display:flex;flex-wrap:wrap;align-items:center;gap:10px;max-width:none;margin:0;padding:12px;box-shadow:none}.vf-edit strong{min-width:200px}.vf-edit small{max-width:460px}.vf-edit label{font-size:12px;margin:0}.vf-edit input{width:145px;padding:8px}.vf-edit button{padding:9px 15px}.vf-data input[type=search]{margin-bottom:12px}tr[hidden]{display:none}

/* CORE v0.1.5 - þéttir listaskjáir, engar breytingar á forsíðu */
.vf-list{max-width:1550px;margin:0 auto;padding:24px 22px 45px}
.vf-list h2{margin:14px 0 6px;font-size:26px}
.vf-list-top{font-size:14px}
.vf-muted{font-size:14px;color:#52695a;margin:0 0 18px}
.vf-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:12px 0 16px}
.vf-toolbar input[type=search]{width:420px;max-width:100%;margin:0;border:1px solid #c6d9cd;border-radius:9px;background:white}
.vf-toolbar span{color:#52705c;font-size:13px;white-space:nowrap}
.vf-table-scroll{width:100%;overflow-x:auto;max-height:74vh;overflow-y:auto;border:1px solid #d9e6dd;border-radius:12px;background:#fff}
.vf-grid{width:100%;border-collapse:separate;border-spacing:0;font-size:13px;min-width:1000px}
.vf-grid th{position:sticky;top:0;background:#e7f2ea;color:#1d4e34;text-align:left;font-weight:700;z-index:1;padding:11px 12px;border-bottom:1px solid #bdd6c5;white-space:nowrap}
.vf-grid td{padding:9px 12px;border-bottom:1px solid #edf2ee;vertical-align:middle}
.vf-grid .vf-row:nth-of-type(4n+3){background:#f8fbf9}
.vf-grid .vf-row:hover{background:#eaf5ed}
.vf-grid .vf-name{font-weight:650;min-width:190px}
.vf-grid .vf-num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.vf-grid td:not(.vf-name){white-space:nowrap}
.vf-grid .vf-detail td{background:#f0f8f2;white-space:normal;padding:12px 20px}
.vf-grid tr[hidden]{display:none!important}
.vf-grid .vf-small{padding:6px 11px;font-size:12px;white-space:nowrap}
.vf-inline-form,.vf-customer-form{max-width:none;margin:0;padding:0;box-shadow:none;background:transparent;display:flex;flex-wrap:wrap;gap:12px;align-items:end}
.vf-customer-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:10px 16px}
.vf-inline-form label,.vf-customer-form label{margin:0;font-size:12px;min-width:140px}
.vf-inline-form input,.vf-customer-form input,.vf-inline-form select{width:100%;max-width:none;padding:8px;border:1px solid #bed5c4;border-radius:6px;background:white;font-size:14px}
.vf-inline-form button,.vf-customer-form button{padding:9px 14px;white-space:nowrap}
@media(max-width:700px){.vf-list{padding:16px 10px}.vf-toolbar{flex-wrap:wrap}.vf-table-scroll{max-height:75vh}}

/* v0.1.6: hard scoped table layout, no inherited block/form styles */
body .vf-list{width:calc(100% - 36px);max-width:1450px;box-sizing:border-box;margin:0 auto;padding:24px 8px 40px}
body .vf-list .vf-table-scroll{display:block;overflow:auto;max-height:calc(100vh - 290px);min-height:320px;width:100%;border:1px solid #d6e5db;border-radius:12px;background:#fff;box-shadow:0 4px 20px rgba(17,70,40,.06)}
body .vf-list table.vf-grid{display:table;width:100%;min-width:1030px;table-layout:auto;border-collapse:collapse;border-spacing:0;background:white}
body .vf-list table.vf-grid thead{display:table-header-group}
body .vf-list table.vf-grid tbody{display:table-row-group}
body .vf-list table.vf-grid tr{display:table-row;height:auto;min-height:0;max-height:none}
body .vf-list table.vf-grid tr[hidden]{display:none!important}
body .vf-list table.vf-grid td,body .vf-list table.vf-grid th{display:table-cell;float:none;width:auto;max-width:none;min-height:0;height:auto;margin:0;box-sizing:border-box;padding:10px 12px;border-bottom:1px solid #e7efe9;vertical-align:middle;line-height:1.35;white-space:nowrap;font-size:13px}
body .vf-list table.vf-grid th{background:#e3efe6;color:#174a32;font-weight:700;position:sticky;top:0;z-index:2;text-align:left}
body .vf-list table.vf-grid tr.vf-row:nth-child(4n+1){background:#f6faf7}
body .vf-list table.vf-grid tr.vf-row:hover{background:#e9f4ed}
body .vf-list table.vf-grid .vf-name{font-weight:650;min-width:210px;white-space:normal}
body .vf-list table.vf-grid td.vf-num{text-align:right}
body .vf-list table.vf-grid .vf-detail td{padding:16px 20px;background:#edf6f0;white-space:normal}
body .vf-list table.vf-grid .vf-detail form{display:flex;flex-wrap:wrap;gap:12px;align-items:end;max-width:none;width:100%;margin:0;padding:0;background:none;border:0;box-shadow:none}
body .vf-list table.vf-grid .vf-detail form.vf-customer-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
body .vf-list table.vf-grid .vf-detail form label{display:flex;flex-direction:column;gap:5px;margin:0;min-width:170px;font-size:12px}
body .vf-list table.vf-grid .vf-detail form input,body .vf-list table.vf-grid .vf-detail form select{display:block;max-width:100%;width:100%;height:38px;padding:7px 9px;box-sizing:border-box}
body .vf-list table.vf-grid button.vf-small{width:auto;min-width:64px;padding:6px 10px;font-size:12px}
body .vf-list .vf-toolbar input[type=search]{box-sizing:border-box;width:420px;height:42px;padding:8px 12px;margin:0}
@media(max-width:800px){body .vf-list{width:100%;padding:16px 12px}body .vf-list .vf-table-scroll{max-height:70vh}}
