/* Shared readable navigation; architecture is a low-contrast background. */
.header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:16px 26px;max-width:1280px;padding:22px 35px 18px;align-items:center}
.header .brand{min-width:0;font-size:24px;white-space:normal;line-height:1.25;gap:14px}.header .brand small{font-size:16px;margin-top:5px;max-width:none}.header .brand-number{flex-shrink:0}
.header-phone{grid-column:2;grid-row:1;display:inline-flex;align-items:center;gap:9px;min-height:48px;font-size:22px;white-space:nowrap;text-decoration:underline;text-decoration-color:#b5a17d;text-underline-offset:5px}.header-phone img{flex-shrink:0}
.header .user-menu{grid-column:3;grid-row:1;gap:12px;justify-content:flex-end;max-width:400px;min-width:0}.header .user-name{display:block;font-size:18px;overflow-wrap:anywhere}.header .user-name small{font-size:14px;line-height:1.4}.header .user-menu form{margin:0}
.header .user-menu .text-button{isolation:isolate;position:relative;padding:10px 14px;min-height:48px;font-size:17px;background:#efe5d0;border:1px solid #b9a583;border-radius:4px}.header .user-menu .text-button:before{content:"";position:absolute;inset:0;z-index:-1;opacity:.12;background:url("nav-door.svg") center/100% 150% no-repeat}
.header nav{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));align-items:stretch;gap:8px;padding-top:14px;border-top:1px solid #d9d2c4}
.header nav a{isolation:isolate;position:relative;display:flex;align-items:center;justify-content:center;height:100%;min-height:52px;padding:10px 12px;font-size:18px;line-height:1.35;color:#485548;border:1px solid #c7b99b;border-radius:4px;white-space:nowrap;text-align:center;background:#f4eedf}
.header nav a:before{content:"";position:absolute;inset:0;z-index:-1;opacity:.12;background-position:center;pointer-events:none}
.header nav .nav-brick:before{background-image:linear-gradient(#806e50 1px,transparent 1px),linear-gradient(90deg,#806e50 1px,transparent 1px),linear-gradient(90deg,#806e50 1px,transparent 1px);background-size:100% 18px,66px 36px,66px 36px;background-position:0 0,0 0,33px 18px}
.header nav .nav-tiles:before{background:url("petersburg-tiles.svg") center/28px 28px repeat}
.header nav .nav-grille:before{background:url("petersburg-grille.svg") center/auto 44px repeat-x}
.header nav .nav-stone:before{background:repeating-linear-gradient(0deg,transparent 0 16px,#806e50 17px 18px),repeating-linear-gradient(90deg,transparent 0 86px,#806e50 87px 88px)}
.header nav .nav-roof:before{background:repeating-linear-gradient(130deg,transparent 0 14px,#806e50 15px 16px),repeating-linear-gradient(0deg,transparent 0 24px,#806e50 25px 26px)}
.header nav .nav-cornice:before{background:url("nav-cornice.svg") center/100px 60px repeat-x}
.header nav a:hover{background-color:#eee4cd}.header nav a.active{background-color:#e7dfca;border-color:#a78e61;box-shadow:inset 0 -2px #a78e61}
.area-switch{grid-column:1/-1;grid-row:2;display:flex;gap:4px;justify-self:start;margin:0;padding:4px;border:1px solid #b8a989;border-radius:5px;background:#e9e1d0}.area-switch button{min-height:44px;min-width:135px;padding:8px 18px;border:0;border-radius:3px;background:transparent;font-size:18px;color:#465346;white-space:nowrap}.area-switch button.selected{background:#3a4b40;color:#fff}.header:has(.area-switch) nav{grid-row:3}
.section-heading{align-items:flex-start;gap:20px;margin-bottom:24px}.section-heading:after{display:none}.section-heading>div{min-width:0}.section-heading>.button{flex-shrink:0;align-self:center}.button{font-size:18px;min-height:48px;padding:10px 20px;line-height:1.4;text-align:center}.text-button{font-size:17px;line-height:1.4}.filters{display:flex;gap:8px;flex-wrap:wrap}.filters a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:9px 16px;line-height:1.4}.card-footer{gap:12px;flex-wrap:wrap;align-items:center}.card-footer form{margin:0}
.office-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:30px}.office-actions a{padding:24px;background:#fffdf8;border:1px solid #c8bda6;border-top:3px solid #a28b5b;border-radius:4px}.office-actions a:hover{background:#eee7d8}.office-actions strong{display:block;font:26px Georgia,serif}.office-actions span{display:block;color:#625f54;font-size:18px;margin-top:6px}.office-task-add{display:grid;grid-template-columns:1fr 210px auto;align-items:end;gap:16px;margin-bottom:24px}.office-task-add label{margin:0}.office-task{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-top:1px solid #ddd3c0}.office-task>div{min-width:0;overflow-wrap:anywhere}.office-task strong{font-size:20px}.office-task small{display:block;color:#625f54;font-size:17px}.office-task form{margin:0;flex-shrink:0}.office-task.is-done strong{font-weight:400;text-decoration:line-through;color:#707266}
@media(max-width:1000px){.header{gap:16px}.header .avatar{display:none}.office-task-add{grid-template-columns:1fr 180px}.office-task-add .button{grid-column:1/-1}.office-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.header{padding:20px 18px 16px;grid-template-columns:1fr;gap:12px}.header .brand{font-size:23px}.header .brand small{font-size:16px}.header-phone{grid-column:1;grid-row:2;font-size:22px;min-height:42px;justify-self:start}.header .user-menu{grid-column:1;grid-row:3;justify-content:flex-start;max-width:none;border-top:1px solid #d9d2c4;padding-top:12px}.header .user-name{flex:1;font-size:18px}.header .user-name small{font-size:14px}.header nav{grid-row:4;grid-column:1;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:12px}.header nav a{padding:10px 8px;min-height:52px;font-size:18px}.header .area-switch{grid-row:4;grid-column:1}.header:has(.area-switch) nav{grid-row:5}.section-heading{gap:16px}.section-heading>.button{width:100%;align-self:stretch}.button{min-height:52px}.filters a{font-size:17px}.office-actions{grid-template-columns:1fr;gap:12px}.office-actions a{padding:20px}.office-task-add{grid-template-columns:1fr}.office-task-add .button{grid-column:auto}}
@media print{.header{display:none}}

/* Quiet engraved entrance motif, no stretched doorway behind logout. */
.header .user-menu .text-button{background:#f4eedf;border-color:#c7b99b;color:#485548;box-shadow:none}
.header .user-menu .text-button:before{background:url('petersburg-grille.svg') center/auto 40px repeat-x;opacity:.07}
.header .user-menu .text-button:hover{background:#e9e0ca;border-color:#a78e61}
