#rsd,#rsd *{box-sizing:border-box}#rsd{width:100%!important;max-width:100%!important;min-width:0!important;color:#25343d;font:15px/1.5 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:#f5f7f8;border:1px solid #e5ebee;border-radius:16px;overflow:hidden}#rsd .rsd-header{display:flex;align-items:center;gap:14px;padding:16px 24px;background:white;border-bottom:1px solid #e3e8eb}#rsd .rsd-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:#17634d;color:white;font-weight:800;font-size:26px}#rsd .rsd-header strong,#rsd .rsd-header small{display:block}#rsd .rsd-header strong{font-size:21px;line-height:1.3}#rsd .rsd-header small{font-weight:700;letter-spacing:1.5px;color:#627581;font-size:11px}#rsd .rsd-user{margin-left:auto;color:#657784}#rsd .rsd-layout{display:grid!important;grid-template-columns:minmax(205px,245px) minmax(0,1fr)!important;width:100%!important;min-width:0!important;align-items:stretch!important}#rsd .rsd-nav{min-width:0!important;display:flex!important;flex-direction:column!important;gap:8px;padding:22px 14px;background:#edf1f3;border-right:1px solid #e1e8eb}#rsd .rsd-nav a{display:block!important;width:100%!important;padding:12px 14px!important;color:#31464e;text-decoration:none;border-radius:10px;font-weight:600;white-space:normal}#rsd .rsd-nav a.is-active{background:#dceee6;color:#155f49}#rsd .rsd-main{display:block!important;min-width:0!important;width:100%!important;max-width:none!important;padding:24px 28px 40px!important}#rsd h1{font-size:27px;line-height:1.2;margin:0 0 6px}#rsd h2{font-size:20px;margin:0 0 18px}#rsd .rsd-muted{color:#687d88;margin:0 0 22px}#rsd .rsd-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:22px}#rsd .rsd-stats>div{background:#fff;border:1px solid #e1e8ea;border-radius:12px;padding:16px}#rsd .rsd-stats b,#rsd .rsd-stats span{display:block}#rsd .rsd-stats b{font-size:27px;color:#1b6c52}#rsd .rsd-stats span{color:#667783;font-size:13px}#rsd .rsd-card{min-width:0!important;max-width:none!important;width:100%!important;background:white;border:1px solid #e1e8ea;border-radius:14px;padding:22px;margin:0 0 20px}#rsd .rsd-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}#rsd .rsd-field{display:flex!important;flex-direction:column;gap:6px;min-width:0;margin:0;font-weight:600;font-size:13px}#rsd .rsd-field input,#rsd .rsd-field select,#rsd .rsd-field textarea,#rsd .rsd-search input{width:100%!important;max-width:100%!important;min-width:0!important;min-height:42px;border:1px solid #cbd7dd;border-radius:8px;padding:9px 11px;background:#fff;color:#26343e;font:inherit}#rsd .rsd-full{grid-column:1/-1}#rsd .rsd-hint{background:#f0f6f3;padding:12px;border-radius:8px;color:#426657}#rsd .rsd-actions{display:flex;gap:14px;align-items:center;margin-top:19px}#rsd button,#rsd .rsd-primary{cursor:pointer;border-radius:8px;border:1px solid #b9c9ce;padding:9px 13px;background:white;color:#1d5445;font:inherit;font-weight:600}#rsd .rsd-primary{background:#17634d;color:#fff;border-color:#17634d;padding:11px 20px}#rsd a{color:#17634d}#rsd .rsd-message{padding:12px 15px;border-radius:9px;background:#e5f3ed;margin-bottom:18px}#rsd .rsd-table-wrap{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:auto!important}#rsd table{width:100%!important;min-width:600px!important;table-layout:auto!important;border-collapse:collapse!important;margin:0}#rsd th,#rsd td{padding:11px 10px!important;text-align:left!important;vertical-align:top;border-bottom:1px solid #e7ecee;word-break:normal!important;overflow-wrap:normal!important;white-space:normal}#rsd th{font-size:12px;text-transform:uppercase;letter-spacing:.4px;background:#f4f7f8;color:#627784}#rsd .rsd-row-actions{display:flex;align-items:center;gap:9px;white-space:nowrap}#rsd .rsd-row-actions form{margin:0}#rsd .rsd-row-actions button{padding:5px 9px;font-size:12px}#rsd .rsd-search{display:flex;gap:8px;margin-bottom:14px}#rsd .rsd-search input{max-width:340px!important}#rsd .rsd-pages{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:16px;flex-wrap:wrap}#rsd .rsd-board{border:1px solid #dae4e8;padding:14px;border-radius:9px;margin:10px 0}#rsd .rsd-board summary{cursor:pointer;display:flex;justify-content:space-between;gap:10px}#rsd .rsd-board summary span{color:#6a7e88}#rsd .rsd-board-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}#rsd .rsd-board-grid>div{padding:10px;background:#f5f8f9;border-radius:8px}#rsd .rsd-board-grid small,#rsd .rsd-board-grid b{display:block}#rsd .rsd-board-grid small{color:#667d87}#rsd .rsd-locked{padding:24px} @media(max-width:800px){#rsd .rsd-layout{grid-template-columns:minmax(0,1fr)!important}#rsd .rsd-nav{border-right:0;border-bottom:1px solid #e1e8eb;padding:12px;flex-direction:row!important;flex-wrap:wrap}#rsd .rsd-nav a{width:auto!important}#rsd .rsd-main{padding:18px!important}}@media(max-width:540px){#rsd .rsd-stats{grid-template-columns:1fr}#rsd .rsd-form-grid,#rsd .rsd-board-grid{grid-template-columns:1fr}#rsd .rsd-header{padding:12px}#rsd .rsd-user{display:none}#rsd .rsd-card{padding:14px}#rsd h1{font-size:24px}}

/* 1.0.1: explicit two-column layout independent of theme grid rules. */
#rsd.rsd-app > .rsd-layout {
  display:flex !important;
  flex-flow:row nowrap !important;
  align-items:stretch !important;
  justify-content:flex-start !important;
  grid-template-columns:none !important;
  gap:0 !important;
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
}
#rsd.rsd-app > .rsd-layout > nav.rsd-nav {
  display:flex !important;
  box-sizing:border-box !important;
  position:relative !important;
  float:none !important;
  order:0 !important;
  flex:0 0 235px !important;
  width:235px !important;
  min-width:235px !important;
  max-width:235px !important;
  grid-column:auto !important;
  grid-row:auto !important;
  margin:0 !important;
  flex-direction:column !important;
}
#rsd.rsd-app > .rsd-layout > main.rsd-main {
  display:block !important;
  box-sizing:border-box !important;
  position:relative !important;
  float:none !important;
  order:1 !important;
  flex:1 1 0% !important;
  width:calc(100% - 235px) !important;
  min-width:0 !important;
  max-width:none !important;
  grid-column:auto !important;
  grid-row:auto !important;
  margin:0 !important;
}
#rsd .rsd-stats { grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
#rsd .rsd-stats > div { min-width:0 !important; overflow-wrap:normal !important; word-break:normal !important; }
#rsd .rsd-stats span { overflow-wrap:break-word !important; word-break:normal !important; }
@media (max-width:800px) {
  #rsd.rsd-app > .rsd-layout {flex-flow:column nowrap !important;}
  #rsd.rsd-app > .rsd-layout > nav.rsd-nav {
    order:0 !important; flex:0 0 auto !important; width:100% !important;
    min-width:0 !important; max-width:100% !important;
    flex-direction:row !important; flex-wrap:wrap !important;
  }
  #rsd.rsd-app > .rsd-layout > main.rsd-main {
    order:1 !important; flex:0 1 auto !important; width:100% !important;
    min-width:0 !important; max-width:100% !important;
  }
}
@media (max-width:540px) {
  #rsd .rsd-stats { grid-template-columns:1fr !important; }
}

/* 1.0.3: presentation PDF camera workflow */
#rsd .rsd-scheda-box{background:#f3f8f6;padding:16px;border:1px solid #d6e7df;border-radius:10px}#rsd .rsd-file-label{font-weight:600;display:inline-block;margin-top:9px}#rsd .rsd-scheda-box input[type=file]{width:100%!important;max-width:100%!important;min-width:0!important;display:block;margin:4px 0 10px}#rsd .rsd-scheda-box small{font-weight:400;color:#547065}#rsd .rsd-scheda-box a{display:inline-block;margin-top:8px;font-weight:600}

/* 1.0.4 - wider standalone admin panel, relative to viewport rather than theme content column */
#rsd.rsd-app {width:min(1580px,calc(100vw - 32px))!important;max-width:none!important;position:relative!important;left:50%!important;transform:translateX(-50%)!important;margin:0!important;overflow:visible!important;}
#rsd.rsd-app .rsd-layout{min-height:540px!important;}
#rsd.rsd-app > .rsd-layout > main.rsd-main {padding:30px 36px 48px!important;}
#rsd .rsd-stats {grid-template-columns:repeat(4,minmax(0,1fr))!important;}
#rsd .rsd-checkbox {display:flex!important;flex-direction:row!important;align-items:center!important;flex-wrap:wrap;gap:10px!important;background:#f3f8f6;padding:12px;border-radius:8px;}
#rsd .rsd-checkbox input[type=checkbox]{width:20px!important;min-width:20px!important;min-height:20px!important;height:20px!important;margin:0!important;}
#rsd .rsd-checkbox small{flex-basis:100%;font-weight:400;color:#547065;}
#rsd .rsd-field small{font-weight:400;color:#617683;}
#rsd .rsd-state{display:inline-block;border-radius:20px;padding:3px 9px;font-size:12px;font-weight:700;white-space:nowrap;}
#rsd .rsd-state.is-active{background:#dceee6;color:#17634d;}
#rsd .rsd-state.is-inactive{background:#f2e9e6;color:#864b37;}
#rsd .rsd-board-record{border:1px solid #dbe5e8;border-radius:10px;margin:12px 0;padding:12px;}
#rsd .rsd-board-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;}
#rsd .rsd-board{margin:10px 0 0;border:0;padding:6px 0;}
@media(max-width:900px){#rsd.rsd-app > .rsd-layout > main.rsd-main{padding:18px!important;}}
@media(max-width:800px){#rsd .rsd-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:480px){#rsd .rsd-stats{grid-template-columns:1fr!important;}#rsd.rsd-app{width:calc(100vw - 16px)!important;}}
