:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#1d2b24;background:#f6f7f3;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}.hidden{display:none!important}.app-shell{min-height:100vh}.topbar{height:76px;background:#17251f;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1180px)/2));gap:16px}.brand{display:flex;align-items:center;gap:12px}.brand-mark{width:39px;height:39px;border-radius:12px;background:#c7e5b9;color:#17251f;display:grid;place-items:center;font-size:24px;font-weight:800}.brand strong,.brand small{display:block}.brand strong{font-size:17px;line-height:1}.brand small{font-size:11px;color:#a7baaa;margin-top:4px;letter-spacing:.06em;text-transform:uppercase}.top-actions{display:flex;align-items:center;gap:12px}.save-status{font-size:12px;color:#b9cbbf}main{max-width:1180px;margin:auto;padding:38px 24px 64px}.hero{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:30px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.15em;color:#78916d;margin:0 0 11px}h1,h2,h3,h4,p{margin-top:0}h1{font-size:clamp(29px,4vw,45px);line-height:1.12;letter-spacing:-.045em;margin-bottom:12px}h2{font-size:24px;letter-spacing:-.035em;margin-bottom:4px}.hero-copy{color:#6e7a70;margin-bottom:0;max-width:590px;line-height:1.5}.button{border:1px solid transparent;border-radius:11px;padding:11px 17px;font-weight:700;white-space:nowrap;min-height:43px;transition:transform .15s,background .15s}.button:hover{transform:translateY(-1px)}.button-primary{background:#1c5136;color:#fff}.button-primary:hover{background:#123e28}.button-secondary{background:#fff;border-color:#d9e0d7;color:#244333}.topbar .button-secondary{background:#294035;border-color:#3c5946;color:#fff}.button-danger{color:#a44239;background:#fff1ed;border-color:#f2c7be}.stats{display:grid;grid-template-columns:1fr 1fr 1fr 2fr;gap:12px;margin-bottom:39px}.stat{background:#fff;border:1px solid #e5eae1;border-radius:16px;padding:18px 21px;box-shadow:0 3px 12px #1a332208}.stat span{display:block;font-size:12px;color:#78877b;font-weight:600;margin-bottom:10px}.stat strong{font-size:29px;letter-spacing:-.04em;line-height:1.1}.stat:last-child strong{font-size:17px;letter-spacing:-.02em}.content-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:18px}.content-heading p{color:#7b887c;font-size:13px;margin:0}.view-switch{background:#e9eee7;border-radius:11px;padding:4px;display:flex}.view-switch button{border:0;background:none;border-radius:8px;padding:8px 18px;color:#6b7a6d;font-weight:700}.view-switch button.active{background:white;color:#1d4d34;box-shadow:0 1px 4px #15271b1c}.toolbar{display:flex;gap:10px;margin-bottom:18px}.search{flex:1;display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #dfe7dc;border-radius:11px;padding:0 13px;color:#7d8e80}.search span{font-size:23px}.search input{border:0;outline:none;min-width:0;width:100%;height:43px;background:transparent}.toolbar select{border:1px solid #dfe7dc;background:#fff;border-radius:11px;padding:0 13px;color:#3a4b3d;min-height:43px}.list-view{display:grid;gap:13px}.event-card{background:#fff;border:1px solid #e1e8de;border-radius:16px;padding:19px 22px;box-shadow:0 3px 14px #19291c07}.card-main{display:flex;justify-content:space-between;gap:12px}.card-top{display:flex;gap:16px;align-items:center}.date-badge{width:55px;height:55px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#eff4ea;border-radius:11px;color:#245238;flex:none}.date-badge strong{font-size:23px;line-height:1}.date-badge small{text-transform:uppercase;font-size:11px;font-weight:800;margin-top:3px}.card-title-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.card-title-row h3{font-size:17px;letter-spacing:-.02em;margin:0}.card-meta{color:#78867a;font-size:13px;margin:6px 0 0}.pill{font-size:11px;border-radius:99px;padding:4px 8px;font-weight:800}.pill.upcoming{background:#e8f3e7;color:#357146}.pill.active{background:#fff0d6;color:#9d661e}.pill.past{background:#eef0ed;color:#6c786e}.pill.cancelled{background:#ffebe7;color:#9d483c}.pill.pending{background:#fff2d7;color:#96691c}.icon-button{border:0;background:transparent;color:#718174;width:34px;height:34px;border-radius:8px;font-size:23px}.icon-button:hover{background:#edf3eb}.phase-row{display:grid;grid-template-columns:1fr 1.35fr 1fr;gap:15px;margin:18px 0 0 71px;padding-top:17px;border-top:1px solid #edf0eb}.phase-row>div{min-width:0}.phase-label{display:block;text-transform:uppercase;letter-spacing:.08em;font-weight:800;font-size:10px;margin-bottom:6px}.phase-label.montage{color:#a56b3f}.phase-label.salon{color:#39744d}.phase-label.demontage{color:#6966aa}.phase-row strong{font-size:13px;font-weight:650}.card-notes{margin:14px 0 0 71px;color:#758478;font-size:12px;white-space:pre-wrap}.empty-state{text-align:center;border:1px dashed #cbd8c8;border-radius:16px;padding:54px 15px;color:#7b897e}.empty-state h3{color:#2c4331}.calendar-view{background:#fff;border:1px solid #e1e8de;border-radius:16px;padding:22px}.calendar-controls{display:flex;align-items:center;justify-content:center;gap:22px}.calendar-controls h3{font-size:23px;margin:0}.calendar-controls button{border:1px solid #dce5d9;background:#fff;border-radius:9px;width:34px;height:34px;font-size:24px;line-height:1}.legend{display:flex;justify-content:center;gap:20px;font-size:12px;color:#6e7d70;margin:18px 0 25px}.legend span{display:flex;align-items:center;gap:6px}.legend i,.day-marks i{display:inline-block;width:8px;height:8px;border-radius:50%}.legend .montage,.day-marks .montage{background:#e6a773}.legend .salon,.day-marks .salon{background:#61a970}.legend .demontage,.day-marks .demontage{background:#9692cf}.month-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.month{border:1px solid #e8eee5;border-radius:12px;padding:15px}.month h4{text-transform:capitalize;margin:0 0 15px;font-size:15px}.month-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}.weekday{text-align:center;color:#9aa79c;font-size:10px;font-weight:800;padding-bottom:8px}.calendar-day,.calendar-empty{height:37px;min-width:0}.calendar-day{background:#fff;border:0;border-radius:6px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:11px;color:#445449}.calendar-day:hover{background:#edf4ec}.calendar-day.today{outline:1px solid #276c42}.day-marks{display:flex;gap:2px;align-items:center}.day-marks i{width:5px;height:5px}.day-marks b{font-size:8px}.data-tools{display:flex;justify-content:space-between;gap:24px;margin-top:42px;padding:25px;border:1px solid #dee7dc;background:#eef3eb;border-radius:15px}.data-tools h2{font-size:18px}.data-tools p{margin:0;color:#677a69;font-size:13px;line-height:1.45;max-width:540px}.data-buttons{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;align-content:center}.data-buttons .button{font-size:12px;padding:9px 12px}dialog{border:1px solid #dfe7dc;border-radius:17px;padding:26px;width:min(610px,calc(100% - 28px));max-height:calc(100dvh - 30px);overflow:auto;box-shadow:0 25px 70px #101f18a0}dialog::backdrop{background:#101c15a8}.dialog-header{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:18px}.dialog-header h2{margin:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid label,.sync-form label{font-size:12px;color:#536454;font-weight:700;display:flex;flex-direction:column;gap:6px}.form-grid .full{grid-column:1/-1}.form-grid input,.form-grid select,.form-grid textarea,.sync-form input{border:1px solid #d8e2d5;border-radius:9px;padding:10px 11px;background:#fff;color:#1d2b24;width:100%;outline:none}.form-grid input:focus,.form-grid textarea:focus,.sync-form input:focus{border-color:#2d7848}.form-error{color:#ad3f35;font-size:12px;min-height:16px;margin:10px 0 0}.dialog-actions{display:flex;gap:9px;margin-top:15px}.dialog-spacer{flex:1}.sync-form{display:grid;gap:14px}.sync-form .dialog-actions{margin-top:0}#syncDialog>p{font-size:13px;line-height:1.5;color:#68796a}@media(max-width:850px){.stats{grid-template-columns:repeat(2,1fr)}.month-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.data-tools{display:block}.data-buttons{justify-content:flex-start;margin-top:18px}}@media(max-width:600px){.topbar{height:auto;min-height:65px;padding:10px 16px}.save-status{display:none}.top-actions .button{font-size:11px;padding:8px}.brand-mark{width:34px;height:34px}.brand strong{font-size:15px}.brand small{font-size:9px}main{padding:27px 15px 50px}.hero{display:block}.hero .button{margin-top:20px;width:100%}.stats{gap:8px;margin-bottom:31px}.stat{padding:14px}.stat strong{font-size:25px}.stat:last-child strong{font-size:13px}.content-heading{align-items:center}.toolbar{flex-wrap:wrap}.search{flex-basis:100%}.toolbar select{flex:1;min-width:0;font-size:12px}.event-card{padding:16px}.card-top{gap:10px}.date-badge{width:45px;height:45px}.date-badge strong{font-size:19px}.card-title-row h3{font-size:15px}.phase-row{margin-left:0;grid-template-columns:1fr 1fr;gap:12px}.phase-row>div:nth-child(2){grid-column:2;grid-row:1/3}.phase-row strong{font-size:12px}.card-notes{margin-left:0}.month-grid{grid-template-columns:1fr}.calendar-view{padding:16px}.form-grid{grid-template-columns:1fr 1fr;gap:10px}dialog{padding:19px}.dialog-actions .button{font-size:12px;padding:9px 10px}}

