body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; margin: 0; padding: 16px; color: #1f2733; background: #f7f8fa; }

.att-toolbar { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.att-brand { font-weight: 700; font-size: 16px; }
.att-toolbar button { padding: 6px 12px; border: 1px solid #c7ccd1; background: #fff; border-radius: 6px; cursor: pointer; }
.att-toolbar button:hover { background: #f2f4f6; }
.att-updated { color: #8a94a3; font-size: 12px; }
.att-settings-link, .att-logout-link { color: #2066b0; text-decoration: none; }
.att-settings-link:hover, .att-logout-link:hover { text-decoration: underline; }
.att-user { margin-left: auto; color: #6b7481; font-size: 13px; }

.att-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; }
.att-table th, .att-table td { padding: 8px 10px; border-bottom: 1px solid #e7eaee; text-align: left; font-size: 14px; }
.att-table th { color: #6b7481; font-weight: 600; font-size: 12px; text-transform: uppercase; }

.att-toggle { border: none; background: none; cursor: pointer; font-size: 14px; color: #6b7481; width: 20px; }

.att-badge { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.att-badge--online  { background: #e4f7e9; color: #1a8a3e; }
.att-badge--pause   { background: #fff4dd; color: #a86a00; }
.att-badge--closed  { background: #eceef1; color: #5a6472; }
.att-badge--expired { background: #fde8e8; color: #b3261e; }

.att-details-row td { background: #fafbfc; padding: 12px 10px 16px 40px; }
.att-pauses-table { border-collapse: collapse; width: auto; min-width: 460px; }
.att-pauses-table th, .att-pauses-table td { padding: 4px 12px; font-size: 13px; border-bottom: 1px solid #edf0f3; }
.att-pauses-table th { color: #8a94a3; font-weight: 600; text-align: left; }
.att-estimate-hint { color: #b08900; font-size: 11px; margin-top: 4px; }

.att-empty { padding: 24px; text-align: center; color: #8a94a3; }

/* settings page */
.att-hint { color: #6b7481; font-size: 13px; max-width: 640px; }
.att-picker { display: flex; gap: 24px; margin-top: 16px; }
.att-picker-col { flex: 1; min-width: 280px; }
#att-search { width: 100%; box-sizing: border-box; padding: 8px 10px; margin-bottom: 10px; border: 1px solid #c7ccd1; border-radius: 6px; }
.att-tree { max-height: 480px; overflow-y: auto; border: 1px solid #e7eaee; border-radius: 6px; padding: 8px; background: #fff; }
.att-tree-dept { font-weight: 600; margin-top: 8px; }
.att-tree-employee { padding-left: 20px; font-size: 13px; }
.att-selected-list { list-style: none; padding: 0; margin: 0 0 12px; max-height: 400px; overflow-y: auto; }
.att-selected-list li { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px; border: 1px solid #e7eaee; background: #fff; border-radius: 6px; margin-bottom: 6px; font-size: 13px; }
.att-remove-btn { border: none; background: none; color: #b3261e; font-size: 16px; cursor: pointer; line-height: 1; }
.att-save-btn { padding: 8px 16px; background: #2066b0; color: #fff; border: none; border-radius: 6px; cursor: pointer; }
.att-save-btn:hover { background: #184d85; }

/* login page */
.att-login-body { display: flex; align-items: center; justify-content: center; height: 100vh; background: #f0f2f5; }
.att-login-form { background: #fff; padding: 32px; border-radius: 10px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); width: 280px; display: flex; flex-direction: column; gap: 14px; }
.att-login-form h1 { margin: 0 0 8px; font-size: 20px; text-align: center; }
.att-login-form label { display: flex; flex-direction: column; font-size: 13px; gap: 6px; color: #5a6472; }
.att-login-form input { padding: 8px 10px; border: 1px solid #c7ccd1; border-radius: 6px; font-size: 14px; }
.att-login-form button { padding: 10px; background: #2066b0; color: #fff; border: none; border-radius: 6px; cursor: pointer; font-size: 14px; }
.att-login-form button:hover { background: #184d85; }
.att-login-error { background: #fde8e8; color: #b3261e; padding: 8px 10px; border-radius: 6px; font-size: 13px; }
