/* Office shared home surfaces — canonical Horizon public/office/design-system.css. */
.office-home-surface{box-sizing:border-box;max-width:1160px;width:100%;margin:0 auto;padding:40px 24px 64px;color:#172432;font-family:'Onest Variable',Onest,sans-serif}
.office-page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 24px;padding:0}
.office-page-heading h1{margin:0;font-size:28px;line-height:1.2;font-weight:650;letter-spacing:-.04em;color:#172432}
.office-page-heading>div{min-width:0}.office-page-heading button,.office-page-heading .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 14px;border:1px solid #5667a8;border-radius:8px;background:#5667a8;color:#fff;font-size:14px;font-weight:550;text-decoration:none;line-height:1.3;cursor:pointer;flex:none;box-shadow:none}
.office-page-heading .secondary-button,.office-page-heading button.secondary{background:#fff;border-color:#dde5ec;color:#172432}
.office-page-heading .actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;row-gap:8px}
.office-home-filters{display:flex;align-items:center;justify-content:space-between;gap:16px;row-gap:12px;flex-wrap:wrap;margin:0 0 24px}
.office-scope-tabs{display:inline-flex;align-items:center;gap:4px;row-gap:4px;max-width:100%;padding:3px;border:1px solid #dde5ec;border-radius:9px;background:#e8edf2;margin:0}
.office-scope-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;min-width:0;margin:0;padding:9px 18px;border:1px solid transparent;border-radius:7px;background:transparent;color:#617080;font:inherit;font-size:14px;font-weight:550;line-height:1.3;cursor:pointer}
.office-scope-tabs button[aria-selected=true],.office-scope-tabs button[aria-pressed=true],.office-scope-tabs button.active{border-color:#dde5ec;background:#fff;color:#172432;box-shadow:0 1px 3px #1724320c}
.office-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;list-style:none;margin:0;padding:0}
.office-card-grid>li{min-width:0;margin:0;padding:0;border:0;display:block}
.office-card{box-sizing:border-box;display:flex;flex-direction:column;gap:16px;height:100%;padding:22px;background:#fff;border:1px solid #dde5ec;border-radius:12px;color:#172432;text-decoration:none;min-width:0;transition:box-shadow .15s,border-color .15s}
.office-card:hover{border-color:#aab8d1;box-shadow:0 6px 20px #1724320b}
.office-card-title{display:flex;align-items:center;gap:12px;min-width:0;margin:0}
.office-card-title h2,.office-card-title strong{margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:17px;line-height:1.35;font-weight:620;letter-spacing:-.02em}
.office-card-title .office-card-icon{flex:none;width:18px;height:18px;color:#5667a8}.office-card-title .office-card-arrow{margin-left:auto;flex:none;width:16px;height:16px;color:#617080}
.office-card-description{margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;color:#617080;font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.office-card-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px;row-gap:6px;color:#617080;font-size:12px;line-height:1.5;margin-top:auto}
.office-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px;padding:72px 16px;border:1px dashed #cbd6df;border-radius:12px;background:#f7f9fa;margin:0}
.office-empty h2{margin:0;font-size:18px;font-weight:620}.office-empty p{margin:0;max-width:380px;color:#617080;font-size:14px;line-height:1.6}
.office-surface{min-width:0;background:#fff;border:1px solid #dde5ec;border-radius:12px;padding:22px}
.office-archive-switch{position:relative;display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 2px;color:#617080;font-size:14px;font-weight:550;line-height:1.3;cursor:pointer;flex:none;user-select:none}
.office-archive-switch input[type=checkbox]{position:absolute;opacity:0;width:1px;height:1px;overflow:hidden;margin:0;padding:0;border:0}
.office-switch-track{display:inline-flex;align-items:center;width:38px;height:22px;border:1px solid #bac7d8;border-radius:999px;background:#dde5ec;padding:2px;flex:none;transition:background .15s,border-color .15s}
.office-switch-thumb{display:block;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #17243226;transition:transform .15s}
.office-archive-switch input:checked~.office-switch-track{background:#5667a8;border-color:#5667a8}.office-archive-switch input:checked~.office-switch-track .office-switch-thumb{transform:translateX(16px)}
.office-archive-switch input:focus-visible~.office-switch-track,.office-home-surface button:focus-visible,.office-home-surface a:focus-visible{outline:2px solid #5667a8;outline-offset:3px}.office-archive-switch input:disabled~*{opacity:.5;cursor:not-allowed}
@media(max-width:1200px){.office-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.office-home-surface{padding:26px 16px 48px}.office-page-heading{gap:12px;margin-bottom:20px}.office-page-heading h1{font-size:25px}.office-page-heading button,.office-page-heading .button{font-size:13px;padding:10px 12px}.office-home-filters{gap:8px;row-gap:12px;margin-bottom:20px}.office-scope-tabs button{padding-inline:12px;font-size:13px}.office-archive-switch{font-size:12px;gap:8px}.office-card-grid{grid-template-columns:1fr;gap:14px}.office-card{padding:20px}.office-page-heading .actions{justify-content:flex-end}.office-surface{padding:20px}}
@media(prefers-reduced-motion:reduce){.office-card,.office-switch-track,.office-switch-thumb{transition:none}}
/* Project/folder catalogs share compact, semantic table rows across Office. */
.office-table-surface{max-width:100%;border:1px solid #dde5ec;border-radius:12px;background:#fff;overflow:clip}
.office-project-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px;line-height:1.5;text-align:left;color:#172432}
.office-project-table th{padding:12px 16px;background:#f7f9fa;border-bottom:1px solid #dde5ec;color:#617080;font-size:12px;font-weight:550;text-align:left}
.office-project-table th:first-child{width:46%}.office-project-table th.office-table-updated{width:132px}.office-project-table th.office-table-actions-heading{width:160px}
.office-project-table td{padding:12px 16px;vertical-align:middle;border:0;border-bottom:1px solid #e8edf2;overflow-wrap:anywhere;color:#617080}
.office-project-table tbody tr:last-child td{border-bottom:0}.office-project-table td.office-table-name{padding:0;color:#172432}
.office-project-table .office-row-open{display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:5px;row-gap:5px;min-width:0;width:100%;min-height:64px;padding:12px 16px;margin:0;border:0;border-radius:0;background:transparent;text-decoration:none;text-align:left;color:#172432;font:inherit;cursor:pointer;box-shadow:none}
.office-row-title{display:flex;align-items:center;gap:10px;min-width:0;font-size:14px;font-weight:600;line-height:1.5}.office-row-title>span{min-width:0;overflow-wrap:anywhere}
.office-project-table .office-row-icon{display:inline-flex;flex:none;width:18px;height:18px;margin:0;color:#5667a8}
.office-row-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.5;color:#617080;padding-inline-start:28px}
.office-row-detail{display:block}.office-row-subdetail{display:block;font-size:12px;margin-top:3px}.office-row-mobile-meta{display:none}
.office-row-actions{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:8px;row-gap:8px}.office-row-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:44px;min-height:44px;padding:9px 12px;border:1px solid #dde5ec;border-radius:8px;font-size:13px;background:#fff;color:#172432}
.office-project-table .office-row-open:focus-visible{outline:2px solid #5667a8;outline-offset:-3px}
.office-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(hover:hover){.office-project-table tbody tr:hover{background:#f7f9fa}}
@media(max-width:800px){.office-project-table .office-table-secondary{display:none}.office-project-table th:first-child{width:auto}.office-row-mobile-meta{display:block;padding-inline-start:28px;color:#617080;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.office-project-table th.office-table-actions-heading{width:64px}.office-project-table .office-restore-label{display:none}.office-project-table td.office-table-actions{padding:8px}.office-project-table .office-row-actions button{padding:9px}.office-project-table .office-table-updated{display:none}}
@media(max-width:540px){.office-project-table th{padding:10px 12px}.office-project-table .office-row-open{padding:12px}.office-row-title{gap:8px}.office-row-description,.office-row-mobile-meta{padding-inline-start:26px}}
/* One authority-backed participant picker and access window, shared by Office apps. */
.office-sharing-dialog{width:min(560px,calc(100% - 32px));max-height:calc(100dvh - 48px);padding:0;border:1px solid #dde5ec;border-radius:12px;background:#fff;color:#172432;overflow:auto}
.office-sharing-dialog .modal-header,.office-sharing-dialog .dialog-heading{display:flex;align-items:center;gap:12px;margin:0;padding:20px;border-bottom:1px solid #dde5ec}
.office-sharing-dialog .modal-header h2,.office-sharing-dialog .dialog-heading h2{margin:0;font-size:20px;line-height:1.35;font-weight:620}
.office-sharing-dialog .modal-header .icon-button,.office-sharing-dialog .dialog-header-actions{margin-left:auto}
.office-sharing-dialog .office-sharing-form{display:flex;flex-direction:column;gap:0;margin:0}.office-sharing-body{padding:20px;display:flex;flex-direction:column;gap:12px;min-width:0}
.office-participant-list{display:flex;flex-direction:column;gap:0;list-style:none;margin:0;padding:0;width:100%}
.office-participant-owner,.office-participant-choice{display:flex;align-items:center;gap:12px;row-gap:8px;min-height:56px;width:100%;padding:8px 0}
.office-participant-owner,.office-participant-row{border-bottom:1px solid #e8edf2}.office-participant-row:last-child{border-bottom:0}.office-participant-choice{cursor:pointer}.office-participant-choice input[type=checkbox]{flex:none;width:20px;height:20px;margin:0;font-size:16px;accent-color:#5667a8}
.office-participant-name{font-size:14px;line-height:1.5;overflow-wrap:anywhere}.office-participant-identity{display:flex;flex-direction:column;gap:2px;min-width:0}.office-participant-identity small{font-size:12px;color:#617080;overflow-wrap:anywhere}.office-participant-role{font-size:12px;line-height:1.5;color:#617080;margin-left:auto;flex:none}.office-participant-empty{margin:0;color:#617080;font-size:13px}
.office-sharing-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;row-gap:12px;margin:0;padding:16px 20px;border-top:1px solid #dde5ec}.office-sharing-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 14px;font-size:14px;border-radius:8px}.office-sharing-actions button.primary,.office-sharing-actions button.primary-button{background:#5667a8;border:1px solid #5667a8;color:#fff}
.office-participant-choice:focus-within{outline:2px solid #5667a8;outline-offset:2px;border-radius:6px}
@media(max-width:540px){.office-sharing-dialog .modal-header,.office-sharing-dialog .dialog-heading,.office-sharing-body{padding:16px}.office-sharing-actions{padding:16px}.office-participant-choice{gap:10px}.office-participant-role{font-size:11px}}

.office-participant-fingerprint{padding:0 0 12px 32px}.office-participant-fingerprint .fingerprint{margin:0 0 6px;font-size:12px;overflow-wrap:anywhere}.office-participant-fingerprint .office-participant-choice{font-size:12px;align-items:flex-start}.office-sharing-dialog .dialog-close{right:16px;top:14px;min-width:44px;min-height:44px}.office-sharing-dialog>h2{margin:0;padding:20px 68px 20px 20px;border-bottom:1px solid #dde5ec;font-size:20px;line-height:1.35;font-weight:620}
