/* Shared workspace layout. Preserve the established green visual identity. */
:root{--bg:#f5f8f6;--line:#dce7e0;--ink2:#4c6559;--wait:#805500;--radius:16px}
body{font-size:15px;line-height:1.65}
h1,h1.largetitle{font-size:28px;line-height:1.35;letter-spacing:-.035em;margin:12px 0 8px;overflow-wrap:anywhere}
h2{letter-spacing:-.015em}
.brand{gap:11px;font-size:17px;line-height:1.3}
.brand-logo{width:36px;height:36px;border-radius:10px}
.brand small{display:block;font-size:9px;letter-spacing:.14em;color:var(--ink2);margin-top:5px;font-weight:600}
.app-shell .top{position:fixed;inset:0 auto 0 0;width:240px;height:100dvh;padding:28px 16px 18px;display:flex;flex-direction:column;align-items:stretch;gap:30px;flex-wrap:nowrap;border-right:1px solid var(--line);border-bottom:0;overflow-y:auto}
.app-shell .brand{padding:0 8px}
.nav{display:flex;flex-direction:column;gap:6px;flex-wrap:nowrap}
.nav a{min-height:46px;border-radius:10px;gap:11px;padding:11px 12px;font-size:13px;line-height:1.45;font-weight:500}
.nav a.active{box-shadow:inset 3px 0 var(--acc);font-weight:700}
.nav-icon{width:19px;height:19px;flex:none}
.nav a .count{margin-left:auto;font-size:11px}
.app-shell .userbox{margin:auto 0 0;padding:18px 8px 0;border-top:1px solid var(--line);display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:center}
.user-details{display:flex;flex-direction:column;min-width:0;line-height:1.5;overflow-wrap:anywhere}
.user-details strong{font-size:13px;color:var(--ink)}
.user-details .small{font-size:11px}
.user-actions{grid-column:1/-1;display:flex;justify-content:space-between;gap:12px;font-size:12px}
.user-actions a{padding:6px 0}
.app-shell .wrap{margin-left:240px;padding:0 36px 56px;max-width:1680px}
.workspace-bar{height:68px;display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid var(--line);margin-bottom:26px;font-size:12px;color:var(--ink2)}
.workspace-bar>span{min-width:0;overflow-wrap:anywhere}
.workspace-bar span span{margin:0 9px;color:#688072}
.workspace-bar strong{font-weight:500;color:var(--ink)}
.workspace-bar time{white-space:nowrap;font-variant-numeric:tabular-nums}
.card{padding:22px 24px;box-shadow:0 2px 6px #17352a03}
.card.narrow.formcard{max-width:960px}
.card.authn{padding:30px;max-width:460px;margin:60px auto}
.auth-shell .top{position:static;padding:24px 32px;border:0;background:transparent}
.auth-shell .wrap{max-width:600px;margin:auto;padding:0 20px 40px}
.auth-shell h1{font-size:25px;margin-bottom:26px}
.row.between>div{min-width:0}
.page-intro{font-size:14px;margin:4px 0 10px}
.btn{min-height:44px;border-radius:10px;font-size:14px;padding:10px 18px}
.btn.small{border-radius:9px;min-height:36px;padding:6px 12px;font-size:12px}
.btn.primary{box-shadow:0 3px 6px #0e7a4f14}
.field label{font-size:13px;color:var(--ink);margin-bottom:7px}
input,select,textarea{font-size:15px;border-width:1px;border-radius:10px;padding:11px 12px}
textarea{resize:vertical;min-height:96px}
input::placeholder,textarea::placeholder{opacity:1;color:#637b6e}
.formcard form .field{border:0;padding:10px 0}
.formcard .grid2{gap:0 24px}
.field .small{font-size:12px;margin:8px 0 0}
.filters{padding:12px 0;margin:4px 0 16px;gap:10px}
.filters select{font-size:13px;padding:9px 12px}
.tag{font-size:11px;padding:5px 10px;line-height:1.5}
.tag.big{font-size:13px}
.summary-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:22px 0}
.summary-item{min-width:0;padding:16px 18px;border-radius:12px;gap:8px;font-size:12px}
.summary-item strong,.project-metric strong{font-size:26px;font-variant-numeric:tabular-nums;letter-spacing:-.04em}
.project-summary{gap:10px;margin:22px 0}
.project-metric{padding:16px;border-radius:12px;font-size:11px;gap:10px}
.project-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:18px}
.project-card{padding:22px;gap:18px}
.project-card h2{font-size:18px;line-height:1.5}
.project-card h2 a{color:var(--ink)}
.project-description{font-size:13px;line-height:1.7}
.project-meta{padding-top:14px;border-top:1px solid var(--line);font-size:12px}
.project-progress strong{font-size:18px;letter-spacing:-.02em}
.project-progress progress{height:8px;margin-top:10px}
.project-detail .project-progress{max-width:700px}
.feedback-layout{grid-template-columns:minmax(0,1fr) minmax(290px,350px);gap:20px}
.feedback-compose{scroll-margin-top:24px}
.feedback-compose h2{font-size:18px}
.feedback-compose>p{font-size:12px;line-height:1.7}
.feedback-item{padding:20px 2px}
.feedback-item h3{font-size:16px;margin-top:10px}
.feedback-excerpt{font-size:13px;line-height:1.7}
.feedback-item .small{font-size:11px}
.feedback-response{background:var(--bg);border:0;border-radius:12px;padding:18px;margin-top:24px}
.lrow{padding:17px 4px;gap:14px}
.lrow .ls{font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.lrow .tag{flex:none}
.lt{font-size:14px}
.leave-total{padding:18px;margin:18px 0;border:1px solid #b7ddc8}
.leave-total strong{font-size:24px}
.tbl th{font-size:11px;padding:12px 10px}
.tbl td{font-size:13px;padding:16px 10px}
.skip-link{position:fixed;left:12px;top:-100px;z-index:100;background:var(--ink);color:#fff;padding:10px 16px;border-radius:8px}
.skip-link:focus{top:10px}
:focus-visible{outline:2px solid var(--acc);outline-offset:3px}
@media(min-width:1101px) and (max-width:1370px){.feedback-layout{grid-template-columns:minmax(0,1fr)}.project-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.app-shell .wrap{padding-inline:26px}}
@media(max-width:1100px){
  .app-shell .top{position:sticky;inset:auto;top:0;width:100%;height:auto;padding:12px 24px 0;display:grid;grid-template-columns:1fr auto;gap:12px 20px;border:0;border-bottom:1px solid var(--line);overflow:visible}
  .app-shell .brand{padding:0}
  .app-shell .userbox{display:flex;flex-wrap:nowrap;margin:0;padding:0;border:0;gap:10px;justify-self:end;width:auto}
  .user-details,.userbox>.ava{display:none}
  .user-actions{display:flex;gap:14px;font-size:12px}
  .nav{grid-column:1/-1;grid-row:2;flex-direction:row;overflow-x:auto;gap:8px;min-width:0;padding:0 0 10px;scroll-padding-inline:12px}
  .nav a{white-space:nowrap;flex:none;font-size:13px;padding:10px 12px;min-height:44px}
  .nav a.active{box-shadow:inset 0 -2px var(--acc)}
  .nav-icon{width:17px;height:17px}
  .app-shell .wrap{margin-left:0;padding:0 24px 44px}
  .workspace-bar{height:52px;margin-bottom:20px}
  .feedback-layout{grid-template-columns:minmax(0,1fr)}
  .feedback-compose{scroll-margin-top:138px}
}
@media(max-width:680px){
  h1,h1.largetitle{font-size:24px;line-height:1.4}
  .app-shell .top{padding:12px 16px 0;gap:10px}
  .brand{font-size:15px;gap:8px}.brand-logo{width:30px;height:30px}.brand small{font-size:8px;margin-top:3px}
  .user-actions{gap:12px;font-size:11px}.user-actions a{min-height:40px;display:flex;align-items:center}
  .nav{margin-inline:-16px;padding:0 16px 10px;gap:6px}.nav a{font-size:12px;gap:7px;padding-inline:10px}
  .app-shell .wrap{padding:0 16px 40px}.workspace-bar{font-size:10px;height:48px;margin-bottom:16px;gap:8px}.workspace-bar span span{margin-inline:4px}
  .card{padding:18px 16px;border-radius:14px}.card.authn{margin-top:24px;padding:24px}
  .btn.small{min-height:44px}.btn{min-height:46px}
  input,select,textarea{font-size:16px}
  .filters select{min-height:44px;font-size:14px}.feedback-list .filters select{flex-basis:auto;width:100%}
  .summary-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:18px 0}.summary-item{padding:12px 14px;gap:5px;font-size:11px}.summary-item:first-child{grid-column:1/-1;flex-direction:row;align-items:center;gap:12px}.summary-item strong{font-size:23px}
  .project-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:18px 0}.project-metric{font-size:11px;padding:12px 14px;gap:6px}
  .project-grid{gap:14px}.project-card{gap:16px;padding:20px}
  .lrow{flex-wrap:wrap;gap:9px}.lrow .ava{width:32px;height:32px;font-size:11px}.lrow .lmain{flex-basis:calc(100% - 44px)}.lrow>.tag{margin-left:41px}
  .cols{gap:0}.cols>.card,.cols>div{min-width:0}
  .feedback-compose{scroll-margin-top:142px}
  .role-form{min-width:0;max-width:100%}
  .drp-panel{padding:10px 6px}.drp-month{padding:12px 4px}.drp-months{gap:12px}.drp-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.drp-jump{flex-wrap:wrap}.drp-day{width:min(32px,100%);height:40px}.drp-day.endpoint{width:min(32px,100%)}.drp-input{min-width:0;flex-basis:100%;font-size:13px}.drp-arrow{display:none}
  .project-detail .grid2{grid-template-columns:minmax(0,1fr)}
}
