/*
  1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
  2. Remove default margins and padding
  3. Reset all borders.
*/

*,
::after,
::before,
::backdrop,
::file-selector-button {
  box-sizing: border-box; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 2 */
  border: 0 solid; /* 3 */
}

/*
  1. Use a consistent sensible line-height in all browsers.
  2. Prevent adjustments of font size after orientation changes in iOS.
  3. Use a more readable tab size.
  4. Use the user's configured `sans` font-family by default.
  5. Use the user's configured `sans` font-feature-settings by default.
  6. Use the user's configured `sans` font-variation-settings by default.
  7. Disable tap highlights on iOS.
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  tab-size: 4; /* 3 */
  font-family: --theme(
    --default-font-family,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    'Noto Sans',
    Arial,
    sans-serif,
    'Apple Color Emoji',
    'Segoe UI Emoji',
    'Segoe UI Symbol',
    'Noto Color Emoji'
  ); /* 4 */
  font-feature-settings: --theme(--default-font-feature-settings, normal); /* 5 */
  font-variation-settings: --theme(--default-font-variation-settings, normal); /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
  1. Add the correct height in Firefox.
  2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
  3. Reset the default border style to a 1px solid border.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
  Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

/*
  Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
  Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  -webkit-text-decoration: inherit;
  text-decoration: inherit;
}

/*
  Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
  1. Use the user's configured `mono` font-family by default.
  2. Use the user's configured `mono` font-feature-settings by default.
  3. Use the user's configured `mono` font-variation-settings by default.
  4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: --theme(
    --default-mono-font-family,
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    'Liberation Mono',
    'Courier New',
    monospace
  ); /* 1 */
  font-feature-settings: --theme(--default-mono-font-feature-settings, normal); /* 2 */
  font-variation-settings: --theme(--default-mono-font-variation-settings, normal); /* 3 */
  font-size: 1em; /* 4 */
}

/*
  Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
  Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
  1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
  2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
  3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
  Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring:where(:not(iframe)) {
  outline: auto;
}

/*
  Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
  Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
  Make lists unstyled by default.
*/

ol,
ul,
menu {
  list-style: none;
}

/*
  1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
  2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
      This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
  Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/*
  1. Inherit font styles in all browsers.
  2. Remove border radius in all browsers.
  3. Remove background color in all browsers.
  4. Ensure consistent opacity for disabled states in all browsers.
*/

button,
input,
select,
optgroup,
textarea,
::file-selector-button {
  font: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  border-radius: 0; /* 2 */
  background-color: transparent; /* 3 */
  opacity: 1; /* 4 */
}

/*
  Restore default font weight.
*/

:where(select:is([multiple], [size])) optgroup {
  font-weight: bolder;
}

/*
  Restore indentation.
*/

:where(select:is([multiple], [size])) optgroup option {
  padding-inline-start: 20px;
}

/*
  Restore space after button.
*/

::file-selector-button {
  margin-inline-end: 4px;
}

/*
  Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
*/

::placeholder {
  opacity: 1;
}

/*
  Set the default placeholder color to a semi-transparent version of the current text color in browsers that do not
  crash when using `color-mix(…)` with `currentcolor`. (https://github.com/tailwindlabs/tailwindcss/issues/17194)
*/

@supports (not (-webkit-appearance: -apple-pay-button)) /* Not Safari */ or
  (contain-intrinsic-size: 1px) /* Safari 17+ */ {
  ::placeholder {
    color: color-mix(in oklab, currentcolor 50%, transparent);
  }
}

/*
  Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
  Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
  1. Ensure date/time inputs have the same height when empty in iOS Safari.
  2. Ensure text alignment can be changed on date/time inputs in iOS Safari.
*/

::-webkit-date-and-time-value {
  min-height: 1lh; /* 1 */
  text-align: inherit; /* 2 */
}

/*
  Prevent height from changing on date/time inputs in macOS Safari when the input is set to `display: block`.
*/

::-webkit-datetime-edit {
  display: inline-flex;
}

/*
  Remove excess padding from pseudo-elements in date/time inputs to ensure consistent height across browsers.
*/

::-webkit-datetime-edit-fields-wrapper {
  padding: 0;
}

::-webkit-datetime-edit,
::-webkit-datetime-edit-year-field,
::-webkit-datetime-edit-month-field,
::-webkit-datetime-edit-day-field,
::-webkit-datetime-edit-hour-field,
::-webkit-datetime-edit-minute-field,
::-webkit-datetime-edit-second-field,
::-webkit-datetime-edit-millisecond-field,
::-webkit-datetime-edit-meridiem-field {
  padding-block: 0;
}

/*
  Center dropdown marker shown on inputs with paired `<datalist>`s in Chrome. (https://github.com/tailwindlabs/tailwindcss/issues/18499)
*/

::-webkit-calendar-picker-indicator {
  line-height: 1;
}

/*
  Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
  Correct the inability to style the border radius in iOS Safari.
*/

button,
input:where([type='button'], [type='reset'], [type='submit']),
::file-selector-button {
  appearance: button;
}

/*
  Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
  Make elements with the HTML hidden attribute stay hidden by default.
*/

[hidden]:where(:not([hidden='until-found'])) {
  display: none !important;
}


:root{--ink:#1e373a;--muted:#77817f;--green:#173e3d;--lime:#dcecbb;--line:#e4e8e3;--bg:#f6f7f4;--panel:#fff;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button{transition:background .15s,box-shadow .15s}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:31px;line-height:1.2;font-weight:600;letter-spacing:-1.1px}h2{font-size:17px;font-weight:600;letter-spacing:-.3px}h3{font-size:16px;font-weight:600}small{display:block;font-size:12px;color:var(--muted);line-height:1.5}strong{font-weight:600}button:focus-visible,a:focus-visible{outline:3px solid #5c9f8f;outline-offset:3px}.app-shell{display:flex;min-height:100vh}.sidebar{width:235px;flex-shrink:0;background:#102f36;color:#dbe6e1;padding:30px 20px 18px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;z-index:20}.logo{display:flex;align-items:center;gap:10px;font-size:23px;letter-spacing:-.8px;font-weight:600;color:#fff}.logo>span{display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;background:#cce6bc;color:#183b3b;border-radius:11px;font-size:16px;font-weight:700;letter-spacing:-1px}.logo small{font-size:9px;color:#a0b9b5;letter-spacing:2.2px;font-weight:400}.workspace-label{font-size:9px;letter-spacing:1.8px;color:#80a19e;margin:43px 12px 14px}.sidebar nav{display:flex;flex-direction:column;gap:6px}.sidebar nav button{display:flex;align-items:center;gap:12px;width:100%;border:0;padding:12px 13px;background:none;color:#c0d1cb;text-align:left;border-radius:9px;font-size:13px}.sidebar nav button:hover{background:#20434a}.sidebar nav button.active{background:#dcebbb;color:#173b37;font-weight:600}.nav-dot{margin-left:auto;width:5px;height:5px;border-radius:50%;background:#173b37}.sidebar-bottom{margin-top:auto;padding-top:25px}.online{font-size:10px;display:flex;align-items:center;gap:7px;color:#a1b9af;padding:14px 8px}.online i{width:5px;height:5px;background:#a7d69c;border-radius:50%}.profile{display:flex;gap:10px;align-items:center;padding:16px 0 0;border-top:1px solid #315056;font-size:11px}.profile>div:nth-child(2){min-width:0;flex:1}.profile strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile small{color:#8eaaa5;font-size:10px}.avatar{background:#e6eddf;border-radius:50%;height:34px;width:34px;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:600;color:#385846;flex-shrink:0}.avatar.small{width:29px;height:29px}.profile .avatar{background:#315359;color:#c9dfd4}.main-shell{width:calc(100% - 235px);margin-left:235px}.topbar{display:flex;align-items:center;justify-content:space-between;min-height:75px;padding:0 36px;background:#fff;border-bottom:1px solid var(--line)}.breadcrumb{display:flex;gap:10px;align-items:center;font-size:11px;color:var(--muted)}.breadcrumb strong{color:var(--ink);font-weight:500}.top-right{display:flex;align-items:center;gap:18px}.today{font-size:11px;color:#738078}.top-right .icon-button{border-left:1px solid var(--line);padding-left:16px;border-radius:0}.menu-toggle{display:none!important}main{max-width:1600px;margin:auto;padding:38px 36px 0}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:32px}.eyebrow{font-size:9px;letter-spacing:1.8px;color:#7c8a7b;font-weight:600}.page-head .eyebrow{margin-bottom:11px}.page-head p{font-size:12px;line-height:1.7;color:var(--muted);margin-top:10px}.primary,.secondary,.quiet,.text-button,.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;border:0;background:transparent;white-space:nowrap;font-size:12px;font-weight:500;padding:11px 15px;min-height:38px}.primary{background:#204b43;color:#fff;border:1px solid #204b43}.primary:hover{background:#143d35}.secondary{background:#fff;color:#36544a;border:1px solid #dce3d9}.secondary:hover{background:#f3f6f0}.quiet{color:var(--muted);padding:7px}.text-button{font-size:11px;color:#436447;padding:0;min-height:28px}.text-button:hover{text-decoration:underline}.icon-button{padding:7px;color:#7b887d;min-height:30px}.icon-button:hover{background:#edf2e8}.button-group{display:flex;gap:8px;flex-wrap:wrap}.metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:16px;margin-bottom:26px}.metric{background:#fff;border:1px solid var(--line);border-radius:12px;padding:19px 20px 18px}.metric-head{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#859185;font-size:9px;letter-spacing:1px}.metric-head svg{color:#819a80}.metric-value{font-size:35px;letter-spacing:-1.4px;line-height:1.2;font-weight:500;margin-top:21px}.metric-unit{margin-top:8px;font-size:10px;color:#8a9387}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 275px;gap:22px}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:22px;padding:22px}.panel-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:20px;flex-wrap:wrap}.panel-head h2{display:flex;align-items:center;gap:9px}.count{font-size:10px;color:#82917d;background:#edf2e7;padding:3px 6px;border-radius:5px}.badge{display:inline-block;font-size:9px;letter-spacing:.2px;line-height:1.4;border-radius:5px;padding:5px 7px;white-space:nowrap}.badge.green{color:#52734b;background:#eef5e6}.badge.amber{color:#967343;background:#fbf4e7}.badge.neutral{color:#7c857a;background:#f0f2ed}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:11px;text-align:left}th{font-weight:400;font-size:10px;color:#8a9387;background:#fafbf8;border-top:1px solid #edf0e8;border-bottom:1px solid #edf0e8;white-space:nowrap;padding:13px 12px}td{padding:16px 12px;border-bottom:1px solid #eef1eb;vertical-align:middle}td:first-child,th:first-child{padding-left:10px}td strong{display:block;font-size:11px;font-weight:500}td small{font-size:9px;margin-top:5px;max-width:250px}td .note{font-size:10px;white-space:pre-wrap;overflow-wrap:anywhere}.numeric{font-variant-numeric:tabular-nums}.row-actions{display:flex;gap:2px}.row-actions button{padding:7px;background:transparent;border:0;color:#7b887d;border-radius:5px}.row-actions button:hover{background:#edf2e6}.regia{font-size:8px;display:inline-block;color:#967343;background:#fbf4e7;border-radius:3px;margin-left:6px;padding:1px 4px}.attendance-person{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #edf0e8;font-size:11px}.attendance-person>div{flex:1}.attendance-person small{font-size:9px;margin-top:3px}.attendance-person>svg{color:#a5ae9e}.attendance-note{font-size:10px;line-height:1.6;color:#8e9888;margin-top:20px;background:#f8faf5;padding:12px;border-radius:7px}.small-empty{padding:25px 3px;text-align:center;font-size:12px;line-height:1.7;color:#8a9985}.small-empty svg{margin:0 auto 12px;color:#7d9c70}.onboarding{display:flex;align-items:center;justify-content:space-between;gap:25px;background:#edf3e5;border:1px solid #e0e9d8;border-radius:12px;padding:26px;margin-bottom:25px}.onboarding h2{font-size:19px;margin-top:10px}.onboarding p{font-size:12px;color:#778773;line-height:1.7;max-width:490px;margin-top:8px}.onboarding .badge{background:#e0ebce;font-size:8px;letter-spacing:1px}.onboarding-actions{display:flex;flex-direction:column;gap:8px}.empty{text-align:center;padding:48px 20px;color:#85907d}.empty>svg{margin:0 auto 17px;color:#9caf90;stroke-width:1.2}.empty h3{color:#53644c;font-size:15px}.empty p{margin:9px auto 18px;font-size:12px;max-width:340px;line-height:1.7}.empty .primary{font-size:11px}.field{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:500;color:#586b5e;margin-bottom:17px;min-width:0}.field input,.field select,.field textarea,.read-only{width:100%;min-width:0;border:1px solid #dfe5dc;border-radius:7px;padding:11px 12px;background:#fff;color:#304c41;font-size:12px;outline:none}.field input:focus,.field select:focus,.field textarea:focus{border-color:#83a58a;box-shadow:0 0 0 3px #a8c2a624}.field small{font-size:10px;font-weight:400}.field textarea{resize:vertical;min-height:85px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.filters{display:flex;gap:15px;flex-wrap:wrap;align-items:end;background:#fff;padding:18px 0 4px;margin-bottom:20px;border-bottom:1px solid var(--line)}.filters>.field{flex:1;min-width:125px}.filters input,.filters select{font-size:11px}.report-footer{display:flex;gap:40px;flex-wrap:wrap;padding:23px 10px 12px}.report-footer>div{display:flex;flex-direction:column;gap:8px}.report-footer span{font-size:10px;color:var(--muted)}.report-footer strong{font-size:19px;letter-spacing:-.6px}.report-footer small{font-size:10px;display:inline;font-weight:400;letter-spacing:0}.fine-print{font-size:10px;line-height:1.7;color:var(--muted);margin:10px 0}.search{display:flex;align-items:center;gap:9px;color:#8c9a83;max-width:380px;padding:0 12px;background:#fff;border:1px solid var(--line);border-radius:7px;margin-bottom:20px}.search input{padding:11px 0;width:100%;background:transparent;border:0;outline:0;font-size:11px;color:var(--ink)}.panel-head .search{margin:0;min-width:190px}.sites-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}.site-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px}.site-card-top{display:flex;align-items:center;margin-bottom:23px;gap:9px}.site-icon{color:#75976e;background:#f1f5e9;border-radius:10px;padding:11px;display:flex;margin-right:auto}.site-card h2{margin-top:8px;font-size:21px;letter-spacing:-.6px}.site-card>p{font-size:11px;color:#8b9485;margin:7px 0 15px}.site-address{font-size:10px;color:#8c9686;margin-bottom:15px}.site-values{display:flex;gap:35px;padding:17px 0;border-top:1px solid #eef1e9}.site-values span{font-size:9px;display:block;color:#8b9584}.site-values strong{font-size:17px;display:block;margin-top:6px;letter-spacing:-.5px;font-weight:500}.site-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eef1e9;padding-top:12px;font-size:9px;color:#84947a}.person-cell{display:flex;align-items:center;gap:10px}.person-cell .avatar{width:29px;height:29px}.entry-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:25px;align-items:start}.entry-panel{padding:27px}.schedule-banner{display:flex;gap:10px;align-items:center;font-size:11px;color:#6d865f;background:#f3f7eb;padding:12px;border:1px solid #e9efdf;border-radius:8px;margin:3px 0 20px;line-height:1.7}.schedule-banner>svg{flex-shrink:0}.time-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.entry-form-footer{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}.time-summary{background:#153e3d;border-radius:12px;padding:26px;color:#fff}.time-summary .eyebrow{color:#a5c4a4}.time-summary output{display:block;font-size:51px;font-weight:400;letter-spacing:-2px;line-height:1.3;margin-top:26px}.time-summary>span{color:#8aafa3;font-size:10px}.summary-line{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:18px;margin-top:18px;border-top:1px solid #3c5e56;font-size:9px;color:#aec4b7}.summary-line strong{color:#e4eddc;font-size:13px;font-weight:400}.entry-help{margin-top:20px}.entry-help>svg{color:#89a078;margin-bottom:16px}.entry-help h3{font-size:13px;line-height:1.7}.entry-help p{font-size:11px;line-height:1.9;color:#8a9580;margin-top:10px}.entry-help hr{border:0;border-top:1px solid var(--line);margin-top:18px}.calc-error{font-size:11px;margin-top:16px;color:#f6d4b2;line-height:1.7}.check{display:flex;gap:9px;align-items:center;font-size:11px;color:#657660;margin:12px 0 18px}.check input{accent-color:#346853;width:15px;height:15px}.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.bars{padding:0 0 10px}.bar-item{margin-top:22px}.bar-item>div:first-child{display:flex;justify-content:space-between;gap:10px;font-size:11px}.bar-item strong{font-weight:500;white-space:nowrap}.bar-track{height:7px;background:#f0f3eb;border-radius:4px;overflow:hidden;margin-top:10px}.bar-track>div{height:100%;background:#9fbb85;border-radius:4px}.muted{color:var(--muted);font-size:12px}.bands{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-top:18px}.band{padding:16px;background:#f8faf5;border:1px solid #edf1e6;border-radius:8px}.read-only{background:#f5f7f2}.list-row{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;line-height:1.8;padding:9px 0;border-bottom:1px solid #edf0e8}.aligned{align-self:end;margin-bottom:17px}.settings-save{display:flex;align-items:center;gap:18px;padding:8px 0 25px;font-size:10px;color:#8b9583}.backup-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.backup-panel p{font-size:11px;color:#8c9785;margin-top:9px}.upload input{position:absolute;opacity:0;width:1px;height:1px}.upload{cursor:pointer}.upload:focus-within{outline:3px solid #5c9f8f}.audit>div{display:flex;gap:20px;font-size:10px;padding:12px 0;border-bottom:1px solid var(--line);color:#8a9481;flex-wrap:wrap}.audit strong{color:#52694f}.main-footer{padding:30px 0 20px;display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;font-size:9px;color:#9aa28e;margin-top:10px}.dot-separator{padding:0 8px}.success,.error{display:flex;align-items:center;gap:10px;padding:14px 16px;border-radius:8px;margin-bottom:20px;font-size:12px;line-height:1.6}.success{color:#416640;background:#eaf3df;border:1px solid #dae8ca}.error{color:#a2573f;background:#fff1e9;border:1px solid #f1d6c9}.error>span{flex:1}.error>svg{flex-shrink:0}.modal-overlay{position:fixed;inset:0;background:#102f367a;backdrop-filter:blur(3px);z-index:100;display:flex;align-items:center;justify-content:center;padding:24px;overflow-y:auto}.modal{background:#fff;border-radius:14px;padding:27px;width:100%;max-width:510px;max-height:95vh;overflow-y:auto;box-shadow:0 30px 90px #001b232a}.modal-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:24px}.modal-head h2{font-size:21px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:22px;margin-top:14px;border-top:1px solid var(--line)}.access{min-height:100vh;background:#102f36;padding:35px 5%;display:flex;flex-direction:column}.access>.logo{align-self:flex-start}.access>.logo>small{display:none}.access-box{background:#f7f8f3;border-radius:18px;padding:55px;max-width:600px;margin:65px auto;width:100%}.access-box .eyebrow{color:#839679}.access-box h1{font-size:43px;letter-spacing:-1.8px;margin-top:22px}.access-box>p{font-size:14px;line-height:1.8;color:#7d8c77;margin:22px 0 30px}.access-box .error{margin-top:25px}.access-box .access-foot{display:flex;align-items:center;gap:8px;font-size:10px;margin:40px 0 0}.sync{display:flex;align-items:center;gap:10px}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1600px){.dashboard-grid{grid-template-columns:minmax(0,1fr) 310px}}
@media(max-width:1200px){.sidebar{width:210px;padding:27px 14px 18px}.main-shell{width:calc(100% - 210px);margin-left:210px}main{padding:30px 25px 0}.topbar{padding:0 25px}.dashboard-grid{grid-template-columns:minmax(0,1fr)}.attendance{display:none}.entry-layout{grid-template-columns:minmax(0,1fr) 250px;gap:18px}.time-summary{padding:22px}.page-head h1{font-size:27px}.onboarding{padding:22px}}
@media(max-width:950px){.sidebar{width:190px}.main-shell{width:calc(100% - 190px);margin-left:190px}.logo{font-size:21px}.sidebar nav button{font-size:12px;padding:11px 9px;gap:9px}.workspace-label{font-size:8px;margin-left:9px}.page-head{align-items:flex-start;flex-wrap:wrap}.page-head h1{font-size:26px}.entry-layout{grid-template-columns:1fr}.entry-layout>aside{display:grid;grid-template-columns:1fr 1fr;gap:16px}.time-summary output{font-size:40px;margin-top:12px}.entry-help{margin-top:0}.onboarding{flex-direction:column;align-items:flex-start}.onboarding-actions{flex-direction:row;flex-wrap:wrap}.report-grid{grid-template-columns:1fr;gap:0}.bands{grid-template-columns:1fr 1fr}.form-grid.three{grid-template-columns:1fr 1fr}.metric{padding:17px}.metric-value{font-size:29px}}
@media(max-width:700px){.sidebar{transform:translateX(-100%);width:235px;transition:transform .2s}.sidebar.open{transform:translateX(0);box-shadow:10px 0 40px #102f3640}.main-shell{width:100%;margin-left:0}.menu-toggle{display:flex!important;margin-right:7px}.topbar{padding:0 14px;min-height:62px;justify-content:flex-start}.top-right{margin-left:auto;gap:9px}.top-right .today{display:none}.top-right .icon-button{border-left:0;padding:7px}.breadcrumb{font-size:10px;gap:6px}main{padding:26px 16px 0}.page-head{margin-bottom:23px;gap:16px}.page-head h1{font-size:26px;letter-spacing:-.8px}.page-head p{font-size:12px}.metrics{grid-template-columns:1fr 1fr;gap:12px}.metric-head{font-size:8px;letter-spacing:.7px}.metric-head svg{width:15px}.metric{padding:15px}.metric-value{font-size:29px;margin-top:17px}.metric-unit{font-size:9px}.panel{padding:17px;margin-bottom:17px}.panel-head h2{font-size:15px}.onboarding{padding:20px}.onboarding h2{font-size:19px;line-height:1.4}.onboarding-actions .secondary,.onboarding-actions .primary{font-size:11px;padding:10px}.entry-panel{padding:20px}.form-grid{gap:0 14px}.entry-layout>aside{grid-template-columns:1fr}.entry-help{display:none}.time-summary{margin-bottom:17px}.time-fields{gap:10px}.time-fields input{padding:10px 5px}.time-summary output{font-size:42px}.summary-line{margin-top:12px;padding-top:12px}.table-wrap table{min-width:650px}.filters{gap:10px}.filters .field{min-width:120px;margin-bottom:13px}.sites-grid{grid-template-columns:1fr}.field input,.field select,.field textarea{font-size:16px}.field{font-size:11px}.check{font-size:12px}.secondary,.primary{min-height:42px}.report-footer{gap:25px}.main-footer{font-size:9px;line-height:1.8}.settings-save{align-items:flex-start;flex-direction:column;gap:12px}.access{padding:25px 20px}.access-box{padding:35px 25px;margin:40px auto}.access-box h1{font-size:35px}.access-box>p{font-size:13px}.modal-overlay{padding:12px}.modal{padding:22px;max-height:95vh}.modal .form-grid{grid-template-columns:1fr 1fr}}
@media(max-width:380px){.form-grid,.form-grid.three{grid-template-columns:1fr}.metric-head{font-size:7px}.metric-head svg{display:none}.bands{gap:10px}.band{padding:10px}.time-fields{gap:6px}.time-fields .field{font-size:9px}.time-fields input{font-size:14px}.topbar .avatar{display:none}}
@media print{.sidebar,.topbar,.page-head>button,.no-print,.main-footer,.success,.error,.modal-overlay{display:none!important}.main-shell{margin:0;width:100%}main{padding:0;max-width:none}.page-head{margin-bottom:20px}.page-head h1{font-size:20px}.page-head p{display:none}.panel{padding:0;border:0}.table-wrap{overflow:visible}.table-wrap table{min-width:0;width:100%;font-size:9px}th,td{padding:6px 4px}td strong{font-size:9px}td small{font-size:8px}.report-footer strong{font-size:15px}.badge{font-size:8px}body{background:#fff}@page{size:landscape;margin:12mm}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.justification{min-width:180px;display:flex;gap:6px;align-items:center}.justification textarea{width:100%;padding:7px;border:1px solid var(--line);border-radius:5px;min-height:45px;font-size:11px;resize:vertical}.justification button{font-size:10px;padding:6px;min-height:30px}
/* Calendario ore del collaboratore */
.calendar-toolbar{display:flex;justify-content:space-between;gap:15px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.calendar-period{display:flex;align-items:center;gap:11px}.calendar-period h2{text-transform:capitalize;font-size:21px;min-width:160px;text-align:center}.calendar-month-field,.calendar-person-field{display:flex;align-items:center;gap:8px;font-size:11px;color:#6d7d65}.calendar-month-field input,.calendar-person-field select{border:1px solid #dce3d9;background:#fff;color:#304c41;padding:9px;border-radius:7px;font-size:12px;max-width:230px}.calendar-toolbar .button-group{align-items:center}.calendar-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:23px}.calendar-totals>div{display:flex;align-items:center;gap:14px;padding:17px 20px;border:1px solid var(--line);border-radius:11px;background:#fff}.calendar-totals svg{color:#90a77d;flex-shrink:0}.calendar-totals span{font-size:10px;color:#7c8a73}.calendar-totals strong{display:block;font-size:24px;font-weight:500;color:var(--ink);margin-top:7px;letter-spacing:-.6px}.calendar-layout{display:grid;grid-template-columns:minmax(0,1fr) 275px;gap:22px;align-items:start}.calendar-panel{padding:17px}.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-weekdays span{text-align:center;padding:11px 0;font-size:11px;color:#85917e}.calendar-grid{gap:5px}.calendar-day{min-width:0;min-height:87px;text-align:left;padding:8px 9px;border:1px solid #e5eadd;border-radius:7px;background:#fff;color:var(--ink);display:flex;flex-direction:column;align-items:flex-start;gap:7px}.calendar-day:hover{background:#f2f6e9}.calendar-day.weekend{background:#f7f8f4}.calendar-day.restricted{background:#faf6ef;border-color:#eee6d9}.calendar-day.selected{background:#e9f1db;border-color:#668958;box-shadow:0 0 0 1px #668958}.calendar-day-number{font-size:11px;color:#7a8970;display:flex;align-items:center;gap:5px}.calendar-day.selected .calendar-day-number{color:#375032}.calendar-today-dot{width:5px;height:5px;border-radius:50%;background:#537a4a}.calendar-day strong{font-size:17px;font-weight:500;letter-spacing:-.5px;white-space:nowrap}.calendar-day .has-hours{color:#375d31}.calendar-day .no-hours{color:#acb5a1;font-size:14px}.calendar-day small{font-size:9px;min-height:12px;line-height:1.3;color:#8e987f}.calendar-legend{display:flex;flex-wrap:wrap;gap:9px 15px;font-size:9px;line-height:1.7;color:#87927b;margin:17px 3px 0}.calendar-legend>span{display:flex;align-items:center;gap:5px}.calendar-legend i{width:8px;height:8px;border-radius:2px;display:inline-block}.calendar-key-work{background:#8eaa71}.calendar-key-block{background:#dbbc90}.calendar-detail .panel-head{align-items:flex-start}.calendar-detail h2{margin-top:9px;text-transform:capitalize;line-height:1.5}.calendar-day-total{font-size:25px;font-weight:500;letter-spacing:-.6px;text-align:right;white-space:nowrap}.calendar-day-total small{font-size:9px;font-weight:400;letter-spacing:0}.calendar-entry{border-top:1px solid #e8eddf;padding-top:20px;margin-top:20px}.calendar-entry-title{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.calendar-entry-title h3{font-size:14px}.calendar-entry-title p{font-size:10px;color:#829075;margin-top:5px;line-height:1.7}.calendar-time-detail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:18px 0;padding:15px;background:#f7f9f3;border-radius:8px}.calendar-time-detail dt{font-size:10px;color:#8a957e;margin-bottom:7px}.calendar-time-detail dd{font-size:17px;font-weight:500;margin:0;white-space:nowrap}.calendar-entry-rules{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.calendar-entry-rules>span:first-child{display:flex;gap:5px;align-items:center;color:#849578;font-size:11px}.calendar-entry-note{font-size:11px;color:#7b8a70;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:14px 0 0}.calendar-restrictions{display:flex;align-items:center;gap:9px;background:#fbf5e9;border:1px solid #efe4cd;color:#8d7856;padding:12px;border-radius:7px;font-size:11px;line-height:1.7}.calendar-restrictions svg{flex-shrink:0}.calendar-empty{text-align:center;padding:25px 10px;color:#8b997c}.calendar-empty>svg{margin:0 auto 15px;color:#9eaf8d}.calendar-empty p{font-size:12px;line-height:1.8;margin-bottom:15px}.calendar-day-transfers{border-top:1px solid var(--line);margin-top:22px;padding-top:20px}.calendar-day-transfers h3{font-size:13px}.calendar-transfer-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #edf0e6;font-size:12px}.calendar-transfer-row small{font-size:10px;margin-top:6px}.calendar-transfer-row>strong{white-space:nowrap;font-weight:500}.calendar-transfer-total{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:17px 0 12px;font-size:12px}.calendar-transfer-total strong{font-size:18px;white-space:nowrap;font-weight:500}.calendar-rules .panel-head{margin-bottom:8px}.calendar-rules .panel-head h2{font-size:15px}.calendar-rule-block{border-top:1px solid #edf0e5;margin-top:17px;padding-top:17px}.calendar-rule-block h3,.calendar-rule-block summary{font-size:12px;font-weight:500}.calendar-rule-block summary{cursor:pointer;line-height:1.8}.calendar-rule-block p{font-size:11px;line-height:1.9;color:#7c8a70;margin:8px 0 0}.calendar-rule-block p strong{color:#516949;font-weight:500}.calendar-rule-block ul{list-style:disc;padding-left:15px;margin:10px 0;font-size:11px;color:#7c8a70;line-height:2}.calendar-rule-block small{font-size:10px;line-height:1.7;color:#8a977e;overflow-wrap:anywhere}.calendar-avs-rule{display:flex;justify-content:space-between;align-items:center;gap:9px;font-size:10px;color:#859476;line-height:1.7;padding:9px 0;border-bottom:1px solid #f0f3e9}.calendar-avs-rule strong{color:#47643e;white-space:nowrap;font-size:11px;font-weight:500}
@media(max-width:1100px){.calendar-layout{grid-template-columns:1fr}.calendar-rules .panel{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.calendar-rules .panel-head,.calendar-rules .panel>.fine-print{grid-column:1/-1}.calendar-day{min-height:88px}}
@media(max-width:700px){.calendar-period h2{font-size:20px;min-width:150px}.calendar-month-field input,.calendar-person-field select{font-size:16px;max-width:200px}.calendar-totals{gap:9px}.calendar-totals>div{padding:14px 11px;gap:8px;align-items:flex-start}.calendar-totals svg{display:none}.calendar-totals span{font-size:9px}.calendar-totals strong{font-size:20px;margin-top:10px}.calendar-panel{padding:10px}.calendar-grid{gap:3px}.calendar-day{min-height:77px;padding:8px 5px;gap:6px}.calendar-day strong{font-size:15px}.calendar-day small{font-size:8px}.calendar-weekdays span{font-size:10px}.calendar-legend{font-size:9px;gap:8px 12px}.calendar-time-detail{padding:12px 8px}.calendar-time-detail dd{font-size:16px}.calendar-time-detail dt{font-size:9px}.calendar-day-total{font-size:22px}.calendar-detail h2{font-size:16px}.calendar-rules .panel{display:block}.calendar-entry-title{gap:10px}.calendar-entry-title h3{font-size:13px}.calendar-transfer-row{font-size:11px}.calendar-person-field{flex-wrap:wrap}.calendar-month-field{gap:6px}.calendar-toolbar .button-group{width:100%;justify-content:flex-start}.calendar-totals>div:last-child strong{font-size:18px}.calendar-entry-title .badge{font-size:8px}}
@media(max-width:380px){.calendar-day{min-height:69px;padding:6px 3px}.calendar-day strong{font-size:12px}.calendar-day-number{font-size:10px}.calendar-day small{font-size:7px}.calendar-totals strong{font-size:18px}.calendar-totals>div:last-child strong{font-size:16px}.calendar-totals>div{padding:12px 8px}.calendar-entry-title{flex-wrap:wrap}.calendar-time-detail dd{font-size:14px}.calendar-detail .panel-head{gap:14px}}
.monthly-sheet{margin-bottom:24px;min-width:0}.monthly-sheet .panel-head{margin-bottom:10px}.monthly-sheet .eyebrow{margin-bottom:7px}.sheet-help{font-size:11px;color:var(--muted);margin:0 0 16px}.monthly-sheet-scroll{overflow:auto;max-width:100%;border:1px solid var(--line);border-radius:9px;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}.monthly-sheet-table{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;font-size:11px;font-variant-numeric:tabular-nums}.monthly-sheet-table th,.monthly-sheet-table td{border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:0;text-align:center;vertical-align:top;min-width:70px;max-width:125px;background:#fff;white-space:pre-line}.monthly-sheet-table tr:last-child>*{border-bottom:0}.monthly-sheet-table tr>*:last-child{border-right:0}.monthly-sheet-table thead th{background:var(--green);vertical-align:middle;color:#fff}.monthly-sheet-table tr>th:first-child{position:sticky;left:0;z-index:2;min-width:132px;max-width:132px;width:132px;padding:13px 12px;text-align:left;background:var(--bg);border-right:2px solid var(--line);font-weight:600}.monthly-sheet-table thead th:first-child{z-index:3;text-transform:capitalize;color:var(--ink)}.monthly-sheet-table button{display:block;border:0;background:transparent;color:inherit;width:100%;min-height:43px;padding:12px 7px;text-align:center;white-space:pre-line;line-height:1.8;overflow-wrap:anywhere}.monthly-sheet-table thead button{padding:9px 6px}.monthly-sheet-table thead button strong{font-size:15px}.monthly-sheet-table thead button small{font-size:9px;color:inherit}.monthly-sheet-table .sheet-hours{font-weight:600;color:#204b43}.monthly-sheet-table .sheet-weekend{background:#fff0ef;color:#b7433b}.monthly-sheet-table .sheet-vacation{background:#e5f3dc;color:#397041}.monthly-sheet-table .sheet-holiday{background:#fff1df;color:#926323}.monthly-sheet-table .sheet-selected{background:var(--lime);box-shadow:inset 2px 0 var(--green),inset -2px 0 var(--green)}.monthly-sheet-table button:hover{background:#dce7d0}.monthly-sheet-table .sheet-total{padding:13px 9px;background:var(--lime);color:var(--green);font-weight:600;white-space:nowrap;min-width:85px}.sheet-legend-weekend{color:#b7433b}.sheet-legend-vacation{color:#397041}.monthly-sheet-scroll:focus-visible{outline:3px solid #5c9f8f;outline-offset:3px}.worker-calendar,.calendar-layout>div{min-width:0}@media(max-width:700px){.monthly-sheet{padding:15px}.monthly-sheet h2{font-size:14px;line-height:1.6}.monthly-sheet-table tr>th:first-child{min-width:108px;max-width:108px;width:108px;padding:12px 8px;font-size:10px}.monthly-sheet-table th,.monthly-sheet-table td{min-width:67px}.sheet-help{line-height:1.7}.monthly-sheet .panel-head{gap:10px}}@media print{.monthly-sheet-scroll{overflow:visible;border-radius:0}.monthly-sheet-table{width:100%;min-width:0;table-layout:fixed;font-size:6px}.monthly-sheet-table th,.monthly-sheet-table td{min-width:0;max-width:none}.monthly-sheet-table tr>th:first-child{position:static;width:60px;min-width:0;max-width:none;padding:4px 2px;font-size:6px}.monthly-sheet-table button{font-size:6px;padding:4px 1px;min-height:22px;line-height:1.5}.monthly-sheet-table thead button strong{font-size:8px}.monthly-sheet-table thead button small{font-size:6px}.monthly-sheet-table .sheet-total{min-width:0;padding:4px 1px;white-space:normal}.sheet-help{display:none}.monthly-sheet-table *{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
/* Stampa riepilogo collaboratore, modello mensile su A4 orizzontale */

.monthly-sheet-table thead .sheet-selected{color:var(--green)}
.collaborator-report-overlay{position:fixed;inset:0;z-index:2000;background:var(--bg);overflow:auto;padding:24px;color:var(--ink)}.report-actions{display:flex;justify-content:space-between;align-items:center;gap:20px;max-width:1600px;margin:0 auto 18px}.report-actions h2{font-size:21px}.report-actions p{color:var(--muted);font-size:12px;margin-top:7px}.report-edit-fields{display:flex;gap:18px;align-items:flex-end;max-width:1600px;margin:0 auto 20px;padding:18px;background:#fff;border:1px solid var(--line);border-radius:10px}.report-edit-fields label{display:block;font-size:12px;flex:1;color:var(--muted)}.report-edit-fields label:nth-child(2){flex:0 0 190px}.report-edit-fields textarea,.report-edit-fields input{display:block;margin-top:7px;width:100%;border:1px solid var(--line);border-radius:6px;padding:9px;background:#fff;color:var(--ink);font:inherit}.report-edit-fields textarea{resize:vertical}.report-edit-fields p{font-size:11px;color:var(--muted);flex:1}.report-preview-scroll{max-width:1600px;margin:auto;overflow:auto;padding:28px;background:#fff;border:1px solid var(--line);border-radius:10px}.report-paper{font:13px/1.4 Arial,Helvetica,sans-serif;color:var(--ink);background:#fff;min-width:1150px;width:100%;font-variant-numeric:tabular-nums}.report-paper *{box-sizing:border-box}.report-paper strong{font-weight:700}.report-metadata{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;margin-bottom:13px}.report-metadata>div{background:var(--bg);border-radius:9px;padding:11px 12px}.report-metadata p{font-size:13px;line-height:1.8;margin:0}.report-month-name{text-transform:capitalize}.report-paper table{border-collapse:collapse;font:inherit;width:100%;table-layout:fixed}.report-paper th,.report-paper td{color:var(--ink);border:1px solid var(--line);padding:6px 6px;vertical-align:middle;text-align:left;font-weight:400;background:#fff}.report-paper thead th{background:var(--green);color:#fff;font-weight:700}.report-paper tbody tr:nth-child(even)>*{background:var(--bg)}.report-month-table .report-label-col{width:13.4%}.report-paper .report-month-table th,.report-paper .report-month-table td{padding:5px 2px;text-align:center;font-size:10px;line-height:1.6;overflow-wrap:anywhere}.report-paper .report-month-table thead th{font-size:11px}.report-paper .report-month-table th:first-child{text-align:left;font-size:12px;padding-left:6px;font-weight:700}.report-paper .report-month-table thead th{height:38px}.report-paper .report-month-table thead th:first-child{vertical-align:top;padding-top:6px}.report-paper .report-month-table th small{display:block;color:inherit;text-transform:capitalize;font-size:9px;font-weight:700;margin-top:0}.report-paper .report-month-table td span{display:block;min-height:16px;white-space:nowrap}.report-paper .report-month-table .report-weekend{background:#fbf4e7;color:var(--ink)}.report-paper .report-month-table .report-holiday{background:#fbf4e7;color:var(--ink)}.report-paper .report-month-table .report-vacation{background:var(--lime);color:var(--ink)}.report-summary-grid{display:grid;grid-template-columns:1.2fr 1.65fr 1fr;gap:13px;margin-top:15px;align-items:stretch}.report-summary-box{border:1px solid var(--line);border-radius:9px;overflow:hidden;break-inside:avoid;padding-bottom:8px}.report-summary-box h2{margin:0;background:var(--green);color:#fff;padding:8px 11px;font-size:16px;font-weight:700;letter-spacing:0}.report-paper .report-summary-box th,.report-paper .report-summary-box td{font-size:12px;padding:5px 7px}.report-paper .report-summary-box td:not(:first-child){text-align:right}.report-paper .report-summary-box .report-total td{font-weight:700;background:var(--bg)}.report-paper .report-summary-box:first-child td:first-child{width:65%}.report-paper .report-summary-box:nth-child(2) th:first-child{width:30%}.report-paper .report-summary-box:nth-child(2) th:nth-child(2){width:27%}.report-paper .report-summary-box td.report-shortfall{color:#b94742;font-weight:700}.report-clarifications{font-size:9px;line-height:1.5;margin:10px 0 0;color:var(--muted)}.report-clarifications p{margin:3px 0;overflow-wrap:anywhere}.report-signatures{display:grid;grid-template-columns:1fr 1fr 1.3fr 1.3fr;gap:32px;margin-top:30px;break-inside:avoid}.report-signatures>div{display:flex;flex-direction:column;min-height:55px}.report-signatures span{font-size:12px}.report-signatures p{margin:12px 0 0;border-bottom:1px solid var(--green);min-height:25px;flex:1;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px}.report-signatures>div:nth-child(2) p{white-space:nowrap}
@media(max-width:700px){.collaborator-report-overlay{padding:15px}.report-actions{align-items:flex-start;flex-direction:column}.report-actions .button-group{width:100%}.report-actions .button-group button{flex:1;font-size:12px}.report-edit-fields{flex-wrap:wrap;padding:13px}.report-edit-fields label{flex-basis:100%}.report-edit-fields label:nth-child(2){flex-basis:100%}.report-edit-fields p{flex-basis:100%;line-height:1.6}.report-preview-scroll{padding:15px}.report-edit-fields textarea,.report-edit-fields input{font-size:16px}}
@media print{
 body:has(.collaborator-report-overlay){background:#fff!important;margin:0!important;padding:0!important}
 body:has(.collaborator-report-overlay)>.app-shell,body:has(.collaborator-report-overlay)>main{display:none!important}
 .collaborator-report-overlay{position:static!important;inset:auto!important;background:#fff!important;padding:0!important;margin:0!important;overflow:visible!important;width:100%!important}
 .report-actions,.report-edit-fields{display:none!important}.report-preview-scroll{overflow:visible!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important;max-width:none!important;width:100%!important}
 .report-paper{min-width:0!important;width:100%!important;font-size:8pt!important;color:var(--ink)!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}
 .report-paper *{print-color-adjust:exact;-webkit-print-color-adjust:exact;box-shadow:none!important}
 .report-paper .report-metadata{gap:2mm;margin-bottom:3mm;break-inside:avoid}.report-paper .report-metadata>div{padding:2mm 2.5mm;border-radius:2mm}.report-paper .report-metadata p{font-size:8pt;line-height:1.65}
 .report-paper .report-month-table{width:100%!important;min-width:0!important;table-layout:fixed;font-size:6.5pt}
 .report-paper .report-month-table th,.report-paper .report-month-table td{padding:1mm .2mm;font-size:6.5pt;line-height:1.5;min-width:0;max-width:none;white-space:normal;border-width:.2mm}
 .report-paper .report-month-table th:first-child{font-size:7.5pt;padding-left:1.5mm}.report-paper .report-month-table thead th{font-size:7pt;height:7mm}.report-paper .report-month-table thead th:first-child{padding-top:1mm}.report-paper .report-month-table thead th small{font-size:6pt;margin:0}.report-paper .report-month-table td span{min-height:3mm;font-size:6.5pt;line-height:1.5}.report-paper .report-month-table tr{break-inside:avoid}
 .report-paper .report-summary-grid{gap:3mm;margin-top:3mm;break-inside:avoid}.report-paper .report-summary-box{border-radius:2mm;padding-bottom:2mm}.report-paper .report-summary-box h2{font-size:10pt;padding:2mm 2.5mm;margin:0}.report-paper .report-summary-box th,.report-paper .report-summary-box td{font-size:7.5pt;padding:1.2mm 1.5mm}
 .report-paper .report-clarifications{font-size:6pt;line-height:1.5;margin:2mm 0 0}.report-paper .report-clarifications p{font-size:6pt;margin:0 0 1mm}
 .report-paper .report-signatures{gap:7mm;margin-top:8mm;min-height:17mm}.report-paper .report-signatures>div{min-height:15mm}.report-paper .report-signatures span{font-size:8pt}.report-paper .report-signatures p{font-size:7pt;min-height:10mm;margin:3mm 0 0}
 @page{size:A4 landscape;margin:10mm}
}
@media print{html:has(.collaborator-report-overlay){background:#fff!important}body:has(.collaborator-report-overlay) .app-shell{display:none!important}}
.monthly-sheet-table th[scope=row] small{color:var(--muted);font-size:10px;font-weight:400;margin-top:3px}.report-paper .report-site-row th small{display:block;color:var(--muted);font-size:.85em;font-weight:400;margin-top:2px}.report-paper .report-site-row th{white-space:normal}.report-paper .report-site-row td{font-variant-numeric:tabular-nums}
.searchable-select{position:relative;min-width:0;width:100%;font-weight:400;letter-spacing:normal;text-align:left}.searchable-select.is-open{z-index:60}.searchable-select-control{display:flex;align-items:center;gap:8px;width:100%;border:1px solid #dce3d9;background:var(--panel);border-radius:7px;padding:0 10px;min-height:42px}.searchable-select-control>svg{flex-shrink:0;color:var(--muted)}.searchable-select-control:focus-within{border-color:#5c9f8f;box-shadow:0 0 0 3px #5c9f8f22}.searchable-select .searchable-select-control input{border:0!important;box-shadow:none!important;outline:0!important;background:transparent!important;padding:10px 0!important;margin:0;min-width:0;width:100%;flex:1;font-size:12px;color:var(--ink);border-radius:0}.searchable-select-clear{border:0;background:transparent;color:var(--muted);padding:5px;display:grid;place-items:center;flex-shrink:0}.searchable-select-popup{position:absolute;top:calc(100% + 5px);left:0;right:0;min-width:100%;border:1px solid var(--line);border-radius:9px;background:var(--panel);box-shadow:0 10px 28px #102f3626;overflow:hidden;z-index:61}.searchable-select-count{padding:9px 12px;border-bottom:1px solid var(--line);font-size:10px;color:var(--muted);font-weight:400}.searchable-select-options{max-height:260px;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.searchable-select-options button{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:42px;width:100%;padding:10px 12px;border:0;border-bottom:1px solid var(--line);background:var(--panel);text-align:left;font-size:12px;color:var(--ink);white-space:normal;line-height:1.5}.searchable-select-options button:last-child{border-bottom:0}.searchable-select-options button:hover,.searchable-select-options button.is-active{background:var(--lime);color:var(--green)}.searchable-select-options button>span{min-width:0;overflow-wrap:anywhere}.searchable-select-options button svg{flex-shrink:0}.searchable-select-empty{padding:15px 12px;font-size:11px;color:var(--muted);line-height:1.6}.calendar-person-field .searchable-select{width:230px}.calendar-person-field{position:relative}.filters .field{min-width:175px}.entry-panel,.filters,.calendar-toolbar{overflow:visible}@media(max-width:700px){.searchable-select .searchable-select-control input{font-size:16px}.searchable-select-options button{min-height:46px;font-size:14px}.searchable-select-options{max-height:230px}.calendar-person-field .searchable-select{width:100%;min-width:200px}}@media print{.searchable-select-popup{display:none!important}}
.statistics-search-actions{display:flex;justify-content:flex-end;margin-bottom:16px}.statistics-print-overlay{position:fixed;inset:0;z-index:2000;background:var(--bg);overflow:auto;padding:24px;color:var(--ink)}.statistics-print-actions{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 auto 22px;max-width:1400px}.statistics-print-actions h2{font-size:21px}.statistics-print-actions p{font-size:12px;color:var(--muted);margin-top:7px}.statistics-print-actions .button-group{align-items:flex-end}.statistics-print-actions label{font-size:11px;color:var(--muted)}.statistics-print-actions select{display:block;padding:10px;border:1px solid var(--line);border-radius:7px;color:var(--ink);background:var(--panel);margin-top:5px;min-height:40px}.statistics-print-scroll{overflow:auto;max-width:1400px;margin:auto}.statistics-print-sheet{background:var(--panel);padding:28px;margin:0 auto;box-shadow:0 4px 20px #102f3610}.statistics-print-sheet.landscape{width:273mm}.statistics-print-sheet.portrait{width:186mm}.statistics-print-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;border-bottom:3px solid var(--green);padding-bottom:16px;margin-bottom:18px}.statistics-print-heading h1{font-size:25px;margin-top:7px;letter-spacing:-.6px}.statistics-print-heading p{font-size:12px;color:var(--muted);margin-top:8px}.statistics-print-heading>span{font-size:11px;color:var(--muted)}.statistics-print-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 18px;padding:14px;background:var(--bg);border:1px solid var(--line);border-radius:8px}.statistics-print-filters dt{font-size:10px;color:var(--muted);margin-bottom:5px}.statistics-print-filters dd{font-size:12px;margin:0;overflow-wrap:anywhere}.statistics-print-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:22px}.statistics-print-metrics>div{padding:16px;border:1px solid var(--line);border-radius:8px}.statistics-print-metrics span{display:block;font-size:11px;color:var(--muted)}.statistics-print-metrics strong{display:block;font-size:23px;color:var(--green);margin-top:8px}.statistics-print-group{margin-top:22px}.statistics-print-group h2{font-size:15px;margin-bottom:10px}.statistics-print-group table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:11px}.statistics-print-group th{background:var(--green);color:white;padding:9px 10px;text-align:left;font-size:10px;white-space:normal;font-weight:600}.statistics-print-group td{padding:10px;border-bottom:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere;white-space:normal}.statistics-print-group td small{font-size:9px;margin-top:4px}.statistics-print-group tbody tr:nth-child(even){background:var(--bg)}.statistics-print-bar{height:9px;background:var(--bg);border:1px solid var(--line);border-radius:3px;margin-top:3px;overflow:hidden}.statistics-print-bar span{display:block;height:100%;background:var(--green)}.statistics-print-note{margin-top:24px;padding-top:12px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);line-height:1.7}.statistics-print-note p+p{margin-top:5px}.statistics-print-empty{padding:30px 12px;text-align:center;font-size:13px;color:var(--muted)}@media(max-width:700px){.statistics-print-overlay{padding:15px}.statistics-print-actions{flex-direction:column;align-items:flex-start}.statistics-print-actions .button-group{width:100%}.statistics-print-actions select{font-size:16px}}@media print{body:has(.statistics-print-overlay)>.app-shell{display:none!important}html:has(.statistics-print-overlay),body:has(.statistics-print-overlay){background:#fff!important;margin:0!important;padding:0!important}.statistics-print-overlay{position:static!important;inset:auto!important;overflow:visible!important;padding:0!important;margin:0!important;background:#fff!important;width:100%!important}.statistics-print-scroll{overflow:visible!important;max-width:none!important;margin:0!important}.statistics-print-sheet{width:100%!important;padding:0!important;margin:0!important;box-shadow:none!important}.statistics-print-paper{font-size:9pt;width:100%;color:var(--ink)}.statistics-print-paper *{print-color-adjust:exact;-webkit-print-color-adjust:exact}.statistics-print-heading{break-inside:avoid;margin-bottom:4mm;padding-bottom:3mm}.statistics-print-heading h1{font-size:17pt}.statistics-print-heading p{font-size:9pt}.statistics-print-filters{break-inside:avoid;margin-bottom:4mm;padding:3mm;gap:3mm}.statistics-print-filters dd{font-size:9pt}.statistics-print-metrics{break-inside:avoid;gap:3mm;margin-bottom:4mm}.statistics-print-metrics>div{padding:3mm}.statistics-print-metrics strong{font-size:15pt}.statistics-print-group{margin-top:5mm}.statistics-print-group h2{font-size:11pt;break-after:avoid}.statistics-print-group thead{display:table-header-group}.statistics-print-group tr{break-inside:avoid}.statistics-print-group th,.statistics-print-group td{font-size:8pt;padding:2mm 1.5mm}.statistics-print-group td small{font-size:7pt}.statistics-print-note{font-size:7pt;margin-top:5mm;padding-top:3mm}.statistics-print-note p{font-size:7pt}.statistics-print-empty{font-size:10pt}}
.annual-leave-year{display:flex;align-items:center;gap:10px;font-size:11px;color:var(--muted)}.annual-leave-year input{width:100px;border:1px solid var(--line);border-radius:7px;padding:9px;background:var(--panel);color:var(--ink)}.annual-leave-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:17px}.annual-leave-metrics>div{background:var(--bg);padding:14px;border-radius:8px}.annual-leave-metrics span{display:block;color:var(--muted);font-size:10px;line-height:1.6}.annual-leave-metrics strong{display:block;margin-top:9px;font-size:25px;color:var(--green)}.annual-leave-metrics strong small{display:inline;font-size:11px;font-weight:400}.annual-leave-metrics .annual-leave-negative{color:#b94742}.annual-leave-editor{border:1px solid var(--line);background:var(--bg);padding:20px;border-radius:9px;margin:22px 0}.annual-leave-editor h3{margin-bottom:18px}.annual-leave-editor .form-grid{margin-bottom:12px}.annual-leave-save{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px}.annual-leave-save>strong{font-size:14px}@media(max-width:700px){.annual-leave-metrics{grid-template-columns:1fr 1fr;gap:9px}.annual-leave-metrics strong{font-size:22px}.annual-leave-editor{padding:14px}.annual-leave-save{align-items:flex-start;flex-direction:column}.annual-leave-year input{font-size:16px}}

.regia-prices{border:1px solid var(--line);border-radius:9px;padding:18px;margin:0 0 20px;min-width:0;background:#fafbf8}.regia-prices legend{font-size:12px;font-weight:600;padding:0 7px;color:var(--green)}.regia-prices .field:last-child{margin-bottom:0}

.statistics-print-paper .statistics-work-description{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:5px;line-height:1.5;max-width:none}.statistics-price-totals{margin:24px 0 0;border-top:2px solid var(--green);padding:14px 0;break-inside:avoid}.statistics-price-totals>div{display:flex;justify-content:space-between;gap:20px;padding:7px 0;font-size:12px}.statistics-price-totals>div:nth-child(3){background:var(--bg);padding:12px 10px;font-size:15px}.statistics-price-totals p{font-size:10px;margin-top:9px;line-height:1.5;color:var(--muted)}.statistics-cost-entries th:nth-child(4){width:27%}.statistics-cost-entries td{font-variant-numeric:tabular-nums}.statistics-print-entries th:nth-child(4){width:25%}
@media print{.statistics-print-group .statistics-print-entries tr,.statistics-print-group .statistics-cost-entries tr{break-inside:auto}.statistics-print-paper .statistics-work-description{font-size:8pt;line-height:1.5}.statistics-price-totals{margin-top:5mm;padding:3mm 0}.statistics-price-totals>div{font-size:9pt}.statistics-price-totals>div:nth-child(3){font-size:11pt}.statistics-price-totals p{font-size:8pt}}

.statistics-print-metrics.client-print-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}

.dashboard-date{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.dashboard-date .button-group{align-items:end}.dashboard-date .field{margin:0}.attendance-group-title{font-size:11px;margin:18px 0 5px;color:var(--muted)}.attendance-group-title.missing{color:#ad3737}.attendance-group-title.registered{color:#387343}.attendance-missing{color:#a52f2f}.attendance-missing .avatar{background:#fbe7e7;color:#a52f2f}.attendance-missing small{color:#a64b4b}.attendance-missing>svg{color:#a52f2f}.attendance-registered{color:#316d3c}.attendance-registered .avatar{background:#e8f3e5;color:#316d3c}.attendance-registered small,.attendance-registered>svg{color:#477c4b}@media(max-width:600px){.dashboard-date .button-group{width:100%}.dashboard-date .field{flex:1}.dashboard-date input{font-size:16px}}

.sidebar{overflow-y:auto}

/* iPhone: navigation, safe areas and touch-sized controls. */
.mobile-navigation,.mobile-menu-backdrop{display:none}
@media screen and (max-width:700px){
 html{-webkit-text-size-adjust:100%}body{overflow-x:hidden}.app-shell{min-height:100dvh}.main-shell{min-width:0;padding-bottom:calc(78px + env(safe-area-inset-bottom,0px))}.topbar{position:sticky;top:0;z-index:15;padding-top:env(safe-area-inset-top,0px);min-height:calc(62px + env(safe-area-inset-top,0px))}
 .mobile-navigation{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;z-index:25;padding:7px 6px calc(7px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid var(--line);box-shadow:0 -3px 16px #102f3608}.mobile-navigation button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:51px;min-width:0;border:0;border-radius:10px;background:transparent;color:#6b7f75;font-size:10px}.mobile-navigation button.active{background:var(--lime);color:var(--green);font-weight:600}.mobile-navigation button svg{flex-shrink:0}
 .mobile-menu-backdrop{display:block;position:fixed;inset:0;z-index:18;border:0;background:#102f3666}.sidebar{padding-top:calc(25px + env(safe-area-inset-top,0px));padding-bottom:calc(88px + env(safe-area-inset-bottom,0px));max-width:85vw}.sidebar nav button{min-height:46px}.profile>a,.profile button{min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center}
 button.primary,button.secondary,.icon-button,.quiet,.row-actions button,.text-button{min-height:44px}.icon-button,.quiet,.row-actions button{min-width:44px}input,select,textarea,.calendar-month-field input{font-size:16px!important;min-height:44px;max-width:100%}.field,.form-grid>*{min-width:0}.form-grid.three,.modal .form-grid{grid-template-columns:minmax(0,1fr)}.field textarea{min-height:90px}.searchable-select-options button{min-height:48px}
 .calendar-toolbar .button-group{width:100%;gap:10px}.calendar-toolbar .button-group>.primary{width:100%}.calendar-month-field{flex:1;min-width:0}.calendar-month-field input{width:100%}.calendar-period{width:100%;justify-content:space-between}.calendar-period h2{min-width:0}.calendar-totals{gap:8px}.calendar-totals>div{padding:12px 9px;gap:7px}.calendar-totals strong{font-size:19px}.calendar-totals svg{display:none}.annual-leave-metrics>div{padding:12px}.annual-leave-metrics strong{font-size:23px}.annual-leave-summary .panel-head .badge{white-space:normal;overflow-wrap:anywhere}
 .attendance{display:block}.dashboard-date .button-group{flex-wrap:wrap}.dashboard-date .field{flex:1 1 100%}.dashboard-date .field input{width:100%}.page-head>button{width:100%}.panel-head .button-group{max-width:100%}.modal-overlay{padding:10px 10px calc(10px + env(safe-area-inset-bottom,0px));align-items:center}.modal{max-height:calc(100dvh - 30px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));overflow-y:auto;-webkit-overflow-scrolling:touch}.table-wrap,.calendar-sheet-scroll{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}.main-footer{overflow-wrap:anywhere}
}

.catalog-folder>summary::-webkit-details-marker{display:none}.catalog-folder[open]>summary .catalog-chevron{transform:rotate(90deg)}.catalog-folder>summary:focus-visible{outline:2px solid #27785a;outline-offset:5px}.catalog-folder>summary svg{flex-shrink:0}

/* Andamento economico */
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:20px}
.finance-tabs>button:not(.icon-button){display:inline-flex;align-items:center;gap:8px;border:1px solid #dce3d9;background:#fff;color:#36544a;border-radius:8px;padding:10px 14px;font-size:11px;min-height:38px}
.finance-tabs>button.active{background:#204b43;border-color:#204b43;color:#fff}
.finance-tabs .icon-button{margin-left:auto}
.money-pos{color:#2f7a3b}.money-neg{color:#b3412f}.money-zero{color:var(--ink)}
.finance-table tr.clickable,.finance-groups tr.clickable{cursor:pointer}
.finance-table tr.clickable:hover td,.finance-groups tr.clickable:hover td{background:#f6f9f2}
.finance-table td small{display:flex;gap:5px;flex-wrap:wrap;margin-top:5px}
.finance-table td.numeric small{justify-content:flex-end}
.finance-metric{font-size:22px;letter-spacing:-.6px;overflow-wrap:anywhere}
.finance-formula{font-size:13px;line-height:1.7;margin:4px 0 0;padding:14px 16px;background:#f6f7f4;border-radius:8px}
.finance-formula strong{font-size:15px}
.finance-settings{align-items:end;margin-bottom:12px}
.finance-back{margin-bottom:14px}
.finance-unattributed{padding:18px;background:#f6f7f4;border-radius:8px;font-size:12px;color:var(--muted)}
.finance-detail-row>td{background:#fbfcf9;padding:8px 10px 16px}
.finance-description{max-width:280px;white-space:pre-wrap}
.finance-groups{margin-bottom:22px}
tfoot td{border-top:2px solid var(--line)}
@media (max-width:700px){.finance-tabs>button:not(.icon-button){flex:1 1 100%;justify-content:center}.finance-settings{grid-template-columns:1fr}}
.finance-detail-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:900px){.finance-detail-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:700px){
 .finance-tabs .icon-button{margin-left:0}
 table.stack-mobile,table.stack-mobile tbody,table.stack-mobile tfoot{display:block;min-width:0;width:100%}
 table.stack-mobile thead{display:none}
 table.stack-mobile tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;padding:14px 4px;border-bottom:1px solid var(--line)}
 table.stack-mobile td{display:flex;flex-direction:column;gap:3px;padding:0;border:0;text-align:left!important;min-width:0}
 table.stack-mobile td:first-child{grid-column:1/-1}
 table.stack-mobile td[data-label]::before{content:attr(data-label);font-size:9px;letter-spacing:.6px;text-transform:uppercase;color:var(--muted)}
 table.stack-mobile td:empty{display:none}
 table.stack-mobile td.numeric small{justify-content:flex-start}
 table.stack-mobile .finance-detail-row{display:block}
 table.stack-mobile .finance-detail-row>td{display:block}
 .finance-detail-metrics{grid-template-columns:1fr}
 .finance-metric{font-size:20px}
}
@media (max-width:700px){.topbar{gap:8px}.topbar .breadcrumb{min-width:0;flex:1 1 auto;overflow:hidden}.top-right{gap:6px;flex-shrink:0}.top-right>a.quiet{font-size:10px;padding:6px 4px;white-space:nowrap}}

/* Materiale e bollettini */
.inbox-count{margin-left:auto;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:#e0703f;color:#fff;font-size:10px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;font-style:normal}
.finance-tabs .inbox-count{margin-left:4px}
.mobile-navigation button{position:relative}
.inbox-dot{position:absolute;top:6px;right:calc(50% - 16px);width:9px;height:9px;border-radius:50%;background:#e0703f;border:2px solid #fff}
.badge.red{color:#a2412f;background:#fbebe5}
.material-list{display:grid;gap:14px}
.material-card{border:1px solid var(--line);border-radius:12px;padding:16px 18px;background:#fff;display:flex;flex-direction:column;gap:10px;min-width:0}
.material-card header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.material-card header>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.material-card header strong{font-size:14px}
.material-card header small{font-size:11px;color:var(--muted);line-height:1.5}
.material-items{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.material-items li{display:flex;gap:12px;font-size:13px;line-height:1.5;padding:6px 10px;background:#f6f7f4;border-radius:7px}
.material-items .qty{min-width:84px;font-weight:600;font-variant-numeric:tabular-nums}
.material-note{margin:0;font-size:12px;line-height:1.6;white-space:pre-wrap}
.material-admin-note{margin:0;font-size:12px;line-height:1.6;padding:8px 10px;border-left:3px solid #9fbf8f;background:#f3f8ee;border-radius:0 6px 6px 0;white-space:pre-wrap}
.material-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.material-actions .icon-button{min-height:34px;padding:8px}
.note-card{flex-direction:row;align-items:flex-start;gap:16px}
.note-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:10px}
.note-thumb{flex:0 0 110px;height:110px;border-radius:9px;overflow:hidden;background:#eef2ea;display:flex;align-items:center;justify-content:center}
.note-thumb img{width:100%;height:100%;object-fit:cover}
.note-pdf{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:11px;font-weight:600;color:#36544a}
.note-preview{display:flex;flex-direction:column;gap:6px;align-items:flex-start;margin:4px 0 12px}
.note-preview img{max-width:100%;max-height:240px;border-radius:9px;border:1px solid var(--line)}
.note-preview small{font-size:11px;color:var(--muted)}
.request-items{border:1px solid var(--line);border-radius:10px;padding:12px;margin:6px 0 14px;display:grid;gap:8px}
.request-items legend{font-size:11px;color:#657660;padding:0 4px}
.request-item{display:grid;grid-template-columns:minmax(0,1fr) 78px 86px 38px;gap:6px;align-items:center}
.request-item input,.request-item select{min-width:0;width:100%;border:1px solid #dfe5dc;border-radius:7px;padding:10px;font-size:12px;background:#fff}
@media (max-width:560px){.note-card{flex-direction:column}.note-thumb{flex-basis:auto;width:100%;height:180px}.request-item{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 38px;padding-bottom:8px;border-bottom:1px dashed var(--line)}.request-item input:first-child{grid-column:1/-1}}

/* Fornitori e colori NCS */
.ncs-groups{display:grid;gap:16px}
.ncs-group{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}
.ncs-group>header{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding:14px 18px;background:#f6f7f4;border-bottom:1px solid var(--line)}
.ncs-group>header>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.ncs-group>header small{font-size:11px;color:var(--muted)}
.ncs-group ul{list-style:none;margin:0;padding:0}
.ncs-row{display:flex;gap:14px;align-items:center;padding:12px 18px;border-bottom:1px solid #edf0e8}
.ncs-row:last-child{border-bottom:0}
.ncs-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.ncs-code{font-size:15px;letter-spacing:.3px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.ncs-area{font-size:13px}
.ncs-info small{font-size:11px;color:var(--muted);line-height:1.5}
.ncs-notes{white-space:pre-wrap;font-size:13px;line-height:1.5;color:var(--ink)}
.ncs-swatch{display:inline-block;flex:0 0 auto;border-radius:8px;border:1px solid #0000001f;background:repeating-linear-gradient(45deg,#eee 0 6px,#fff 6px 12px)}
.ncs-swatch.md{width:28px;height:28px}
.ncs-swatch.lg{width:52px;height:52px}
.ncs-input{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center}
.ncs-live{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:600;min-height:52px}
.supplier-list{display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}
.supplier-data{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 12px;margin:0;font-size:12px}
.supplier-data dt{color:var(--muted)}
.supplier-data dd{margin:0;overflow-wrap:anywhere}
.supplier-data a{color:#204b43}
.registry .search{display:flex;align-items:center;gap:8px;border:1px solid #dfe5dc;border-radius:7px;padding:0 10px;background:#fff}
.registry .search input{border:0;outline:none;padding:10px 0;width:100%;font-size:12px;background:transparent}
@media (max-width:560px){.ncs-input{grid-template-columns:1fr}.supplier-list{grid-template-columns:1fr}.ncs-row{padding:12px 14px}}

.link-button{border:0;background:none;padding:0;font:inherit;color:inherit;cursor:pointer;text-align:left}
.link-button:hover{text-decoration:underline}
.link-button:focus-visible{outline:2px solid #9fbf8f;outline-offset:2px;border-radius:3px}

.absence-mail{flex-direction:column;align-items:stretch;gap:12px}
.absence-mail pre{white-space:pre-wrap;font:inherit;font-size:12px;line-height:1.6;background:#fff;border:1px solid #dae8ca;border-radius:8px;padding:10px 12px;margin:10px 0 0;color:var(--ink)}
.absence-mail .primary{text-decoration:none;display:inline-flex;align-items:center}

.check.compact{margin:0;font-size:10px;white-space:nowrap}

/* Registro vacanze */
.leave-register .filters{margin-bottom:16px}
.leave-register-screen{border:1px solid var(--line);border-radius:12px;padding:22px;overflow-x:auto;background:#fff}
.leave-register-paper{color:var(--ink);font-size:12px;min-width:0}
.leave-register-paper>header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;border-bottom:2px solid var(--ink);padding-bottom:12px;margin-bottom:14px}
.leave-register-paper h1{font-size:22px;margin:6px 0}
.leave-register-paper header p{margin:0;font-size:12px}
.leave-register-date{color:var(--muted)}
.leave-register-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 16px}
.leave-register-summary>div{background:#f6f7f4;border-radius:8px;padding:9px 11px}
.leave-register-summary dt{font-size:10px;color:var(--muted)}
.leave-register-summary dd{margin:4px 0 0;font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}
.leave-register-table{width:100%;border-collapse:collapse;font-size:11px;min-width:760px}
.leave-register-table th{text-align:left;font-size:10px;color:var(--muted);font-weight:500;border-bottom:1px solid var(--ink);padding:6px 5px}
.leave-register-table td{border-bottom:1px solid var(--line);padding:7px 5px;vertical-align:top}
.leave-register-table td small{display:block;color:var(--muted);font-size:10px;margin-top:2px}
.leave-register-table .numeric{text-align:right;font-variant-numeric:tabular-nums}
.leave-register-table .row-rejected td{color:#8a8f8a;text-decoration:line-through;text-decoration-color:#c9cdc6}
.leave-register-table .row-rejected td:nth-child(3),.leave-register-table .row-rejected td:nth-child(6),.leave-register-table .row-rejected td:nth-child(7),.leave-register-table .row-rejected td:nth-child(8){text-decoration:none}
.leave-register-table .row-collective td{background:#f6f9f2}
.leave-pending{color:#967343}
.leave-note{max-width:220px;white-space:pre-wrap}
.leave-register-foot{margin-top:16px;font-size:10px;color:var(--muted);line-height:1.6}
.leave-register-sign{display:flex;justify-content:space-between;gap:40px;margin-top:34px}
.leave-register-sign span{flex:1;border-top:1px solid var(--ink);padding-top:6px;color:var(--ink)}
@media (max-width:700px){.leave-register-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.leave-register-screen{padding:12px}}
@media print{.leave-register-table{min-width:0;font-size:8.5pt}.leave-register-summary dd{font-size:11pt}.leave-register-paper{font-size:9pt}}
@media print{body:has(.statistics-print-overlay)>#app{display:none!important}}

/* Notifiche */
.notifications-panel{margin-bottom:20px}
.notify-ok{color:#2f7a3b;font-size:12px;margin:12px 0 0}
.notify-hint{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 16px;margin-bottom:18px;border-radius:10px;background:#eef5e6;border:1px solid #dae8ca;font-size:12px;color:#36544a}

/* Colori delle assenze nel calendario e nella stampa mensile */
.sheet-leave-full,.report-leave-full{background:#cdeac0!important;color:#245c2b!important}
.sheet-leave-hours,.report-leave-hours{background:#ffe9a3!important;color:#6b4e00!important}
.sheet-leave-pending,.report-leave-pending{background-image:repeating-linear-gradient(135deg,#ffffff99 0 4px,transparent 4px 9px)!important;outline:1px dashed #00000040;outline-offset:-2px}
.legend-chip{display:inline-flex;align-items:center;gap:6px}
.legend-chip:before{content:"";width:12px;height:12px;border-radius:3px;display:inline-block}
.legend-full:before{background:#cdeac0;border:1px solid #9fcf8c}
.legend-hours:before{background:#ffe9a3;border:1px solid #e3c25a}
.legend-pending:before{background:repeating-linear-gradient(135deg,#cdeac0 0 3px,#fff 3px 6px);border:1px dashed #8aa;}
@media print{.sheet-leave-full,.report-leave-full,.sheet-leave-hours,.report-leave-hours,.sheet-leave-pending,.report-leave-pending,.legend-chip:before{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

.request-by{font-weight:600;color:var(--ink)}

.site-number-note{font-size:12px;color:var(--muted);margin:0 0 12px}
.site-number-note strong{color:var(--ink)}
/* Logo dell'azienda (Impostazioni → Azienda e logo) */
.brand-card{display:flex;flex-direction:column;align-items:flex-start;gap:7px;background:#fff;border-radius:10px;padding:12px 14px 10px;align-self:stretch}
.brand-card img{display:block;max-width:100%;max-height:52px;width:auto;height:auto;object-fit:contain}
.brand-card small{font-size:9px;color:#5f7470;letter-spacing:2.2px;font-weight:600;text-transform:uppercase}
.access>.brand-card{align-self:flex-start;max-width:300px;padding:16px 18px 12px}
.access>.brand-card img{max-height:70px}
.brand-card.preview{border:1px solid var(--line);max-width:320px;margin-bottom:12px}
.brand-card.preview img{max-height:80px}
.company-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:22px;align-items:start}
@media(max-width:760px){.company-grid{grid-template-columns:1fr}}
.company-logo .button-group{flex-wrap:wrap;margin-bottom:8px}
label.primary{cursor:pointer}label.primary.disabled{opacity:.55;pointer-events:none}
.print-logo{display:block;max-height:38px;max-width:190px;width:auto;margin-bottom:8px;object-fit:contain}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
