/* Shared compact styling for the signed-in farm interface. */
.shell{font-size:12px;line-height:1.45;background:#f4f7f5;color:#24392c}
.shell .sidebar{width:220px;padding:18px 10px;background:#102b20;border-right:1px solid #254333}
.shell .main{margin-left:220px;width:calc(100% - 220px)}
.shell .brand{gap:9px;padding:0 8px 18px}
.shell .brand b{font-size:16px;letter-spacing:-.3px}
.shell .brandmark{width:32px;height:32px;font-size:15px;border-radius:9px;background:#c1e7cd;color:#19452e}
.shell .scope{padding:10px;border-radius:10px;margin-bottom:12px}
.shell nav a{font-size:11px;padding:8px 10px;gap:9px;margin:2px 0;border-radius:7px;transition:background .15s,color .15s}
.shell nav a.active{background:#27553e;box-shadow:inset 2px 0 #8ad1a1}
.shell .nav-label{padding:14px 10px 5px;letter-spacing:1px}
.shell .topbar{height:54px;padding:0 18px;border-bottom:1px solid #e2e9e4;background:#fff}
.shell .top-title b{font-size:12px}
.shell .top-title span:empty{display:none}
.shell .icon-btn{width:30px;height:30px;border-radius:8px;font-size:12px}
.shell .user-chip>span{width:29px;height:29px;font-size:12px}
.shell .content{padding:18px;max-width:1500px}
.shell .page-head{gap:12px;margin-bottom:16px;align-items:center}
.shell .page-head h1{font-size:20px;line-height:1.25;letter-spacing:-.4px;margin:3px 0}
.shell .page-head p{font-size:11px;line-height:1.5;max-width:650px}
.shell .eyebrow{font-size:9px;letter-spacing:1px}
.shell .head-actions{gap:6px;flex-wrap:wrap}
.shell .primary,.shell .btn{font-size:11px;line-height:16px;padding:6px 10px;gap:6px;border-radius:7px;box-shadow:none}
.shell .primary{background:#19804d}
.shell .primary:hover{background:#12673d}
.shell .btn:hover{background:#edf5ef;border-color:#b7cebf}
.shell :is(button,a,input,select,textarea):focus-visible{outline:2px solid #399a64;outline-offset:2px}
.shell button:disabled{opacity:.55;cursor:wait}
.shell .panel,.shell .kpi{border-radius:11px;border-color:#e0e8e2;box-shadow:0 2px 8px #183a2305}
.shell .panel{padding:14px}
.shell .panel.table-panel{padding:0}
.shell .panel h3{font-size:13px;line-height:1.4;margin-top:0}
.shell .panel-head{margin-bottom:12px}
.shell .panel-head h3{font-size:13px}
.shell .kpi{padding:12px;gap:10px}
.shell .kpi strong{font-size:18px}
.shell .kicon{width:35px;height:35px;border-radius:9px}
.shell .kpis,.shell .grid-2,.shell .role-cards{gap:12px}
.shell .finance-big{padding:12px}
.shell .finance-big b{font-size:19px}
.shell .table-tools{padding:10px 12px}
.shell .search{font-size:11px;min-width:0;width:min(260px,65%);padding:7px 9px;border-radius:7px}
.shell table{font-size:11px}
.shell th{padding:9px 10px;font-size:9px;letter-spacing:.3px;background:#f1f6f3}
.shell td{padding:9px 10px}
.shell .danger-icon{padding:5px 7px;font-size:11px}
.shell .modal-card{padding:18px;border-radius:14px}
.shell .modal-card h2{font-size:18px;line-height:1.3}
.shell .modal-card>p{font-size:11px;margin:6px 0}
.shell .form-grid{gap:10px;margin-top:12px}
.shell .form-grid label{font-size:10px}
.shell .form-grid :is(input,select,textarea){padding:7px 9px;font-size:12px;margin-top:4px;border-radius:7px}
.shell .form-grid textarea{line-height:1.4}
.shell .flash{font-size:11px;padding:9px 12px;border-radius:8px}
.shell .flash button{border:0;background:transparent;color:inherit;cursor:pointer}
@media(max-width:780px){
  .shell .main{margin-left:0;width:100%}
  .shell .content{padding:14px 12px}
  .shell .topbar{padding:0 12px}
  .shell .page-head{align-items:flex-start}
}
@media(pointer:coarse){
  .shell :is(.primary,.btn,.icon-btn,.danger-icon){min-height:36px}
}
