.cu-workspace{color:var(--text,#eee);max-width:1440px;margin:auto}.cu-heading,.cu-actions,.cu-dialog-head,.cu-editor-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.cu-heading h2{font-size:1.8rem;margin:.1em 0}.cu-eyebrow{font-size:.72rem;letter-spacing:.09em;text-transform:uppercase;color:#bfaa8c}.cu-note{color:#b7b2aa;font-size:.88rem;line-height:1.5;margin:.55em 0}.cu-btn{background:#dfa553;color:#17130d;border:1px solid #dfa553;border-radius:8px;padding:10px 15px;font:inherit;font-size:.9rem;font-weight:650;cursor:pointer;min-height:42px}.cu-btn--secondary{background:#242321;color:#efebe5;border-color:#4b463e}.cu-btn:disabled{opacity:.5;cursor:not-allowed}.cu-btn:focus-visible,.cu-workspace input:focus-visible,.cu-dialog :focus-visible{outline:2px solid #f3bf6d;outline-offset:3px}.cu-filters,.cu-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:14px;align-items:end;margin:18px 0}.cu-filters{max-width:920px}.cu-field{display:flex;flex-direction:column;gap:6px;font-size:.85rem;color:#d5d0c6;min-width:0}.cu-field input,.cu-field select,.cu-field textarea{box-sizing:border-box;width:100%;padding:10px;background:#161616;color:#f4f0e9;border:1px solid #51493e;border-radius:7px;font:inherit;min-height:43px;color-scheme:dark}.cu-field small{font-size:.78rem}.cu-check{display:flex;gap:10px;align-items:center;font-size:.88rem;padding:10px 0}.cu-check input{width:19px;height:19px;accent-color:#dfa553}.cu-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.cu-card{border:1px solid #403a30;background:#201e1a;padding:16px;border-radius:10px;display:flex;flex-direction:column;gap:8px;min-width:0}.cu-card strong{font-size:1.25rem;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cu-scroll{overflow:auto;max-width:100%;margin:16px 0;border:1px solid #393530;border-radius:9px}.cu-table{border-collapse:collapse;width:100%;font-size:.86rem}.cu-table th{text-align:left;background:#27231d;color:#e6bb79;font-size:.75rem;white-space:nowrap}.cu-table th,.cu-table td{padding:12px;border-bottom:1px solid #38342d;vertical-align:top}.cu-table td{font-variant-numeric:tabular-nums;min-width:80px}.cu-table tr:last-child td{border-bottom:0}.cu-status{font-size:.74rem;font-weight:700;display:inline-block;border-radius:5px;padding:5px 8px;background:#37342e;color:#eee}.cu-status--submitted{background:#514024;color:#ffcf87}.cu-status--approved{background:#1c4032;color:#a0e1bc}.cu-status--void{background:#492525;color:#eab0b0}.cu-empty{border:1px dashed #5a4e3c;border-radius:10px;padding:28px;margin:22px 0}.cu-reports{border-top:1px solid #413b32;margin-top:28px;padding-top:16px}.cu-reports .cu-actions{justify-content:flex-start;align-items:end}.cu-reports .cu-field{min-width:260px}.cu-dialog{box-sizing:border-box;width:min(1120px,calc(100vw - 24px));max-height:calc(100dvh - 32px);border:1px solid #6a5638;border-radius:14px;background:#191918;color:#f0ece4;padding:24px;overflow:auto}.cu-dialog::backdrop{background:#000b;backdrop-filter:blur(3px)}.cu-dialog-head{border-bottom:1px solid #40392f;padding-bottom:14px;margin-bottom:15px}.cu-dialog-head h2{font-size:1.25rem;margin:0}.cu-dialog h3{font-size:1rem;margin:20px 0 10px}.cu-tabs{display:flex;overflow:auto;gap:7px;padding:8px 0 15px}.cu-tabs .cu-btn{flex-shrink:0}.cu-tabs [aria-pressed=true]{background:#dfa553;color:#17130d}.cu-edit-body{min-height:220px}.cu-count{border:1px solid #493f31;border-radius:10px;padding:15px;margin:18px 0}.cu-count legend{padding:0 8px;color:#e7bd7d}.cu-count-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:14px 0}.cu-count-total{display:block;margin-top:12px;color:#f0c98e;font-size:1.2rem}.cu-line{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px;align-items:end;border:1px solid #3f392f;border-radius:9px;padding:14px;margin-bottom:12px}.cu-editor-actions{position:sticky;bottom:-24px;background:#211f1b;border-top:1px solid #4c4030;padding:15px 0;margin-top:24px;z-index:2}.cu-editor-actions .cu-note{flex:1;max-width:400px}.cu-error{color:#ffb4a9;line-height:1.5}.cu-warning{padding:14px 20px;background:#3a2c1d;border:1px solid #80623c;border-radius:8px;color:#f5d5a2;line-height:1.6}.cu-warning h3{margin:0}.cu-detail{border:1px solid #443b2f;padding:15px;border-radius:8px;margin:14px 0}.cu-detail summary{cursor:pointer;color:#edc58d}.cu-dialog .cu-actions{justify-content:flex-start;margin:18px 0}.cu-workspace[aria-busy=true]{opacity:.7}
@media(max-width:700px){.cu-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.cu-count-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cu-dialog{padding:16px}.cu-dialog-head h2{font-size:1.05rem}.cu-line{grid-template-columns:repeat(2,minmax(0,1fr))}.cu-line .cu-check{grid-column:1/-1}.cu-editor-actions{bottom:-16px}.cu-editor-actions .cu-note{display:none}.cu-card{padding:12px}.cu-card strong{font-size:1.05rem}.cu-table td,.cu-table th{padding:9px}.cu-heading h2{font-size:1.5rem}.cu-reports .cu-field{min-width:0;width:100%}.cu-dialog .cu-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
.cu-entry{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#2d251a;border:1px solid #896436;border-radius:12px;padding:22px;margin:20px 0}.cu-entry h3{margin:0;color:#f2d2a3}.cu-entry .cu-note{max-width:720px}.cu-entry .cu-btn{flex-shrink:0}.cu-periods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0 30px}.cu-period{padding:18px;border:1px solid #51432e;border-radius:10px;background:#211e19;min-width:0}.cu-period h4{margin:0 0 15px;color:#edc58d}.cu-period .cu-field{min-width:0}.cu-period .cu-btn{width:100%;margin-top:8px}
@media(max-width:700px){.cu-entry{align-items:stretch;flex-direction:column;gap:10px}.cu-periods{grid-template-columns:1fr}}
@media(max-width:400px){.cu-filters{grid-template-columns:1fr 1fr}.cu-line{grid-template-columns:1fr}.cu-dialog .cu-fields{grid-template-columns:1fr}.cu-count-grid{gap:8px}.cu-field input{padding:9px 7px}}
.cu-workflow{padding:24px;background:#211e19;border:1px solid #6a5030;border-radius:14px;margin:24px 0 32px}.cu-workflow-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:20px}.cu-workflow-heading h3{margin:0 0 8px;font-size:1.2rem}.cu-workflow-heading>.cu-field{min-width:225px;max-width:300px}.cu-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.cu-step{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:20px;background:#191918;border:1px solid #494037;border-radius:11px;min-width:0}.cu-step--complete{border-color:#3f6651;background:#1a231e}.cu-step-top{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}.cu-step-number{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;border:1px solid #81613a;border-radius:50%;font-weight:700;color:#f1c582}.cu-step h4{font-size:1.07rem;margin:7px 0 0;line-height:1.4}.cu-step .cu-note{margin:0 0 5px}.cu-step>.cu-btn{margin-top:auto;width:100%}.cu-step-amount{font-size:1.4rem;font-variant-numeric:tabular-nums;color:#c7ead3}.cu-day-tills{margin:24px 0 0;font-size:.96rem}.cu-status--completed{background:#224333;color:#bbe8c9}.cu-status--pending,.cu-status--blocked{background:#3a3833;color:#ded8cc}.cu-status--draft{background:#4a3c23;color:#f3d49f}.cu-status--needs-review{background:#592f25;color:#ffd1b6}.cu-history-heading{font-size:1.15rem;margin:0}.cu-completion{padding:18px;background:#1b3023;border:1px solid #4a755b;border-radius:10px;margin:20px 0}.cu-completion h3{margin:0}.cu-completion .cu-btn{margin:8px 8px 0 0}.cu-preview:empty{display:none}
@media(max-width:900px){.cu-steps{grid-template-columns:1fr}.cu-step{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 20px}.cu-step-top,.cu-step h4,.cu-step .cu-note{grid-column:1/-1}.cu-step>.cu-btn{width:auto;min-width:200px;grid-column:2;margin-top:0}.cu-step-amount{grid-column:1}.cu-workflow-heading{gap:16px}.cu-workflow{padding:20px}}
@media(max-width:600px){.cu-workflow-heading{display:block}.cu-workflow-heading>.cu-field{max-width:none;min-width:0;margin-top:18px}.cu-workflow{padding:16px;margin:20px 0 26px}.cu-step{display:flex;padding:17px}.cu-step>.cu-btn{width:100%;min-width:0}.cu-heading>.cu-btn{width:100%}.cu-completion .cu-btn{width:100%;margin-right:0}.cu-editor-actions .cu-btn{flex:1}.cu-step-number{width:28px;height:28px}}
