:root{--platform-blue:#608db0;--platform-sidebar:#222d32;--platform-bg:#ecf0f5;--platform-border:#d2d6de;--platform-text:#333}
html{min-height:100%}body{min-height:100vh}.text-center{text-align:center}a{text-decoration:none}label{margin-bottom:0}fieldset{min-width:0}button::-moz-focus-inner{border:0;padding:0}p{margin:0 0 10px}h1,h2,h3,h4,h5{line-height:1.2}.btn-link:hover,.task-name:hover{text-decoration:underline}
*{box-sizing:border-box}body{margin:0;font:14px/1.42857143 "Helvetica Neue",Helvetica,Arial,sans-serif;color:var(--platform-text);background:var(--platform-bg)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}a{color:#3c8dbc}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #e7a638;outline-offset:2px}.initial-loading{padding:60px 24px;text-align:center}.app-wrapper{min-height:100vh}.app-header{height:50px;position:fixed;inset:0 0 auto;z-index:1000;background:var(--platform-blue);color:#fff;display:flex;align-items:center}.brand{width:230px;flex:none;color:#fff;text-align:center;font-weight:600;font-size:18px;background:rgba(0,0,0,.08);height:50px;display:flex;align-items:center;justify-content:center}.brand:hover{color:white;text-decoration:none}.header-actions{display:flex;align-items:center;gap:4px;flex:1;min-width:0;padding:0 10px}.header-button{border:0;background:transparent;color:#fff;min-width:40px;min-height:44px;padding:10px}.header-button:hover{background:rgba(0,0,0,.12)}.header-company{flex:1;text-align:center;font-size:13px}.header-account{font-size:13px}.app-sidebar{position:fixed;top:50px;bottom:0;left:0;width:230px;background:var(--platform-sidebar);color:#b8c7ce;overflow:auto;z-index:900;transition:transform .15s}.sidebar-caption{padding:13px 15px 10px;background:#1a2226;color:#8fa0a9;font-size:11px;text-transform:uppercase}.app-sidebar nav a{display:flex;align-items:center;gap:10px;padding:12px 15px;color:#b8c7ce;border-left:3px solid transparent;min-height:43px}.app-sidebar nav a:hover{background:#1e282c;color:white;text-decoration:none}.app-sidebar nav a.active{background:#1e282c;border-left-color:#3c8dbc;color:white}.nav-symbol{width:18px;text-align:center;font-size:17px;line-height:1}.app-main{margin-left:230px;padding:65px 15px 24px;min-height:100vh;min-width:0}.sidebar-hidden .app-sidebar{transform:translateX(-230px)}.sidebar-hidden .app-main{margin-left:0}.page-heading{font-size:24px;font-weight:400;margin:0 0 18px;line-height:1.2}.page-heading small{font-size:14px;color:#777}.box{position:relative;border-radius:3px;background:#fff;border-top:3px solid #d2d6de;margin-bottom:20px;box-shadow:0 1px 1px #0000001a}.box-title{font-size:18px;font-weight:400;margin:0}.box-header{padding:10px;border-bottom:1px solid #f4f4f4}.box-body{padding:10px}.section-tabs{display:flex;flex-wrap:wrap;gap:0;border-bottom:1px solid #ddd;margin:0;padding:0;list-style:none;background:white}.section-tabs button{border:0;border-top:3px solid transparent;border-right:1px solid transparent;border-left:1px solid transparent;background:white;padding:10px 15px;color:#555;min-height:42px}.section-tabs button[aria-selected=true]{border-top-color:var(--platform-blue);border-left-color:#ddd;border-right-color:#ddd;font-weight:600;background:#fff}.section-tabs button:hover{background:#f4f4f4}.toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 0 15px}.toolbar form{display:flex;flex:1;min-width:180px;max-width:450px;margin-left:auto}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background:#fff;border:1px solid #d2d6de;border-radius:0;box-shadow:none}.form-control:focus{border-color:#3c8dbc;outline:0;box-shadow:0 0 0 2px #3c8dbc30}textarea.form-control{height:auto;min-height:90px;resize:vertical}select[multiple].form-control{height:auto;min-height:100px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid transparent;border-radius:3px;padding:6px 12px;min-height:34px;line-height:1.42857143;text-align:center;white-space:nowrap;font-weight:400;box-shadow:none}.btn-default{background:#f4f4f4;color:#444;border-color:#ddd}.btn-default:hover{background:#e7e7e7}.btn-primary{background:var(--platform-blue);border-color:#527d9f;color:white}.btn-primary:hover{background:#527d9f}.btn-success{background:#00a65a;border-color:#008d4c;color:white}.btn-danger{background:#dd4b39;border-color:#d73925;color:white}.btn-sm{padding:4px 8px;min-height:28px;font-size:12px}.btn-link{background:transparent;color:#3c8dbc;padding:0;min-height:28px;white-space:normal;text-align:left}.filter-bar{padding:10px;background:#f5f5f5;display:flex;gap:10px;flex-wrap:wrap;margin-bottom:10px}.filter-field{display:flex;flex-direction:column;gap:4px;font-size:12px;min-width:150px}.filter-field .form-control{max-width:230px}.table-wrap{overflow:auto;max-width:100%}.platform-table{border-collapse:collapse;width:100%;background:#fff}.platform-table th,.platform-table td{padding:10px 8px;text-align:left;vertical-align:middle;border-bottom:1px solid #f4f4f4}.platform-table th{font-weight:600;white-space:nowrap;text-transform:lowercase;background:#fff}.platform-table th button{background:none;border:0;font-weight:600;padding:0;color:inherit;text-align:left}.platform-table tbody tr:hover{background:#f9f9f9}.record-actions{white-space:nowrap;display:flex;gap:6px}.table-count{padding:10px 0;color:#777}.pagination-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:15px}.pagination-actions{display:flex;align-items:center;gap:8px}.pagination-actions select{width:75px}.empty-state{text-align:center;color:#777;padding:35px 10px}.error-state{padding:15px;background:#fcece9;color:#a32818;border:1px solid #f4c0b7;margin-bottom:15px}.notice{padding:12px 15px;margin:0 0 15px;border-left:4px solid #3c8dbc;background:#eaf3f8;color:#315167}.muted{color:#777}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.field{display:flex;flex-direction:column;gap:5px;min-width:0}.field-wide{grid-column:1/-1}.field label{font-weight:600}.field small{color:#777}.field-check{display:flex;align-items:center;gap:8px;min-height:34px}.field-check input{margin:0;width:16px;height:16px}.field-check label{margin:0}.form-footer{display:flex;justify-content:flex-end;gap:8px;margin-top:20px;padding-top:15px;border-top:1px solid #eee}.required-mark{color:#b52a1b}.modal-backdrop-local{position:fixed;inset:0;z-index:1100;background:#0006;display:flex;justify-content:flex-end}.record-dialog{background:white;width:min(760px,100%);height:100%;overflow:auto;box-shadow:-3px 0 15px #0003;display:flex;flex-direction:column}.dialog-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ddd;padding:15px 20px;position:sticky;top:0;background:white;z-index:2}.dialog-header h2{font-weight:400;font-size:21px;margin:0}.dialog-close{border:0;background:none;font-size:28px;color:#666;line-height:1;padding:4px 8px}.dialog-body{padding:20px;flex:1}.dialog-open{overflow:hidden}#notifications{position:fixed;right:20px;bottom:20px;z-index:1500;max-width:min(400px,calc(100vw - 40px))}.toast{background:#008d4c;color:white;padding:12px 18px;margin-top:8px;box-shadow:0 2px 8px #0003;border-radius:3px}.toast-error{background:#c93625}.login-page-local{min-height:100vh;display:flex;align-items:flex-start;justify-content:center;background:#d2d6de;padding:12vh 20px 40px}.login-box-local{width:360px;max-width:100%}.login-brand{font-size:28px;font-weight:300;text-align:center;margin-bottom:25px;color:#444}.login-panel{padding:20px;background:white}.login-panel .field{margin-bottom:15px}.login-panel .btn{width:100%}.login-note{font-size:12px;color:#666;margin-top:14px}.calendar-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:20px}.calendar-notes{padding:10px}.note-colors{display:flex;flex-wrap:wrap;gap:5px;padding:12px 0}.note-color{width:25px;height:25px;border:2px solid transparent;border-radius:3px}.note-color[aria-pressed=true]{outline:2px solid #333;outline-offset:1px}.note-item{display:flex;justify-content:space-between;align-items:flex-start;gap:5px;padding:8px 10px;margin-bottom:8px;border-left:5px solid #3c8dbc;background:#f9f9f9;word-break:break-word}.note-item button{background:none;border:0;color:#777}.inline-input{display:flex}.inline-input input{min-width:0}.calendar-tools{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:12px}.calendar-tools .button-group{display:flex;gap:0}.button-group .btn{border-radius:0}.button-group .btn:first-child{border-radius:3px 0 0 3px}.button-group .btn:last-child{border-radius:0 3px 3px 0}.button-group .btn[aria-pressed=true]{background:#d2d6de}.calendar-title{text-align:center;font-size:24px;font-weight:400;margin:0 0 15px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-left:1px solid #ddd;border-top:1px solid #ddd}.calendar-day-name{padding:6px;text-align:center;font-weight:600;border-right:1px solid #ddd;border-bottom:1px solid #ddd}.calendar-day{min-height:112px;padding:5px;border-right:1px solid #ddd;border-bottom:1px solid #ddd;position:relative;cursor:pointer}.calendar-day:hover{background:#f7fafd}.calendar-day.is-today{background:#fcf8e3}.calendar-day.outside-month{background:#f8f8f8;color:#aaa}.calendar-date{display:block;text-align:right;margin-bottom:5px}.calendar-event{display:block;width:100%;border:0;border-left:4px solid #367fa9;border-radius:3px;background:#e6eff6;color:#24445b;text-align:left;font-size:12px;padding:3px 5px;margin:3px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calendar-event.completed{text-decoration:line-through;opacity:.65}.calendar-grid.week-view .calendar-day{min-height:400px}.day-view{border:1px solid #ddd}.hour-row{display:grid;grid-template-columns:60px 1fr;min-height:45px;border-bottom:1px solid #eee}.hour-label{padding:8px;font-size:12px;color:#777;border-right:1px solid #ddd}.hour-events{padding:3px 8px}.task-list{max-height:300px;overflow:auto}.task-row{display:flex;align-items:center;gap:8px;padding:10px;border-bottom:1px solid #f4f4f4}.task-row .task-name{flex:1;min-width:0;text-align:left;background:none;border:0;color:#3c8dbc;word-break:break-word}.task-row small{color:#777}.task-view-buttons{display:flex;gap:4px;flex-wrap:wrap;margin:10px 0}.settings-form{max-width:950px}.integrations-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:15px}.integration-card{border:1px solid #ddd;padding:15px}.integration-card h3{margin:0 0 10px;font-size:18px}.status-badge{display:inline-block;padding:3px 7px;border-radius:3px;background:#e9ecef;color:#555;font-size:12px}.record-attachment{display:flex;align-items:center;gap:10px;margin-top:6px}.icon-only{font-size:18px;padding:4px 10px}.screen-reader{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.richtext-tools{display:flex;gap:5px;margin-bottom:5px}.richtext-tools button{padding:3px 8px;border:1px solid #ddd;background:#fafafa}.support-details{max-width:540px;line-height:1.6}.checkbox-status{display:flex;align-items:center;gap:5px}.compact-value{max-width:350px;white-space:pre-wrap;overflow-wrap:anywhere}.app-footer{color:#777;font-size:12px;padding:12px 0 0}.mobile-shade{display:none}
@media(min-width:769px){.header-company{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-menu-title{display:none}}
@media(max-width:768px){.desktop-brand{display:none}}
@media(max-width:1000px){.header-company .header-extra{display:none}.calendar-layout{grid-template-columns:220px minmax(0,1fr)}}
@media(max-width:768px){.app-header{height:auto;min-height:100px;display:block}.brand{width:100%;height:40px;font-size:16px}.header-actions{min-height:60px;flex-wrap:wrap;padding:0 6px}.header-company{font-size:11px;line-height:1.3;text-align:left;max-width:calc(100% - 170px)}.header-account span{display:none}.support-label{display:none}.app-sidebar{top:100px;transform:translateX(-230px)}.app-main{margin-left:0;padding:115px 10px 20px}.sidebar-visible .app-sidebar{transform:translateX(0)}.sidebar-visible .mobile-shade{display:block;position:fixed;inset:100px 0 0;background:#0004;z-index:850}.sidebar-hidden .app-main{margin-left:0}.page-heading{font-size:22px}.calendar-layout{grid-template-columns:1fr}.calendar-side{order:0}.calendar-main{order:1}.calendar-day{min-height:78px;padding:3px}.calendar-event{font-size:10px;padding:2px}.calendar-title{font-size:20px}.calendar-day-name{font-size:11px;padding:5px 1px}.calendar-tools .btn{padding:5px 8px}.form-grid{grid-template-columns:1fr}.field-wide{grid-column:auto}.toolbar form{max-width:none;margin-left:0;flex-basis:100%}.section-tabs button{padding:8px 10px;font-size:13px}.dialog-header{padding:12px}.dialog-body{padding:15px}.platform-table th,.platform-table td{padding:8px 6px}.calendar-grid.week-view .calendar-day{min-height:230px}.task-row{flex-wrap:wrap}.task-row small{width:100%;padding-left:24px}.pagination-bar{font-size:12px}.box-body{padding:10px}.record-actions .btn{font-size:11px;padding:3px 6px}}
.field-error{color:#a32818!important}.repeatable-row{border:1px solid #d2d6de;margin:8px 0;padding:12px;min-width:0}.repeatable-row legend{font-size:13px;font-weight:600;padding:0 5px;width:auto;margin:0 0 10px;border:0}.repeatable-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.richtext-control{border:1px solid #d2d6de;background:#fff;min-width:0}.richtext-tools{flex-wrap:wrap;padding:6px;border-bottom:1px solid #ddd;margin:0;background:#f7f7f7}.richtext-tools .btn{min-height:30px}.richtext-editor{min-height:140px;padding:10px;white-space:pre-wrap;overflow-wrap:anywhere;overflow:auto}.richtext-editor[contenteditable=false]{background:#fafafa}.richtext-editor:focus-visible{outline:3px solid #e7a638;outline-offset:1px}.richtext-editor table{border-collapse:collapse}.richtext-editor td,.richtext-editor th{border:1px solid #d2d6de;padding:5px}.richtext-editor ul,.richtext-editor ol{padding-left:25px}.calendar-main{min-width:0}.calendar-side-hidden{grid-template-columns:minmax(0,1fr)!important}.calendar-side-hidden .calendar-side{display:none}.calendar-tools .button-group{flex-wrap:wrap}.calendar-date-button{display:block;margin-left:auto;border:0;background:transparent;padding:1px 4px;line-height:1.4;color:inherit;min-width:24px}.hour-label{border:0;background:#fafafa;text-align:center;overflow-wrap:anywhere}.hour-label:hover{background:#eaf3f8}.week-scroll{overflow:auto;max-width:100%;max-height:950px;border:1px solid #ddd}.week-time-grid{display:grid;grid-template-columns:60px repeat(7,minmax(85px,1fr));min-width:680px}.week-corner,.week-day-heading,.week-hour-label,.week-slot{border-right:1px solid #ddd;border-bottom:1px solid #e7e7e7;padding:5px;min-width:0}.week-day-heading,.week-corner{background:#f7f7f7;font-weight:600;text-align:center;position:sticky;top:0;z-index:1}.week-hour-label{font-size:12px;color:#666;background:#fafafa;text-align:center}.week-slot{min-height:46px;position:relative;padding-right:17px}.week-slot.is-today{background:#fcf8e3}.week-all-day{min-height:45px;background:#f9fbfd}.week-slot:hover{background:#edf5fa}.slot-create{position:absolute;inset:0 0 auto auto;width:18px;height:22px;line-height:18px;padding:0;border:0;background:transparent;color:#356582;opacity:.2}.week-slot:hover .slot-create,.slot-create:focus-visible{opacity:1}.calendar-event{white-space:normal;overflow-wrap:anywhere}.record-attachment{flex-wrap:wrap}.field small{overflow-wrap:anywhere}
.subsection-tabs{background:#f5f7fa;border-top:1px solid #ddd}.subsection-tabs button{background:#f5f7fa;font-size:13px}.form-control:disabled{background:#f4f4f4;color:#555;cursor:default}.help-link-group{margin:0 0 25px}.help-link-group h2{font-size:19px;font-weight:400;margin:10px 0}.help-link-group ul{padding-left:22px}.help-link-group li{margin:8px 0}.schedule-toolbar{padding-top:0}.schedule-toolbar strong{font-size:16px}.schedule-scroll{max-width:100%;overflow:auto;max-height:850px;border:1px solid #d2d6de;margin-bottom:15px}.schedule-grid{display:grid;grid-template-columns:repeat(6,minmax(150px,1fr));min-width:900px}.schedule-day-heading{position:sticky;top:0;z-index:1;text-align:center;background:#608db0;color:#fff;padding:10px 5px;border-right:1px solid #91afc8;font-weight:600}.schedule-day{min-height:180px;padding:8px;border-right:1px solid #ddd;border-bottom:1px solid #ddd;background:white}.schedule-day.is-today{background:#fcf8e3}.schedule-day.outside-range{background:#f5f5f5;color:#999}.schedule-date{display:block;width:100%;border:0;border-bottom:1px solid #eee;background:transparent;text-align:right;padding:2px 5px 7px;font-weight:600;color:inherit}.schedule-empty{padding:30px 0;text-align:center;font-size:12px;color:#777}.schedule-event{width:100%;display:block;text-align:left;background:#edf4f9;border:1px solid #d7e3ed;border-left:5px solid #608db0;padding:8px;margin-top:8px;border-radius:3px;white-space:normal;overflow-wrap:anywhere}.schedule-event span,.schedule-event small,.schedule-event strong{display:block}.schedule-event small{font-size:11px;color:#555;margin-top:4px}.schedule-event:hover{background:#dcebf6}.schedule-explanation{font-size:12px}.schedule-range-form{display:grid;gap:8px}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.schedule-board .schedule-scroll{border:0;max-height:none}.schedule-board .schedule-grid{gap:14px;padding:10px 0;min-width:900px}.schedule-board .schedule-day{border:0;border-radius:16px;min-height:500px;padding:12px;background:#fbe4ee;color:#183650}.schedule-board .schedule-day:nth-child(6n+2){background:#e8f5eb}.schedule-board .schedule-day:nth-child(6n+3){background:#e2f1ff}.schedule-board .schedule-day:nth-child(6n+4){background:#f2e6f7}.schedule-board .schedule-day:nth-child(6n+5){background:#fff4df}.schedule-board .schedule-day:nth-child(6n){background:#dff7fb}.schedule-board .schedule-day.outside-range{opacity:.5}.schedule-day-header{display:flex;align-items:center;justify-content:space-between;gap:5px;border-bottom:2px solid #c9ddeb;padding:4px 0 10px}.schedule-day-header strong{font-size:14px}.schedule-board .schedule-date{display:inline-block;width:auto;background:#d3e6fa;border:0;border-radius:12px;padding:3px 8px;font-size:10px;font-weight:400;color:#39678e;white-space:nowrap}.schedule-board .schedule-empty{color:#8ca3b8;font-style:italic;padding:35px 0;min-height:90px}.schedule-add{margin-top:15px;width:100%;border:2px dashed #b9d4eb;border-radius:8px;padding:12px 5px;background:transparent;color:#608db0;font-size:12px}.schedule-add:hover{background:#ffffff80}.schedule-board .btn-primary{background:#00a65a;border-color:#008d4c}.schedule-board .schedule-event{background:#fffffff0}.schedule-board .schedule-day.is-today .schedule-day-header{border-bottom-color:#608db0}
.legacy-template-list .platform-table{min-width:1280px;table-layout:auto}.legacy-template-list .platform-table th{white-space:nowrap}.legacy-template-list .platform-table td{word-break:normal;overflow-wrap:normal}.legacy-template-list .compact-value{max-width:none;word-break:normal;overflow-wrap:normal}.legacy-template-list .platform-table td:nth-child(1){min-width:80px}.legacy-template-list .platform-table td:nth-child(2){min-width:130px}.legacy-template-list .platform-table td:nth-child(3){min-width:230px}.legacy-template-list .platform-table td:nth-child(4){min-width:160px}.legacy-template-list .platform-table td:nth-child(5),.legacy-template-list .platform-table td:nth-child(6){min-width:170px}.legacy-template-list .platform-table td:last-child{min-width:240px}
.notification-link{display:inline-flex;align-items:center;gap:7px;text-decoration:none}.notification-count:not(:empty){display:inline-block;min-width:20px;padding:1px 5px;background:#d5eaf6;color:#194b6c;border-radius:10px;text-align:center;font-size:12px}.app-header a.notification-link{color:white}.notification-link:focus-visible{outline:2px solid currentColor;outline-offset:3px}
