/* JABLO desktop workspace. Screen-only: mobile layout and printed reports keep their styles. */
@media screen and (min-width:761px){
 .task-panel .task-row h3>a.mobile-only{display:none}
 :root{--ink:#203c32;--muted:#62736b;--line:#dee6df;--bg:#f5f7f4}
 body{font-size:15px;line-height:1.55}
 .sidebar{width:232px;padding:30px 18px 22px;background:#fff;border-right:1px solid var(--line)}
 .sidebar .brand{gap:12px;font-size:23px;letter-spacing:1.4px;padding:0 8px}
 .sidebar .brand-mark{height:44px;width:44px;border-radius:12px;font-size:33px}
 .sidebar .brand small{font-size:10px;letter-spacing:2px;margin-top:6px}
 .nav-label{margin:34px 14px 12px;font-size:10px;letter-spacing:1.4px;color:#738279}
 .sidebar nav:not(.service-shortcuts){gap:5px}.sidebar nav:not(.service-shortcuts) a{padding:11px 12px;min-height:44px;border-radius:9px;font-size:14px;font-weight:550;color:#5b6d63}
 .sidebar nav:not(.service-shortcuts) a span{font-size:20px;color:#7a8e80}.sidebar nav:not(.service-shortcuts) a.selected{background:#eaf2eb;color:#174c3c;box-shadow:inset 3px 0 #276348}
 .sidebar nav:not(.service-shortcuts) a.selected span{color:#174c3c}.sidebar nav:not(.service-shortcuts) a:hover{background:#f0f5ef}
 .sidebar.has-quick-links>nav.service-shortcuts{display:flex;gap:7px;margin:22px 0 0;padding:0 6px}
 .sidebar .service-shortcut{flex:1;min-width:0;justify-content:center;min-height:40px;padding:8px 6px;font-size:12px;border-radius:9px;gap:6px}
 .sidebar .service-shortcut svg,.sidebar .service-shortcut img{width:21px;height:23px}
 .sidebar-bottom{padding:28px 8px 0}.profile{font-size:14px;gap:10px}.profile small{font-size:12px;margin-top:3px}.avatar{width:36px;height:36px;font-size:14px}
 .team-note{font-size:12px;padding:12px;margin-bottom:20px;background:#f8faf6}.team-note small{font-size:11px}.logout{font-size:12px;margin-top:12px;min-height:36px}
 .main{margin-left:232px;width:calc(100% - 232px);max-width:1576px;padding:36px clamp(24px,3.2vw,48px) 44px}
 h1,.page-header h1{font-size:30px;line-height:1.22;letter-spacing:-.8px;font-weight:700;margin-bottom:0}
 h2{font-size:20px;line-height:1.35;letter-spacing:-.3px}h3{font-size:17px}
 .page-header{align-items:center;gap:20px;margin-bottom:28px}.page-header>div{min-width:0}.page-header .eyebrow{font-size:10px;letter-spacing:1.5px;margin-bottom:8px;color:#748279}
 .page-header p{font-size:14px;line-height:1.5;margin-top:10px;max-width:720px}.page-header>.button{width:auto;flex-shrink:0}
 .button{font-size:14px;min-height:42px;padding:10px 15px;border-radius:9px;line-height:1.4}
 .button.primary{background:#1e5741;border-color:#1e5741;box-shadow:0 2px 3px #1e57410d}.button.primary:hover{background:#174532}
 .button.secondary{background:#fff;border-color:#d5dfd7;color:#315342}.button.secondary:hover{background:#f1f6f0;border-color:#b8cbbd}
 .button:disabled{opacity:.55;box-shadow:none}.notice{border-radius:10px;font-size:14px;line-height:1.55;padding:13px 17px;margin-bottom:22px}
 .panel{padding:24px;border:1px solid var(--line);border-radius:14px;background:#fff;margin-bottom:24px;box-shadow:0 2px 6px #173b2c03}
 .app-news{background:#f0f5ee;border:1px solid #dce6d9;border-left:3px solid #739a7d;border-radius:12px;padding:16px 20px;margin-bottom:22px}
 .app-news .app-news-heading{margin-bottom:4px}.app-news h2{font-size:16px;letter-spacing:0}.app-news p{font-size:14px;line-height:1.5;margin-bottom:5px;max-width:1120px}
 .app-news .news-help{font-size:13px;min-height:24px;padding:2px 0}.app-news .news-edit{width:36px;height:36px;border-radius:8px}.news-edit svg{width:18px;height:18px}
 .stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}
 .stat{padding:18px 20px;border:1px solid var(--line);border-radius:12px;min-height:128px;gap:0;background:#fff}
 .stat>span{font-size:13px;font-weight:550;line-height:1.35;color:#63766a}.stat strong{font-size:32px;line-height:1.2;font-weight:650;letter-spacing:-1px;margin:9px 0 4px}.stat small{font-size:11px;color:#77857c;line-height:1.4}
 .stat.attention{background:#fff7f0;border-color:#efdacc}.stat.attention strong{color:#9b4d30}
 .section-heading{margin-bottom:17px;align-items:center}.section-heading h2{font-size:19px}.count{font-size:12px;vertical-align:middle;background:#edf3eb;border-radius:6px;padding:3px 7px;margin-left:7px;font-weight:600;letter-spacing:0}
 .filters{gap:10px;align-items:center;padding-bottom:20px;margin-bottom:18px;border-bottom:1px solid #e8ede7}
 .filters label{min-width:145px}.filters .search-label{flex:1.25;min-width:180px;flex-basis:auto}.filters .person-filter{flex:1}.filters .property-filter{flex:1}
 .filters input,.filters select{font-size:14px;min-height:44px;padding:10px 12px;border-radius:9px;background:#fafcf9;border-color:#dce4db;color:#365242}
 .filters .button{font-size:13px;min-height:44px}.filters .clear{font-size:13px;padding:8px;text-decoration:underline;color:#5c7362}.filters.auto-filter-ready>button[type="submit"]{display:none}
 .task-panel>.task-list{display:grid;gap:12px}.task-panel .task-row,.task-panel .task-row:last-child{display:grid;grid-template-columns:minmax(0,1fr) 140px;gap:22px;align-items:center;padding:18px 20px;margin:0;border:1px solid #e0e7df;border-left:4px solid #d3dfd2;border-radius:11px;background:#fff}
 .task-panel .task-row:hover{border-color:#c0d0c1;box-shadow:0 2px 8px #234b3410}.task-panel .task-row.task-overdue{background:#fff6f3;border-color:#efd8d1;border-left-color:#c75a4b}
 .task-panel .task-row.task-today{background:#fffae9;border-color:#ecdfb4;border-left-color:#c49a29}.task-panel .task-row.task-unassigned{background:#f1f4f3;border-color:#d6dfda;border-left-color:#8d9e97}
 .task-panel .task-main{display:flex;flex-direction:column;gap:0;min-width:0}.task-panel .task-title-line{min-height:0;margin-bottom:6px}.task-panel .task-title-line:empty{display:none}
 .task-panel .property-tag{font-size:13px;font-weight:550;color:#687d6d;line-height:1.4}
 .task-panel .task-row h3{font-size:18px;line-height:1.4;letter-spacing:-.2px;margin:0 0 6px;font-weight:650;overflow-wrap:anywhere}
 .task-panel .task-row h3 a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;padding:1px 0}.task-panel .task-row h3 a:hover{color:#1b6040;text-decoration:underline}
 .task-panel .task-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.45;color:#6c7d70;margin:0 0 10px;max-width:840px;white-space:pre-line}
 .task-panel .task-meta{display:flex;flex-wrap:wrap;gap:8px 20px;align-items:center;font-size:13px;line-height:1.45;color:#627666}
 .task-panel .person-chip{font-size:13px;gap:7px;min-width:0;color:#506b56}.task-panel .small-avatar{display:inline-flex;width:23px;height:23px;font-size:10px;background:#e7eee4;color:#54724e}
 .task-panel .due{font-size:13px;line-height:1.4;white-space:normal;color:#5e7766}.task-panel .due-countdown{display:inline;font-weight:650;margin:0 0 0 9px}.task-panel .due.late{color:#a54537}.task-panel .task-today .due{color:#896719}
 .task-panel .task-actions{align-items:stretch;justify-content:center;gap:8px;min-width:0}.task-panel .task-actions form{margin:0;width:100%}.task-panel .task-actions .button{width:100%;font-size:13px;min-height:38px;padding:8px 11px}
 .task-panel .complete{background:#fff;border-color:#cddbd0;color:#315a40}.task-panel .complete:hover{background:#e9f3e8}.task-panel .edit-link{font-size:12px;text-align:center;padding:4px 8px;min-height:28px;color:#607666}
 .task-panel .last-unassigned{margin-bottom:12px}.task-panel .archived-description{font-size:14px;margin-top:3px;margin-bottom:9px}
 .pagination{font-size:14px;margin-top:22px;gap:20px}.pagination a{padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:#fff}
 .empty{padding:35px 22px}.empty h2,.empty h3{font-size:19px}.empty p{font-size:14px}
 .form-panel{max-width:900px}.stack{gap:20px}.stack>label,.form-grid>label{font-size:14px;line-height:1.45;color:#365142;font-weight:550}
 input,select,textarea{font-size:15px;border-radius:9px;min-height:46px;border-color:#d6e1d6;background:#fff;padding:11px 13px;color:#2b4937}
 input:focus,select:focus,textarea:focus{outline:2px solid #5c9471;outline-offset:2px;border-color:#5c9471}.stack .checkbox{font-size:14px;gap:10px;padding-top:0;font-weight:500}.stack .checkbox input{accent-color:#245e44}
 .task-form .task-title-field{display:block}.task-title-field>input{display:block;margin-top:8px}.task-title-field>.required{display:inline}
 .form-grid{gap:20px}.form-footer{border-top:1px solid #e8ede6;padding-top:20px;margin-top:6px;align-items:center}.form-footer .small,.optional{font-size:12px}
 .task-deadline-field{border-color:#dce5da;border-radius:11px;padding:14px}.task-deadline-field legend{font-size:14px;padding:0 6px}.task-deadline-options button{font-size:13px;min-height:38px;border-radius:8px}
 .task-detail{max-width:1100px}.task-detail-meta{background:#f7faf5;border:1px solid #e6ede2;border-radius:10px;padding:18px;gap:20px}.task-detail-meta dt{font-size:12px;font-weight:500;color:#728271;margin-bottom:6px}.task-detail-meta dd{font-size:17px;font-weight:550;line-height:1.4}.task-detail-meta .deadline-remaining{font-size:13px;margin-top:4px}
 .task-detail-description{font-size:15px;line-height:1.65;margin-bottom:20px}.task-detail-description h2{font-size:16px}.task-detail-actions{gap:10px;border-top:1px solid #e7ede5;padding-top:20px}.task-progress{max-width:1100px;margin-top:22px}.task-progress h2{font-size:19px}.task-notes p{font-size:15px;line-height:1.6}.note-meta{font-size:13px}.note-composer summary{min-height:40px}
 [data-page="admin"] .main{display:flex;flex-direction:column;align-items:stretch}[data-page="admin"] .main>.page-header{order:-2}
 .admin-grid>.panel{margin-bottom:0}
 .admin-grid{gap:18px}.admin-sections{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.admin-section{padding:0;box-shadow:none}.admin-section>summary{padding:20px 22px;min-height:72px}.admin-section>summary h2{font-size:18px;line-height:1.4}.admin-section-content{padding:0 22px 22px;font-size:14px}.admin-section-content h3{margin-top:22px;font-size:16px}
 .main>details.admin-section{max-width:none;width:100%;margin-bottom:22px}.main>details.admin-section .stack{max-width:760px}.main>details.admin-section .stack .button{align-self:flex-start}
 .person-item{padding:13px 0;gap:12px}.person-item strong{font-size:14px}.person-item small{font-size:12px;line-height:1.5}.property-list{font-size:14px}.property-list li{padding:14px 0}.property-actions{gap:12px}.property-actions a{font-size:13px}
 .admin-preview-banner{padding:17px 20px;border-radius:12px;border-width:1px;margin-bottom:24px}.admin-preview-banner strong{font-size:17px}.admin-preview-banner span{font-size:13px;line-height:1.5}.admin-preview-banner .button{font-size:13px}
 .cleaning-tabs{gap:8px;margin-bottom:22px}.cleaning-tabs a{font-size:14px;font-weight:550;padding:9px 15px;border-radius:9px}
 .cleaning-period{font-size:14px;padding:14px 0 18px}.cleaning-period strong{font-size:17px}.cleaning-card{padding:20px}.cleaning-card h3{font-size:19px}.cleaning-card-meta{font-size:14px}.cleaning-worker{font-size:13px}.cleaning-note{font-size:14px;line-height:1.55;color:#617464}
 .cleaning-plan-list{gap:14px}.plan-group{font-size:18px;margin:9px 0 0}.cleaning-plan-card{padding:20px 22px;border-left-width:4px;margin:0;max-width:1100px}.cleaning-plan-card h3{font-size:21px}.cleaning-plan-card p{font-size:14px;line-height:1.5;margin-bottom:6px}.plan-actions{gap:8px;margin-top:16px}.plan-actions .button{font-size:13px;min-height:38px}.plan-editor>summary h2{font-size:18px}.planned-entry-heading h2{font-size:24px}.cleaning-date-row{font-size:16px;gap:14px}
 .report-table-wrap{border:1px solid #e0e7dd;border-radius:10px;overflow:auto;margin:16px 0 26px}.report-table{width:100%;font-size:14px;border-collapse:collapse}.report-table th{background:#f3f7f0;font-size:12px;font-weight:650;color:#58715b;text-align:left;padding:13px 15px;border-bottom:1px solid #dce5d8}.report-table td{padding:14px 15px;line-height:1.5;border-bottom:1px solid #e7ede3;vertical-align:top}.report-table tbody tr:last-child td{border-bottom:0}.report-table tbody tr:hover{background:#fafcf8}.report-table small{font-size:12px;color:#798875;margin-top:4px}.report-scope p{font-size:14px}.report-toolbar{gap:10px;margin-bottom:26px}.report-created{font-size:12px}
 .help-topics{max-width:1100px}.help-topic{border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:12px;background:#fff}.help-topic>summary{font-size:16px;font-weight:600;padding:19px 22px}.help-content{font-size:15px;line-height:1.7;padding:2px 22px 22px;color:#536d59}.help-content p:last-child{margin-bottom:0}
 [data-page="audit"] .panel{padding:24px}.audit-row{font-size:14px;padding:16px 0}.audit-row small{font-size:12px}.audit-row summary{font-size:13px}.audit-row pre{font-size:12px}
}
@media screen and (min-width:761px) and (max-width:1100px){
 .sidebar{width:208px;padding-left:13px;padding-right:13px}.sidebar .brand{padding-left:5px;font-size:21px}.sidebar nav:not(.service-shortcuts) a{font-size:13px;padding:10px}.sidebar .service-shortcut{font-size:11px;padding:8px 4px}.main{margin-left:208px;width:calc(100% - 208px);padding:28px 24px 36px}
 .stats{gap:10px}.stat{padding:16px 14px;min-height:122px}.stat>span{font-size:12px}.stat small{font-size:10px}.stat strong{font-size:30px}.admin-sections{grid-template-columns:1fr}.filters .search-label{flex-basis:100%}.task-panel .task-row,.task-panel .task-row:last-child{grid-template-columns:minmax(0,1fr) 112px;gap:16px;padding:16px}.task-panel .task-row h3{font-size:17px}.task-panel .task-meta{gap:7px 13px}.task-panel .due-countdown{display:block;margin:3px 0 0}.task-detail-meta{padding:16px;gap:15px}
}

/* Update17: one shared location for desktop navigation and creation. */
@media screen and (min-width:761px){
 .app-shell>aside.sidebar{display:none}
 .app-shell{display:block}
 .sidebar.desktop-topbar{position:sticky;inset:auto;top:0;z-index:30;display:flex;flex-direction:row;align-items:flex-start;gap:12px;width:100%;height:auto;min-height:72px;padding:14px clamp(20px,2vw,24px);border:0;border-bottom:1px solid var(--line);background:#fff;box-shadow:0 2px 8px #173b2c05}
 .sidebar.desktop-topbar>.brand{display:flex;flex:0 0 42px;width:42px;padding:0;margin:0;gap:0}
 .sidebar.desktop-topbar .brand-mark{height:42px;width:42px;min-width:42px;font-size:32px;border-radius:11px}
 .sidebar.desktop-topbar nav.desktop-topbar-links{display:flex;flex:1;flex-direction:row;flex-wrap:wrap;align-items:center;gap:4px;min-width:0;margin:0;padding:0}
 .sidebar.desktop-topbar nav.desktop-topbar-links>a{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:0 0 auto;min-height:42px;padding:10px 7px;border:1px solid transparent;border-radius:8px;font-size:13px;font-weight:600;line-height:20px;white-space:nowrap;color:#506759;text-decoration:none;box-shadow:none}
 .sidebar.desktop-topbar nav.desktop-topbar-links>a.selected{background:#eaf2eb;border-color:#d8e5d8;color:#174c3c;box-shadow:inset 0 -2px #276348}
 .sidebar.desktop-topbar nav.desktop-topbar-links>a:hover{background:#f0f5ef;color:#174c3c}
 .sidebar.desktop-topbar nav.desktop-topbar-links>a:focus-visible,.sidebar.desktop-topbar button:focus-visible{outline:2px solid #276348;outline-offset:2px}
 .sidebar.desktop-topbar .topbar-services{display:flex;flex:0 0 auto;align-items:center;gap:5px;margin:0 6px 0 0;padding:0 11px 0 0;border-right:1px solid #e0e8df}
 .sidebar.desktop-topbar .service-shortcuts .service-shortcut{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;width:auto;min-height:42px;padding:7px 10px;gap:6px;border-radius:8px;font-size:13px;line-height:20px;white-space:nowrap}
 .sidebar.desktop-topbar .service-shortcuts .service-shortcut span{color:inherit;font-size:inherit}
 .sidebar.desktop-topbar .service-shortcuts .service-symbol{width:22px!important;height:26px;flex-basis:22px}
 .sidebar.desktop-topbar .service-shortcuts .shortcut-logo{width:22px;height:25px}
 .sidebar.desktop-topbar .service-shortcuts .shortcut-letter{font-size:22px;font-weight:700}
 .sidebar.desktop-topbar nav.desktop-topbar-links>a.topbar-create{background:#1e5741;color:#fff;border-color:#1e5741;padding:10px 12px}
 .sidebar.desktop-topbar nav.desktop-topbar-links>a.topbar-create:hover{background:#174532}
 .sidebar.desktop-topbar nav.desktop-topbar-links>a.topbar-create>span{font-size:18px;color:inherit;line-height:18px}
 .sidebar.desktop-topbar nav.desktop-topbar-links>a.topbar-account{border-color:#dce5db;background:#fafcf9}
 .sidebar.desktop-topbar .topbar-logout{display:flex;flex:0 0 auto;margin:0;padding:0}
 .sidebar.desktop-topbar .topbar-logout button{min-height:42px;padding:10px 9px;margin:0;border:1px solid transparent;border-radius:8px;font-size:12px;line-height:20px;background:transparent;color:#6b7d70;white-space:nowrap;cursor:pointer}
 .sidebar.desktop-topbar .topbar-logout button:hover{background:#f0f5ef;color:#174c3c}
 .app-shell>.main{margin:0 auto;width:100%;max-width:1512px;padding:30px clamp(24px,3.2vw,48px) 44px}
 .page-header>a.button[href="index.php?page=task"],.page-header>a.button[href="index.php?page=cleaning_entry"],.admin-cleaning-shortcut,.cleaning-tabs{display:none}
}
@media(min-width:761px){.desktop-topbar nav.desktop-topbar-links{overflow:visible}.desktop-topbar .topbar-group{position:relative;flex:0 0 auto;min-width:0}.desktop-topbar .topbar-group>summary{display:flex;gap:8px;align-items:center;min-height:42px;border:1px solid transparent;border-radius:8px;padding:10px 9px;cursor:pointer;list-style:none;font-size:13px;font-weight:600;color:#506759}.desktop-topbar .topbar-group>summary::-webkit-details-marker{display:none}.desktop-topbar .topbar-group.selected>summary,.desktop-topbar .topbar-group[open]>summary{color:#174c3c;background:#eaf2eb;border-color:#d8e5d8}.desktop-topbar .topbar-group-menu{position:absolute;z-index:50;top:calc(100% + 6px);left:0;background:#fff;border:1px solid #d3e0d8;border-radius:12px;box-shadow:0 12px 32px #173b2920;padding:7px;min-width:230px;max-width:min(310px,85vw)}.desktop-topbar .topbar-group-menu a{display:block!important;color:#174c3c!important;padding:12px!important;border-radius:8px;text-decoration:none;font-size:14px;white-space:normal}.desktop-topbar .topbar-group-menu a:hover,.desktop-topbar .topbar-group-menu a.selected{background:#eaf2eb}.desktop-topbar .topbar-group:last-of-type .topbar-group-menu{left:auto;right:0}}

/* Work06: account actions stay together, with one visible navigation control. */
@media(min-width:761px){
 .desktop-topbar .topbar-user>summary{border-color:#dce5db;background:#fafcf9}
 .desktop-topbar .topbar-user .topbar-group-menu{left:auto;right:0}
 .desktop-topbar .topbar-user-name{font-size:13px;color:#62756b;margin:6px 12px 10px;overflow-wrap:anywhere}
 .desktop-topbar .topbar-user .topbar-logout{display:block;border-top:1px solid #e4eae6;margin-top:6px;padding-top:6px}
 .desktop-topbar .topbar-user .topbar-logout button{display:block;width:100%;text-align:left;font-size:14px;padding:12px;min-height:44px}
}
