:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#25342d;background:#f7f3ee;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:linear-gradient(180deg,#ffffffb8,#fff0 190px),#f7f3ee}button,input,textarea,select{font:inherit}button{-webkit-tap-highlight-color:transparent}.app-shell{width:min(100%,760px);min-height:100vh;margin:0 auto;padding:18px 16px 96px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.brand{margin:0 0 4px;color:#66786b;font-size:.86rem;font-weight:700}h1{margin:0;font-size:clamp(2rem,9vw,3.8rem);line-height:.98;letter-spacing:0}.icon-button,.ghost-icon{display:inline-grid;place-items:center;border:0;border-radius:999px;color:#fff;background:#2f6650;cursor:pointer}.icon-button{width:62px;height:62px;flex:0 0 62px;box-shadow:0 14px 30px #2f665047}.ghost-icon{width:44px;height:44px;color:#25342d;background:#f0e6db}.date-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(108px,auto);gap:8px;margin-bottom:12px}.date-strip button,.date-picker{min-height:46px;border:1px solid #ded2c4;border-radius:8px;color:#36453c;background:#ffffff94}.date-strip button{padding:0 10px;cursor:pointer}.date-strip button.active{color:#fff;border-color:#2f6650;background:#2f6650}.date-picker{position:relative;display:grid;place-items:center;overflow:hidden}.date-picker input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0}.sync-message{margin:0 0 12px;padding:10px 12px;border-radius:8px;color:#2f6650;background:#e4f2ea}.sync-message.offline{color:#8a4c19;background:#fff1d8}.timeline{display:grid;gap:8px}.timeline.empty{gap:14px}.slot{display:grid;grid-template-columns:74px 1fr;align-items:center;min-height:58px;width:100%;padding:8px 14px;border:1px solid #e4d9ce;border-radius:8px;color:#25342d;text-align:left;background:#ffffffb8;cursor:pointer}.slot.busy{border-color:#bad7ca;background:#eef8f2}.slot.done{border-color:#e4d9ce;background:#f4f1ea}.slot.pending{border-color:#ecd3a8;background:#fff6e4}.badge{display:inline-block;padding:2px 8px;border-radius:999px;color:#8a4c19;font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.03em;background:#f6e3bd}.pending-strip{display:block;width:100%;min-height:46px;margin:0 0 12px;padding:10px 12px;border:1px solid #ecd3a8;border-radius:8px;color:#8a4c19;font-weight:800;text-align:left;background:#fff6e4;cursor:pointer}.slot.done .slot-name{color:#7d8a80}.slot-name{display:inline-flex;align-items:center;gap:6px}.slot-name svg{color:#2f6650}.slot-time{display:grid;gap:2px;color:#66786b;font-weight:800}.slot-time small{color:#98a49b;font-size:.78rem;font-weight:600;white-space:nowrap}.slot-client{display:grid;gap:2px;font-weight:800}.slot-client small,.slot-free{color:#7d8a80;font-size:.9rem;font-weight:500}.empty-state{display:grid;place-items:center;gap:14px;min-height:180px;border:1px dashed #c9bdae;border-radius:8px;background:#ffffff73}.empty-state p{margin:0;color:#66786b;font-weight:800}.empty-state button,.save-button{min-height:54px;border:0;border-radius:8px;color:#fff;background:#2f6650;cursor:pointer}.empty-state button{padding:0 18px}.sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10;display:grid;align-items:end;background:#25342d52}.sheet{display:grid;gap:14px;width:min(100%,760px);max-height:min(92vh,820px);margin:0 auto;padding:18px 16px max(18px,env(safe-area-inset-bottom));overflow:auto;border-radius:18px 18px 0 0;background:#fffaf3;box-shadow:0 -24px 60px #25342d3d}.sheet-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.sheet-head p,.sheet-head strong{margin:0}.sheet-head p{color:#66786b;font-size:.9rem;font-weight:800}.sheet label{display:grid;gap:7px;color:#66786b;font-size:.9rem;font-weight:800}.sheet input,.sheet textarea,.sheet select{width:100%;min-height:54px;padding:12px 13px;border:1px solid #ded2c4;border-radius:8px;color:#25342d;background:#fff;outline:none}.sheet textarea{resize:vertical}.sheet input:focus,.sheet textarea:focus,.sheet select:focus{border-color:#2f6650;box-shadow:0 0 0 3px #2f665024}.duration-field{display:grid;gap:7px;color:#66786b;font-size:.9rem;font-weight:800}.duration-strip{display:flex;gap:8px;margin:0 -16px;padding:2px 16px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}.duration-strip::-webkit-scrollbar{display:none}.duration-strip button{flex:0 0 auto;min-height:46px;padding:0 16px;border:1px solid #ded2c4;border-radius:999px;color:#36453c;font-weight:700;background:#fff;cursor:pointer}.duration-strip button.active{color:#fff;border-color:#2f6650;background:#2f6650}.suggestions{display:grid;gap:7px}.suggestions button{display:grid;grid-template-columns:18px 1fr;align-items:center;gap:8px;min-height:48px;padding:8px 10px;border:1px solid #d6e5dc;border-radius:8px;color:#25342d;text-align:left;background:#f1f8f4;cursor:pointer}.suggestions small{grid-column:2;color:#66786b}.form-grid,.status-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.client-card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px;border:1px solid #d6e5dc;border-radius:8px;background:#f1f8f4}.client-card div{display:grid;gap:3px}.client-card span,.client-card p{margin:0;color:#66786b}.client-card a{color:#2f6650;font-weight:700;text-decoration:none}.status-row{grid-template-columns:1fr 1fr 54px}.status-row.pending-row{grid-template-columns:1fr 54px}.status-row button,.save-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;border:0;border-radius:8px;color:#2f6650;background:#e4f2ea;cursor:pointer}.status-row .danger{color:#9a2f2f;background:#f8e7e4}.save-button{width:100%;color:#fff;background:#2f6650}.save-button:disabled{cursor:not-allowed;opacity:.52}@media (min-width: 720px){.app-shell{padding-top:34px}.sheet{margin-bottom:24px;border-radius:18px}}@media (max-width: 420px){.date-strip{grid-template-columns:1fr 1fr}.date-picker{grid-column:span 2}}.top-actions{display:flex;align-items:center;gap:10px}.mini-icon{display:inline-grid;place-items:center;width:46px;height:46px;border:1px solid #d6e5dc;border-radius:999px;color:#2f6650;background:#eef8f2;cursor:pointer}.spin{animation:spin .85s linear infinite}.auth-strip{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:42px;margin:-4px 0 12px;color:#66786b;font-size:.92rem;font-weight:800}.auth-strip button,.auth-mode button{min-height:38px;border:1px solid #d6e5dc;border-radius:8px;color:#2f6650;background:#eef8f2;cursor:pointer}.auth-strip button{display:inline-flex;align-items:center;justify-content:center;padding:0 12px}.auth-sheet{max-width:520px}.auth-mode{display:grid;grid-template-columns:1fr 1fr;gap:8px}.auth-mode button.active{color:#fff;border-color:#2f6650;background:#2f6650}.form-error{margin:0;padding:10px 12px;border-radius:8px;color:#9a2f2f;background:#f8e7e4}.form-warning{margin:0;padding:10px 12px;border-radius:8px;color:#8a4c19;background:#fff1d8}@keyframes spin{to{transform:rotate(360deg)}}.auth-actions{display:flex;align-items:center;gap:8px}.language-field{display:grid;gap:7px;color:#66786b;font-size:.9rem;font-weight:800}.language-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.language-options button{display:grid;gap:3px;min-height:58px;padding:8px;border:1px solid #ded2c4;border-radius:8px;color:#36453c;text-align:center;background:#fff;cursor:pointer}.language-options button.active{color:#fff;border-color:#2f6650;background:#2f6650}.language-options strong,.language-options span{min-width:0;overflow-wrap:anywhere}.language-options span{font-size:.78rem;font-weight:700}.slug-hint{margin:0;padding:10px 12px;border-radius:8px;color:#66786b;background:#f0e6db}.slug-hint.free{color:#2f6650;background:#e4f2ea}.copy-button{flex:0 0 auto;min-height:42px;padding:0 14px;border:1px solid #d6e5dc;border-radius:8px;color:#2f6650;font-weight:700;background:#eef8f2;cursor:pointer}.client-card span{word-break:break-all}.public-subtitle{margin:6px 0 10px;color:#66786b;font-size:.95rem;font-weight:800}.public-note{margin:0 0 6px;color:#7d8a80;font-size:.92rem}.time-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:16px}.time-grid button{min-height:46px;border:1px solid #ded2c4;border-radius:8px;color:#36453c;font-weight:700;background:#ffffffb8;cursor:pointer}.time-grid button.active{color:#fff;border-color:#2f6650;background:#2f6650}.public-card{border-radius:18px;box-shadow:0 10px 28px #25342d14}.sent-screen{display:grid;place-items:center;gap:12px;min-height:60vh;text-align:center}.sent-screen h1{font-size:2rem}.sent-screen p{margin:0;color:#66786b}.sent-icon{display:grid;place-items:center;width:72px;height:72px;border-radius:999px;color:#fff;background:#2f6650}.sent-screen button{min-height:48px;padding:0 18px;border:1px solid #d6e5dc;border-radius:8px;color:#2f6650;font-weight:700;background:#eef8f2;cursor:pointer}.workdays-field{display:grid;gap:8px;color:#66786b;font-size:.9rem;font-weight:800}.workday-list{display:grid;gap:8px}.workday-row{display:grid;grid-template-columns:78px 1fr auto;align-items:center;gap:10px;min-height:58px;padding:8px 10px;border:1px solid #d6e5dc;border-radius:8px;background:#f1f8f4}.workday-row.disabled{border-color:#e4d9ce;background:#f6f0e8}.workday-toggle{display:inline-flex!important;grid-template-columns:none!important;align-items:center;gap:8px!important;color:#25342d!important;font-size:.9rem!important;text-transform:capitalize}.workday-toggle input{width:18px;min-height:18px;accent-color:#2f6650}.workday-times{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:6px}.workday-times input{min-height:40px;padding:7px 8px}.workday-row small{color:#66786b;font-size:.78rem;font-weight:800;white-space:nowrap}@media (max-width: 520px){.workday-row{grid-template-columns:1fr auto}.workday-times{grid-column:1 / -1}}
