/* Atelier masonic — shared by both roles, all screens. */
:root{--navy:#0c2135;--navy2:#18354d;--gold:#a77a2f;--cream:#f7f2e7;--ink:#15273b;--muted:#566579;--border:#d4bd92;--white:#fffdf8}
body{font-size:16px;line-height:1.55;background:radial-gradient(ellipse at 80% 0,#fffdf8 0,transparent 65%),var(--cream)}
h1,h2,.brand strong,.form-section-title{font-family:'Palatino Linotype','Book Antiqua',Georgia,serif;font-weight:700}
h1{font-size:clamp(34px,3.7vw,58px);line-height:1.1;letter-spacing:-1px;color:#102238}
h2{font-size:30px;line-height:1.2}.eyebrow{font-size:12px;font-weight:750;letter-spacing:2px;color:#856229}
.sidebar{width:290px;padding:22px 18px;background:radial-gradient(ellipse at 30% 0,#203d55,transparent 52%),linear-gradient(150deg,#102b43,#091a2c);border:2px solid #c8a35c;border-radius:0 30px 30px 0;box-shadow:8px 0 30px #172d3920;z-index:2;scrollbar-width:thin;scrollbar-color:#bd9c5d #102438}
.brand{padding-bottom:18px;color:#eed394}.brand img{width:104px;height:104px;margin-bottom:10px;filter:drop-shadow(0 3px 9px #dab25930)}.brand strong{font-size:24px;font-weight:700;letter-spacing:2px}.brand span{font-size:11px;color:#e0c89b;letter-spacing:2px}.nav-label{font-size:10px;color:#aebccc;margin-bottom:9px}
nav{gap:7px}nav button{font-size:15px;font-weight:600;padding:14px 10px;color:#e0e8f0;border:2px solid transparent;border-radius:17px;white-space:normal;line-height:1.3;min-height:52px}nav button span{font-size:22px;width:29px;color:#dfbb73}nav button.active{border-color:#dfbb73;color:#ffe1a0;background:linear-gradient(115deg,#675a3e88,#213b52);box-shadow:inset 0 0 0 2px #e6c58225,0 5px 15px #0003}nav button:hover{background-color:#2c455a}
main{margin-left:290px;padding:0 36px 10px;max-width:2000px}.topbar{min-height:76px;border-bottom:1px solid #c5a56870;font-size:11px;letter-spacing:1.4px}.topbar #breadcrumb{font-size:14px}.top-date{font-size:12px;color:#566579}.session-controls #connection-status{font-size:12px;font-weight:600}.session-controls .secondary{font-size:12px;padding:9px 12px}.session-controls{gap:12px}
.heading{position:relative;isolation:isolate;min-height:175px;padding:30px 12px 32px;gap:22px}.heading:before{content:'';position:absolute;inset:0 -12px;z-index:-1;background:url('/temple-lines.svg') center/cover no-repeat;opacity:.65;pointer-events:none}.heading:after{content:'∴';position:absolute;bottom:0;left:48%;font:24px Georgia;color:#a6803e}.heading p{font-size:17px;color:#526073;max-width:760px}.heading .primary{flex-shrink:0}.heading h1{margin:10px 0 12px}
.primary,.secondary{border:2px solid #b59049;border-radius:15px;padding:12px 20px;font-size:15px;font-weight:700;line-height:1.35;box-shadow:0 3px 7px #273c4712}.primary{background:linear-gradient(#1d3a51,#0b2136);color:#ffe2a0;box-shadow:inset 0 1px #ffffff25,0 4px 9px #162d4320}.secondary{background:linear-gradient(#fffefa,#f1ecdf);color:#24374e;border-color:#bfa77b}button:hover:not(:disabled){filter:brightness(1.06)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #147a9e;outline-offset:3px}
.panel,.stat,.timeline-item{border:2px solid #c4a76f;border-radius:25px;background:linear-gradient(130deg,#fffefa,#f8f4eb);box-shadow:0 7px 18px #4a3c2210}.panel{margin-top:20px}.panel-heading{padding:24px 26px 20px}.panel-heading h2{font-size:29px}.person-row,.change-row{padding:20px 25px;border-top:1px solid #d5c39e}.person-name,.member-name{font-size:16px;font-weight:700}.person-sub,.member-status{font-size:13px;color:#596a7c}.small-muted{font-size:13px;color:#536579}.badge{font-size:12px;font-weight:650;border:1px solid #d9c9a7;border-radius:10px;padding:6px 10px}.badge.eligible{color:#785214;background:#f7e6be}.counter{font-size:16px;font-weight:700}.avatar{width:43px;height:43px;background:#eae0cc;border:1px solid #b99c60;color:#253e54;font-size:17px}.text-button,.gold-link{font-size:14px;font-weight:700}.text-button{color:#805b20;white-space:normal}.panel-foot{font-size:13px;color:#5c6876;background:#eee8da;padding:16px 25px;border-color:#d5c39e}.empty{font-size:15px;color:#576779}
.hero{border:2px solid #c5a164;border-radius:28px;padding:32px 38px;min-height:285px;background:radial-gradient(ellipse at 85% 40%,#2c465b,#10283d 55%,#0d1e31);box-shadow:0 10px 24px #11253624}.hero h2{font-size:clamp(36px,3.5vw,53px);color:#fff0ce}.hero p{font-size:16px;color:#d5e0e9}.hero .eyebrow{font-size:12px}.hero-art img{width:200px;height:200px}.hero-art{opacity:1;margin-right:8px}.hero-art span{font-size:10px;letter-spacing:2px}.hero:after{border:1px solid #ddbc7b40;width:420px;height:420px;right:-30px;top:-70px}.gold-link{color:#f3d594}.stats{gap:18px;margin:25px 0}.stat{padding:22px}.stat-label{font-size:14px;font-weight:650;color:#516174}.stat-value{font:bold 44px 'Palatino Linotype',Georgia,serif;color:#16334d}.stat-detail{font-size:12px;color:#526377}.stat.urgent{border:2px solid #aa813c;background:linear-gradient(135deg,#fffaf0,#f5e8c9)}
input,select,textarea{border:2px solid #b8a17a;border-radius:13px;background:#fffefa;color:#172d43;padding:11px 13px;font-size:16px;box-shadow:inset 0 2px 4px #42341608,0 2px 3px #44351c08;min-height:46px}input::placeholder,textarea::placeholder{color:#687689;opacity:1}.field{font-size:15px;font-weight:650;color:#283a50;gap:8px}.field input,.field select,.field textarea{font-weight:500;color:#18324a}.toolbar{padding:22px;gap:14px}.notice{padding:18px 22px;border:2px solid #c5aa73;border-radius:17px;background:#f7eedb;color:#6b522a;font-size:15px}.error{font-size:15px;border-radius:15px;border-width:2px}.table-wrap{scrollbar-width:thin}th{font-size:12px;font-weight:750;color:#516174;background:#f0eadc;border-color:#d0ba90;padding:17px}td{font-size:14px;border-color:#dfd2b7;padding:19px 17px}tbody tr:hover{background:#f4eddb}
.officers-panel{max-width:none;margin-top:14px;border:3px solid #c4a060;box-shadow:0 8px 22px #5f49221a}.officer-toolbar{padding:22px 25px;border-bottom:1px solid #d4bf98;background:transparent;gap:16px;flex-wrap:wrap}.officer-toolbar>div:first-child{flex-wrap:wrap;gap:14px}.officer-toolbar .eyebrow{font-size:15px;color:#24364a;letter-spacing:.3px}.officer-toolbar select{font-size:19px;font-weight:700;min-width:182px}.new-year{font-size:13px;color:#526174;flex-wrap:wrap}.new-year input{width:108px}.officer-grid{grid-template-columns:1fr 1fr;gap:15px 28px;padding:25px}.officer-field{display:grid;grid-template-columns:1fr;gap:7px;padding:0;border:0;min-width:0}.office-number{display:none}.office-label{font-size:16px;font-weight:750;color:#182b43}.officer-field input{grid-column:auto;width:100%;font-size:16px}.officer-footer{padding:20px 25px;border-color:#c4a060;flex-wrap:wrap}.officer-footer span{font-size:14px;color:#526377}.officer-footer .primary{order:-1}.two-col{gap:24px}.settings-card{padding:28px;margin-bottom:22px}.settings-card p,.settings-card p.small-muted{font-size:15px;color:#536276;line-height:1.75}.settings-card h3,.secretary-access h3{font-size:18px}a{color:#116283;text-underline-offset:3px}.source-card{margin-top:24px}.change-description{font-size:15px}.change-mark{font-size:25px}.history-pagination{gap:14px;border-color:#d3be97}.timeline-group h2{font-size:29px}.timeline-item{padding:23px;gap:24px}.date-tile{width:76px;font-size:13px;border-color:#c8ae7b}.date-tile b{font-size:33px}
.provider-brand{position:relative;isolation:isolate;flex-shrink:0;min-height:108px;margin:24px 6px 10px;padding:15px 12px;gap:10px;border:3px solid #9bc3db;border-radius:25px 12px 25px 12px;background:linear-gradient(130deg,#fff 20%,#e6f1f8 65%,#fcfaff);box-shadow:inset 0 0 0 2px #fff,0 0 0 2px #375e7b,0 0 19px #15bcd94a,0 8px 17px #0005}.provider-brand:before,.provider-brand:after{content:'';position:absolute;width:30px;height:4px;border-radius:5px;background:#73eeff;box-shadow:0 0 12px #29d7ff;pointer-events:none}.provider-brand:before{left:8px;top:-3px}.provider-brand:after{right:8px;bottom:-3px}.provider-brand img{width:66px;height:66px;border-radius:12px;mix-blend-mode:multiply}.provider-brand b{font-size:22px;letter-spacing:.2px}.provider-brand span{font-size:10px;font-weight:650;letter-spacing:.8px;color:#3b5972;line-height:1.6}.side-bottom{padding-top:0}.side-bottom p{font-size:13px;color:#d1c4a9}.local-dot{font-size:11px;color:#b7c8d7;margin-top:15px;padding-top:14px}.rule-symbol{font-size:27px;color:#dcbd78}footer{font-size:11px;color:#5c6a7a;gap:15px;flex-wrap:wrap;padding-top:28px}
dialog{border:3px solid #c09b59;border-radius:25px;width:min(950px,95vw);background:#fffaf0}.dialog-heading{background:linear-gradient(115deg,#eee4ce,#fffdf7);border-color:#cab284}.dialog-heading h2{font-size:32px}.dialog-scroll{max-height:62vh}.form-section-title{font-size:25px;color:#25415a;border-bottom:1px solid #c9b58c;padding-bottom:10px}.form-section-title span{font:13px 'Segoe UI',sans-serif;color:#59697a}.form-grid{gap:16px}.dialog-footer{border-color:#cab284;background:#efe7d6}.dialog-footer span{font-size:12px;color:#5a6775}.toast{font-size:16px;border:2px solid #caaa69;border-radius:17px;background:#15324a;z-index:20}.login-panel,.startup-panel{max-width:500px;padding:35px;border:2px solid #c5a364;border-radius:28px;background:#fffcf4;box-shadow:0 20px 55px #20374a18}.login-panel h1,.startup-panel h1{font-size:34px}.login-panel .small-muted{font-size:14px}#update-banner{margin:18px 0 0;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
@media(min-width:1700px){.sidebar{width:320px;padding:28px 22px}main{margin-left:320px;padding:0 55px}.brand img{width:128px;height:128px}nav button{font-size:17px;padding:17px 12px}.officer-grid{gap:19px 34px}.office-label{font-size:18px}.provider-brand{margin-top:30px}.provider-brand b{font-size:25px}}
@media(max-width:1200px){.sidebar{width:254px;padding:20px 13px}main{margin-left:254px;padding:0 23px}.brand strong{font-size:21px}nav button{font-size:14px;padding:13px 7px}.provider-brand b{font-size:19px}.provider-brand img{width:52px;height:52px}.heading h1{font-size:38px}.heading{flex-wrap:wrap}.stats{grid-template-columns:repeat(2,1fr)}.hero-art img{width:150px;height:150px}.hero{padding:28px}.two-col{grid-template-columns:1fr}.officer-grid{gap:15px 20px;padding:20px}.office-label{font-size:15px}.topbar{gap:12px}.form-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:750px){.sidebar{position:static;width:auto;border-radius:0 0 25px 25px;padding:15px;overflow:visible}.brand{display:flex;text-align:left;padding-bottom:12px;gap:15px}.brand img{width:68px;height:68px;margin:0}.brand strong{font-size:22px}.brand span{font-size:10px}.nav-label,.side-bottom{display:none}nav{display:flex;overflow-x:auto;gap:6px;padding-bottom:7px}nav button{flex-shrink:0;white-space:nowrap;font-size:14px;min-height:45px;padding:10px 13px}nav button span{display:none}.provider-brand{max-width:260px;margin:12px 0 3px;min-height:64px;padding:8px 12px;border-radius:19px 10px}.provider-brand img{width:44px;height:44px}.provider-brand b{font-size:20px}.provider-brand span{font-size:9px}main{margin:0;padding:0 16px}.topbar{padding:17px 0}.session-controls{gap:10px}.top-date{display:block;font-size:11px}.heading{padding:27px 0 30px;min-height:150px;gap:15px}.heading h1{font-size:35px}.heading p{font-size:15px}.heading .primary{font-size:14px;padding:11px 16px}.hero{padding:24px;min-height:250px}.hero h2{font-size:36px}.hero p{font-size:14px}.hero-art{display:none}.stat{padding:17px}.stat-value{font-size:38px}.stat-label{font-size:13px}.stats{gap:12px}.officer-grid{grid-template-columns:1fr;padding:20px;gap:16px}.officer-field{grid-template-columns:1fr}.officer-field input{grid-column:auto}.office-label{font-size:16px}.officer-toolbar{padding:20px}.officer-footer{padding:20px}.panel-heading{padding:21px;flex-wrap:wrap}.person-row{padding:17px;flex-wrap:wrap}.person-content{min-width:130px}.panel-heading h2{font-size:27px}.settings-card{padding:22px}.form-grid{grid-template-columns:1fr}.field.wide{grid-column:auto}.dialog-heading{padding:20px}.dialog-heading h2{font-size:27px}.dialog-footer{flex-wrap:wrap}.dialog-scroll{padding:0 18px 22px}.dialog-footer span{display:none}.primary,.secondary{font-size:14px}.timeline-item{gap:14px;padding:17px}.timeline-item .badge{white-space:normal}footer{font-size:10px}.change-row{padding:18px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Faceted metal plaque, matching the approved Agentoria concept. */
.provider-brand{height:162px;min-height:162px;display:flex;align-items:flex-start;justify-content:center;gap:8px;margin:24px 0 10px;padding:30px 16px 43px;border:0;border-radius:0;background:url('/agentoria-frame.svg') center/100% 100% no-repeat;box-shadow:none;filter:drop-shadow(0 5px 9px #0006);isolation:isolate}
.provider-brand:before,.provider-brand:after{display:none}.provider-brand img{width:66px;height:66px;border-radius:0;mix-blend-mode:multiply;flex-shrink:0}.provider-brand>div{padding-top:13px}.provider-brand b{font-size:22px;font-weight:800;letter-spacing:0;color:#0d294b}.provider-brand span{position:absolute;left:44px;right:44px;bottom:37px;text-align:center;text-transform:uppercase;font-size:9px;font-weight:600;letter-spacing:1.5px;line-height:1.5;color:#2f4b68}
@media(min-width:1700px){.provider-brand{height:180px;min-height:180px;padding-top:36px}.provider-brand b{font-size:24px}.provider-brand span{bottom:40px;font-size:10px}.provider-brand img{width:72px;height:72px}}
@media(max-width:1200px) and (min-width:751px){.provider-brand{height:151px;min-height:151px;padding:29px 14px 40px;gap:4px}.provider-brand img{width:54px;height:54px}.provider-brand b{font-size:20px}.provider-brand>div{padding-top:10px}.provider-brand span{font-size:8px;bottom:35px;left:40px;right:40px}}
@media(max-width:750px){.provider-brand{width:270px;max-width:100%;height:155px;min-height:155px;margin:12px 0 4px;padding:29px 20px 44px}.provider-brand img{width:60px;height:60px}.provider-brand b{font-size:23px}.provider-brand span{bottom:35px;font-size:9px}}

.side-bottom .lodge-motto{font-weight:600;font-style:normal;letter-spacing:1.2px;}
